15 #ifndef DETECTORGRAPH_INCLUDE_GRAPHSTATESTORE_HPP_ 16 #define DETECTORGRAPH_INCLUDE_GRAPHSTATESTORE_HPP_ 59 void TakeNewSnapshot(
const std::list< ptr::shared_ptr<const TopicState> >& arTopicStates);
67 ptr::shared_ptr<const StateSnapshot>
GetLastState()
const;
72 std::queue< ptr::shared_ptr<const StateSnapshot> > mStatesLookbackQueue;
77 #endif // DETECTORGRAPH_INCLUDE_GRAPHSTATESTORE_HPP_
ptr::shared_ptr< const StateSnapshot > GetLastState() const
Returns a safe shared pointer to the latest complete StateSnapshot.
A StateSnapshot keeper for DetectorGraph TopicStates.
~GraphStateStore()
Default Destructor.
GraphStateStore()
Constructs an empty graph store.
void TakeNewSnapshot(const std::list< ptr::shared_ptr< const TopicState > > &arTopicStates)
Takes a new state snapshot and appends it to the look back queue.