proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
TraceEventContext.cpp
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
11
#include <
proxygen/lib/utils/TraceEventContext.h
>
12
#include <
proxygen/lib/utils/TraceEventObserver.h
>
13
14
namespace
proxygen
{
15
16
void
TraceEventContext::traceEventAvailable
(
TraceEvent
event) {
17
for
(
const
auto
observer :
observers_
) {
18
observer->traceEventAvailable(event);
19
}
20
}
21
22
bool
TraceEventContext::isAllTraceEventNeeded
()
const
{
23
return
allTraceEventNeeded_
;
24
}
25
26
}
TraceEventObserver.h
proxygen::TraceEventContext::isAllTraceEventNeeded
bool isAllTraceEventNeeded() const
Definition:
TraceEventContext.cpp:22
proxygen::TraceEventContext::traceEventAvailable
void traceEventAvailable(TraceEvent event)
Definition:
TraceEventContext.cpp:16
TraceEventContext.h
proxygen::TraceEventContext::observers_
std::vector< TraceEventObserver * > observers_
Definition:
TraceEventContext.h:48
proxygen::TraceEvent
Definition:
TraceEvent.h:37
proxygen::TraceEventContext::allTraceEventNeeded_
bool allTraceEventNeeded_
Definition:
TraceEventContext.h:52
proxygen
Definition:
ExMessageHandler.h:14
proxygen
lib
utils
TraceEventContext.cpp
Generated by
1.8.11