Emergency 20 Dokumentation  4.2.0
em5::DefaultObjectiveWindowDataSource Class Reference

EMERGENCY 5 objective window data source default implementation which holds and manages the live states. More...

#include <DefaultObjectiveWindowDataSource.h>

Inheritance diagram for em5::DefaultObjectiveWindowDataSource:
em5::ObjectiveWindowDataSource

Classes

struct  LiveEventState
 
struct  LiveObjectiveState
 

Public Types

typedef std::vector< LiveObjectiveStateLiveObjectiveStates
 
typedef std::vector< LiveEventStateLiveEventStates
 

Public Member Functions

 DefaultObjectiveWindowDataSource ()
 
virtual ~DefaultObjectiveWindowDataSource ()
 
void captureCurrentState ()
 
virtual uint32 getNumberOfEvents () const override
 
virtual const EventStategetEventState (uint32 index) const override
 
virtual const std::string & getEventName (uint32 index) const override
 
virtual uint32 getNumberOfObjectives (const EventState &eventState) const override
 
virtual const ObjectiveStategetObjectiveState (const EventState &eventState, uint32 index) const override
 
virtual const std::string & getObjectiveText (const EventState &eventState, uint32 index) const override
 

Additional Inherited Members

- Protected Member Functions inherited from em5::ObjectiveWindowDataSource
 ObjectiveWindowDataSource ()
 
virtual ~ObjectiveWindowDataSource ()
 

Detailed Description

EMERGENCY 5 objective window data source default implementation which holds and manages the live states.

Member Typedef Documentation

Constructor & Destructor Documentation

em5::DefaultObjectiveWindowDataSource::DefaultObjectiveWindowDataSource ( )
inline
em5::DefaultObjectiveWindowDataSource::~DefaultObjectiveWindowDataSource ( )
inlinevirtual

Member Function Documentation

void em5::DefaultObjectiveWindowDataSource::captureCurrentState ( )
virtual const std::string& em5::DefaultObjectiveWindowDataSource::getEventName ( uint32  index) const
overridevirtual
virtual const EventState& em5::DefaultObjectiveWindowDataSource::getEventState ( uint32  index) const
overridevirtual
virtual uint32 em5::DefaultObjectiveWindowDataSource::getNumberOfEvents ( ) const
overridevirtual
virtual uint32 em5::DefaultObjectiveWindowDataSource::getNumberOfObjectives ( const EventState eventState) const
overridevirtual
virtual const ObjectiveState& em5::DefaultObjectiveWindowDataSource::getObjectiveState ( const EventState eventState,
uint32  index 
) const
overridevirtual
virtual const std::string& em5::DefaultObjectiveWindowDataSource::getObjectiveText ( const EventState eventState,
uint32  index 
) const
overridevirtual

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