proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
TraceEventObserver.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015-present, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree. An additional grant
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
*/
10
#pragma once
11
12
#include <
proxygen/lib/utils/TraceEvent.h
>
13
14
namespace
proxygen
{
15
16
/*
17
* Obersver interface to record trace events.
18
*/
19
struct
TraceEventObserver
{
20
virtual
~TraceEventObserver
() {}
21
virtual
void
traceEventAvailable
(
TraceEvent
)
noexcept
{}
22
virtual
void
emitTraceEvents
(std::vector<TraceEvent>)
noexcept
{}
23
};
24
25
}
proxygen::TraceEventObserver::emitTraceEvents
virtual void emitTraceEvents(std::vector< TraceEvent >) noexcept
Definition:
TraceEventObserver.h:22
folly::pushmi::__adl::noexcept
requires E e noexcept(noexcept(s.error(std::move(e))))
Definition:
extension_points.h:40
proxygen::TraceEventObserver::traceEventAvailable
virtual void traceEventAvailable(TraceEvent) noexcept
Definition:
TraceEventObserver.h:21
proxygen::TraceEvent
Definition:
TraceEvent.h:37
proxygen::TraceEventObserver
Definition:
TraceEventObserver.h:19
TraceEvent.h
proxygen::TraceEventObserver::~TraceEventObserver
virtual ~TraceEventObserver()
Definition:
TraceEventObserver.h:20
proxygen
Definition:
ExMessageHandler.h:14
proxygen
lib
utils
TraceEventObserver.h
Generated by
1.8.11