DetectorGraph
2.0
|
Public Member Functions | |
TestSplitterDetector (Graph *graph) | |
virtual void | Evaluate (const TestSplitterTrigger< OutA, OutB > &pair) |
Pure-virtual method that should Evaluate a piece of input data. More... | |
![]() | |
Detector (Graph *graph) | |
Constructor. More... | |
virtual | ~Detector () |
Destructor. More... | |
virtual VertexType | GetVertexType () const |
Returns kDetectorVertex to identify this subclass of Vertex. More... | |
void | ProcessVertex () |
Consume data in the topics. More... | |
![]() | |
Vertex () | |
virtual | ~Vertex () |
VertexSearchState | GetState () const |
void | SetState (VertexSearchState aNewState) |
void | InsertEdge (Vertex *aVertex) |
void | RemoveEdge (Vertex *aVertex) |
VertexPtrContainer & | GetOutEdges () |
void | MarkFutureEdge (Vertex *aVertex) |
VertexPtrContainer & | GetInEdges () |
VertexPtrContainer & | GetFutureOutEdges () |
VertexPtrContainer & | GetFutureInEdges () |
const char * | GetName () const |
![]() | |
Publisher () | |
void | SetGraph (Graph *aGraph) |
void | Publish (const OutA &data) |
Publish a new version of T to a Topic. More... | |
![]() | |
Publisher () | |
void | SetGraph (Graph *aGraph) |
void | Publish (const OutB &data) |
Publish a new version of T to a Topic. More... | |
Additional Inherited Members | |
![]() | |
enum | VertexSearchState { kVertexClear, kVertexProcessing, kVertexDone } |
Enum used for topological sort & traverse context keeping. More... | |
enum | VertexType { kTopicVertex, kDetectorVertex, kTestVertex } |
typedef std::list< Vertex * > | VertexPtrContainer |
![]() | |
template<class TTopicState > | |
void | Subscribe (SubscriberInterface< TTopicState > *aSubscriber) |
Setup an subscription on a specific topic. More... | |
template<class TTopic > | |
void | SetupPublishing (Publisher< TTopic > *aPublisher) |
Setup an advertisement on a specific topic. More... | |
template<class TTopic > | |
void | SetupFuturePublishing (FuturePublisher< TTopic > *aFuturePublisher) |
Setup an future advertisement on a specific topic. More... | |
template<class TTopic > | |
void | SetupTimeoutPublishing (TimeoutPublisher< TTopic > *aTimeoutPublisher, TimeoutPublisherService *aTimeoutPublisherService) |
Setup an timeout advertisement on a specific topic. More... | |
template<class TTopic > | |
void | SetupPeriodicPublishing (const uint64_t aPeriodInMilliseconds, TimeoutPublisherService *aTimeoutPublisherService) |
Setup an periodic advertisement on a specific topic. More... | |
virtual void | BeginEvaluation () |
Called before any calls to SubscriberInterface::Evaluate. More... | |
virtual void | CompleteEvaluation () |
Called after all calls to SubscriberInterface::Evaluate. More... | |
![]() | |
VertexSearchState | mState |
VertexPtrContainer | mOutEdges |
VertexPtrContainer | mInEdges |
VertexPtrContainer | mFutureOutEdges |
VertexPtrContainer | mFutureInEdges |
![]() | |
Topic< OutA > * | mTopic |
![]() | |
Topic< OutB > * | mTopic |
Definition at line 58 of file testsplitterdetector.hpp.
|
inline |
Definition at line 64 of file testsplitterdetector.hpp.
|
inlinevirtual |
Pure-virtual method that should Evaluate a piece of input data.
Implements DetectorGraph::SubscriberInterface< TestSplitterTrigger< OutA, OutB > >.
Definition at line 71 of file testsplitterdetector.hpp.