rtspserver
Class State
- Direct Known Subclasses:
- StateInit, StatePausePlay, StatePauseRecord, StatePlaying, StateReadyPlay, StateReadyRecord, StateRecording
- class State
Base class for states. States are container of Operators.
The real work is done on the Operator::process() function.
Constructor Summary |
State() constructor |
Destructor Summary |
virtual | ~State() destructor |
Method Summary |
virtual const const char * const | name() returns name of this state |
virtual const Sptr | process(const Sptr event) Interface to process of Operator. |
State
public State()
- constructor
~State
public virtual ~State()
- destructor
name
public virtual const const char * const name()
- returns name of this state
process
public virtual const Sptr process(const Sptr event)
- Interface to process of Operator. Iterates through process() of
all the operators it contains.
- Parameters:
- event - event to process on
- Returns: next state