rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
scxml4cpp::StateHistory Class Reference

#include <StateHistory.h>

Inheritance diagram for scxml4cpp::StateHistory:
scxml4cpp::State scxml4cpp::State scxml4cpp::State

Public Types

enum  HistoryType {
  Shallow = 0, Deep, Shallow = 0, Deep,
  Shallow = 0, Deep
}
 
enum  HistoryType {
  Shallow = 0, Deep, Shallow = 0, Deep,
  Shallow = 0, Deep
}
 
enum  HistoryType {
  Shallow = 0, Deep, Shallow = 0, Deep,
  Shallow = 0, Deep
}
 
- Public Types inherited from scxml4cpp::State
enum  StateType {
  Atomic = 0, Compound, Parallel, History,
  Atomic = 0, Compound, Parallel, History,
  Atomic = 0, Compound, Parallel, History
}
 
enum  StateType {
  Atomic = 0, Compound, Parallel, History,
  Atomic = 0, Compound, Parallel, History,
  Atomic = 0, Compound, Parallel, History
}
 
enum  StateType {
  Atomic = 0, Compound, Parallel, History,
  Atomic = 0, Compound, Parallel, History,
  Atomic = 0, Compound, Parallel, History
}
 

Public Member Functions

 StateHistory (const std::string &id, const HistoryType type)
 
virtual ~StateHistory ()
 
HistoryType getHistoryType ()
 
std::list< State * > & getHistoryValues ()
 
void clearHistoryValues ()
 
StatepopHistoryValue ()
 
void pushHistoryValue (State *s)
 
void setHistoryType (HistoryType type)
 
void setHistoryValues (std::list< State * > &historyValues)
 
 StateHistory (const std::string &id, const HistoryType type)
 
virtual ~StateHistory ()
 
HistoryType getHistoryType ()
 
std::list< State * > & getHistoryValues ()
 
void clearHistoryValues ()
 
StatepopHistoryValue ()
 
void pushHistoryValue (State *s)
 
void setHistoryType (HistoryType type)
 
void setHistoryValues (std::list< State * > &historyValues)
 
 StateHistory (const std::string &id, const HistoryType type)
 
virtual ~StateHistory ()
 
HistoryType getHistoryType ()
 
std::list< State * > & getHistoryValues ()
 
void clearHistoryValues ()
 
StatepopHistoryValue ()
 
void pushHistoryValue (State *s)
 
void setHistoryType (HistoryType type)
 
void setHistoryValues (std::list< State * > &historyValues)
 
- Public Member Functions inherited from scxml4cpp::State
 State (const std::string &id, const StateType type)
 
virtual ~State ()
 
std::string getId () const
 
StateType getType () const
 
StategetParent ()
 
StateHistorygetHistory ()
 
ExecutableContentgetEntryActions ()
 
ExecutableContentgetExitActions ()
 
std::list< Transition * > & getInitialTrans ()
 
StategetInitialState ()
 
std::list< State * > & getSubstates ()
 
std::list< Transition * > & getTransitions ()
 
std::list< Activity * > & getActivities ()
 
void setId (const std::string &id)
 
void setParent (State *parent)
 
void setIsInitial (const bool isInitial)
 
void setIsFinal (const bool isFinal)
 
void setHistory (StateHistory *h)
 
void setInitialState (State *initialState, Action *a)
 
void setFinalState (State *finalState)
 
void setSubstates (std::list< State * > &substates)
 
void setTransitions (std::list< Transition * > &transitions)
 
void setActivities (std::list< Activity * > &activities)
 
bool isInitial ()
 
bool isFinal ()
 
bool isCompound ()
 
bool isParallel ()
 
bool isAtomic ()
 
bool isHistory ()
 
void startActivities ()
 
void cancelActivities ()
 
void addEntryAction (Action *)
 
void addExitAction (Action *)
 
void addSubstate (State *)
 
void addTransition (std::list< State * > &targets, const Event &event, Action *condition, Action *action)
 
void addTransition (State *target, const Event &event, Action *condition, Action *action)
 
void addActivity (Activity *activity)
 
void delTransitions ()
 
void delInitialTrans ()
 
void delSubstates ()
 
 State (const std::string &id, const StateType type)
 
virtual ~State ()
 
std::string getId () const
 
StateType getType () const
 
StategetParent ()
 
StateHistorygetHistory ()
 
ExecutableContentgetEntryActions ()
 
ExecutableContentgetExitActions ()
 
std::list< Transition * > & getInitialTrans ()
 
StategetInitialState ()
 
std::list< State * > & getSubstates ()
 
std::list< Transition * > & getTransitions ()
 
std::list< Activity * > & getActivities ()
 
void setId (const std::string &id)
 
void setParent (State *parent)
 
void setIsInitial (const bool isInitial)
 
void setIsFinal (const bool isFinal)
 
void setHistory (StateHistory *h)
 
