DetectorGraph  2.0
Public Member Functions | List of all members
DetectorGraph::TestSplitterDetector< OutA, OutB > Class Template Reference
Collaboration diagram for DetectorGraph::TestSplitterDetector< OutA, OutB >:

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...
 
- Public Member Functions inherited from DetectorGraph::Detector
 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...
 
- Public Member Functions inherited from DetectorGraph::Vertex
 Vertex ()
 
virtual ~Vertex ()
 
VertexSearchState GetState () const
 
void SetState (VertexSearchState aNewState)
 
void InsertEdge (Vertex *aVertex)
 
void RemoveEdge (Vertex *aVertex)
 
VertexPtrContainerGetOutEdges ()
 
void MarkFutureEdge (Vertex *aVertex)
 
VertexPtrContainerGetInEdges ()
 
VertexPtrContainerGetFutureOutEdges ()
 
VertexPtrContainerGetFutureInEdges ()
 
const char * GetName () const
 
- Public Member Functions inherited from DetectorGraph::Publisher< OutA >
 Publisher ()
 
void SetGraph (Graph *aGraph)
 
void Publish (const OutA &data)
 Publish a new version of T to a Topic. More...
 
- Public Member Functions inherited from DetectorGraph::Publisher< OutB >
 Publisher ()
 
void SetGraph (Graph *aGraph)
 
void Publish (const OutB &data)
 Publish a new version of T to a Topic. More...
 

Additional Inherited Members

- Public Types inherited from DetectorGraph::Vertex
enum  VertexSearchState { kVertexClear, kVertexProcessing, kVertexDone }
 Enum used for topological sort & traverse context keeping. More...
 
enum  VertexType { kTopicVertex, kDetectorVertex, kTestVertex }
 
typedef std::list< Vertex * > VertexPtrContainer
 
- Protected Member Functions inherited from DetectorGraph::Detector
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...
 
- Protected Attributes inherited from DetectorGraph::Vertex
VertexSearchState mState
 
VertexPtrContainer mOutEdges
 
VertexPtrContainer mInEdges
 
VertexPtrContainer mFutureOutEdges
 
VertexPtrContainer mFutureInEdges
 
- Protected Attributes inherited from DetectorGraph::Publisher< OutA >
Topic< OutA > * mTopic
 
- Protected Attributes inherited from DetectorGraph::Publisher< OutB >
Topic< OutB > * mTopic
 

Detailed Description

template<class OutA, class OutB>
class DetectorGraph::TestSplitterDetector< OutA, OutB >

Definition at line 58 of file testsplitterdetector.hpp.

Constructor & Destructor Documentation

◆ TestSplitterDetector()

template<class OutA , class OutB >
DetectorGraph::TestSplitterDetector< OutA, OutB >::TestSplitterDetector ( Graph graph)
inline

Definition at line 64 of file testsplitterdetector.hpp.

Member Function Documentation

◆ Evaluate()

template<class OutA , class OutB >
virtual void DetectorGraph::TestSplitterDetector< OutA, OutB >::Evaluate ( const TestSplitterTrigger< OutA, OutB > &  )
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.


The documentation for this class was generated from the following file: