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 * constname()
          returns name of this state
 virtual const Sptrprocess(const Sptr event)
          Interface to process of Operator.

Constructor Detail

State

public State()
constructor
Method Detail

~State

public virtual ~State()
destructor
Method Detail

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