void setInitialState (State *initialState, Action *a)
 
void setFinalState (State *finalState)
 
void setSubstates (std::list< State * > &substates)
 
void setTransitions (std::list< Transition * > &transitions)
 
void setActivities (std::list< Activity * > &activities)
 
bool isInitial ()
 
bool isFinal ()
 
bool isCompound ()
 
bool isParallel ()
 
bool isAtomic ()
 
bool isHistory ()
 
void startActivities ()
 
void cancelActivities ()
 
void addEntryAction (Action *)
 
void addExitAction (Action *)
 
void addSubstate (State *)
 
void addTransition (std::list< State * > &targets, const Event &event, Action *condition, Action *action)
 
void addTransition (State *target, const Event &event, Action *condition, Action *action)
 
void addActivity (Activity *activity)
 
void delTransitions ()
 
void delInitialTrans ()
 
void delSubstates ()
 
 State (const std::string &id, const StateType type)
 
virtual ~State ()
 
std::string getId () const
 
StateType getType () const
 
StategetParent ()
 
StateHistorygetHistory ()
 
ExecutableContentgetEntryActions ()
 
ExecutableContentgetExitActions ()
 
std::list< Transition * > & getInitialTrans ()
 
StategetInitialState ()
 
std::list< State * > & getSubstates ()
 
std::list< Transition * > & getTransitions ()
 
std::list< Activity * > & getActivities ()
 
void setId (const std::string &id)
 
void setParent (State *parent)
 
void setIsInitial (const bool isInitial)
 
void setIsFinal (const bool isFinal)
 
void setHistory (StateHistory *h)
 
void setInitialState (State *initialState, Action *a)
 
void setFinalState (State *finalState)
 
void setSubstates (std::list< State * > &substates)
 
void setTransitions (std::list< Transition * > &transitions)
 
void setActivities (std::list< Activity * > &activities)
 
bool isInitial ()
 
bool isFinal ()
 
bool isCompound ()
 
bool isParallel ()
 
bool isAtomic ()
 
bool isHistory ()
 
void startActivities ()
 
void cancelActivities ()
 
void addEntryAction (Action *)
 
void addExitAction (Action *)
 
void addSubstate (State *)
 
void addTransition (std::list< State * > &targets, const Event &event, Action *condition, Action *action)
 
void addTransition (State *target, const Event &event, Action *condition, Action *action)
 
void addActivity (Activity *activity)
 
void delTransitions ()
 
void delInitialTrans ()
 
void delSubstates ()
 

Member Enumeration Documentation

Enumerator
Shallow 
Deep 
Shallow 
Deep 
Shallow 
Deep 
Enumerator
Shallow 
Deep 
Shallow 
Deep 
Shallow 
Deep 
Enumerator
Shallow 
Deep 
Shallow 
Deep 
Shallow 
Deep 

Constructor & Destructor Documentation

StateHistory::StateHistory ( const std::string &  id,
const HistoryType  type 
)
StateHistory::~StateHistory ( )
virtual
scxml4cpp::StateHistory::StateHistory ( const std::string &  id,
const HistoryType  type 
)
virtual scxml4cpp::StateHistory::~StateHistory ( )
virtual
scxml4cpp::StateHistory::StateHistory ( const std::string &  id,
const HistoryType  type 
)
virtual scxml4cpp::StateHistory::~StateHistory ( )
virtual

Member Function Documentation

void StateHistory::clearHistoryValues ( )
void scxml4cpp::StateHistory::clearHistoryValues ( )
void scxml4cpp::StateHistory::clearHistoryValues ( )
HistoryType scxml4cpp::StateHistory::getHistoryType ( )
StateHistory::HistoryType StateHistory::getHistoryType ( )
HistoryType scxml4cpp::StateHistory::getHistoryType ( )
std::list< State * > & StateHistory::getHistoryValues ( )
std::list<State*>& scxml4cpp::StateHistory::getHistoryValues ( )
std::list<State*>& scxml4cpp::StateHistory::getHistoryValues ( )
State * StateHistory::popHistoryValue ( )
State* scxml4cpp::StateHistory::popHistoryValue ( )
State* scxml4cpp::StateHistory::popHistoryValue ( )
void scxml4cpp::StateHistory::pushHistoryValue ( State s)
void StateHistory::pushHistoryValue ( State s)
void scxml4cpp::StateHistory::pushHistoryValue ( State s)
void StateHistory::setHistoryType ( HistoryType  type)
void scxml4cpp::StateHistory::setHistoryType ( HistoryType  type)
void scxml4cpp::StateHistory::setHistoryType ( HistoryType  type)
void scxml4cpp::StateHistory::setHistoryValues ( std::list< State * > &  historyValues)
void scxml4cpp::StateHistory::setHistoryValues ( std::list< State * > &  historyValues)
void StateHistory::setHistoryValues ( std::list< State * > &  historyValues)

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