DetectorGraph  2.0
Public Member Functions | Protected Member Functions | List of all members
DetectorGraph::BaseTopic Class Referenceabstract

Provide interface for a topic. More...

Collaboration diagram for DetectorGraph::BaseTopic:

Public Member Functions

virtual std::list< ptr::shared_ptr< const TopicState > > GetCurrentTopicStates () const =0
 
virtual TopicStateIdType GetId () const =0
 
virtual VertexType GetVertexType () const
 
- Public Member Functions inherited from DetectorGraph::Vertex
 Vertex ()
 
virtual ~Vertex ()
 
virtual void ProcessVertex ()=0
 
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
 

Protected Member Functions

void MarkChildrenState (VertexSearchState aNewState)
 

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 Attributes inherited from DetectorGraph::Vertex
VertexSearchState mState
 
VertexPtrContainer mOutEdges
 
VertexPtrContainer mInEdges
 
VertexPtrContainer mFutureOutEdges
 
VertexPtrContainer mFutureInEdges
 

Detailed Description

Provide interface for a topic.

Definition at line 46 of file topic.hpp.

Member Function Documentation

◆ GetCurrentTopicStates()

virtual std::list< ptr::shared_ptr<const TopicState> > DetectorGraph::BaseTopic::GetCurrentTopicStates ( ) const
pure virtual

◆ GetId()

virtual TopicStateIdType DetectorGraph::BaseTopic::GetId ( ) const
pure virtual

◆ GetVertexType()

virtual VertexType DetectorGraph::BaseTopic::GetVertexType ( ) const
inlinevirtual

Implements DetectorGraph::Vertex.

Definition at line 54 of file topic.hpp.

◆ MarkChildrenState()

void DetectorGraph::BaseTopic::MarkChildrenState ( VertexSearchState  aNewState)
inlineprotected

Definition at line 57 of file topic.hpp.


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