rad  3.0.0
Public Types | Public Member Functions | List of all members
scxml4cpp::State Class Reference

#include <State.h>

Inheritance diagram for scxml4cpp::State:
scxml4cpp::StateAtomic scxml4cpp::StateCompound scxml4cpp::StateHistory scxml4cpp::StateParallel

Public Types

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

 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 (Context *c)
 
void cancelActivities (Context *c)
 
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 (Context *c)
 
void cancelActivities (Context *c)
 
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 (Context *c)
 
void cancelActivities (Context *c)
 
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

◆ StateType [1/3]

Enumerator
Atomic 
Compound 
Parallel 
History 
Atomic 
Compound 
Parallel 
History 
Atomic 
Compound 
Parallel 
History 

◆ StateType [2/3]

Enumerator
Atomic 
Compound 
Parallel 
History 
Atomic 
Compound 
Parallel 
History 
Atomic 
Compound 
Parallel 
History 

◆ StateType [3/3]

Enumerator
Atomic 
Compound 
Parallel 
History 
Atomic 
Compound 
Parallel 
History 
Atomic 
Compound 
Parallel 
History 

Constructor & Destructor Documentation

◆ State() [1/3]

State::State ( const std::string &  id,
const StateType  type 
)

◆ ~State() [1/3]

State::~State ( )
virtual

◆ State() [2/3]

scxml4cpp::State::State ( const std::string &  id,
const StateType  type 
)

◆ ~State() [2/3]

virtual scxml4cpp::State::~State ( )
virtual

◆ State() [3/3]

scxml4cpp::State::State ( const std::string &  id,
const StateType  type 
)

◆ ~State() [3/3]

virtual scxml4cpp::State::~State ( )
virtual

Member Function Documentation

◆ addActivity() [1/3]

void State::addActivity ( Activity activity)

◆ addActivity() [2/3]

void scxml4cpp::State::addActivity ( Activity activity)

◆ addActivity() [3/3]

void scxml4cpp::State::addActivity ( Activity activity)

◆ addEntryAction() [1/3]

void State::addEntryAction ( Action a)

◆ addEntryAction() [2/3]

void scxml4cpp::State::addEntryAction ( Action )

◆ addEntryAction() [3/3]

void scxml4cpp::State::addEntryAction ( Action )

◆ addExitAction() [1/3]

void State::addExitAction ( Action a)

◆ addExitAction() [2/3]

void scxml4cpp::State::addExitAction ( Action )

◆ addExitAction() [3/3]

void scxml4cpp::State::addExitAction ( Action )

◆ addSubstate() [1/3]

void State::addSubstate ( State s)

◆ addSubstate() [2/3]

void scxml4cpp::State::addSubstate ( State )

◆ addSubstate() [3/3]

void scxml4cpp::State::addSubstate ( State )

◆ addTransition() [1/6]

void State::addTransition ( State target,
const Event event,
Action condition,
Action action 
)

◆ addTransition() [2/6]

void scxml4cpp::State::addTransition ( State target,
const Event event,
Action condition,
Action action 
)

◆ addTransition() [3/6]

void scxml4cpp::State::addTransition ( State target,
const Event event,
Action condition,
Action action 
)

◆ addTransition() [4/6]

void State::addTransition ( std::list< State * > &  targets,
const Event event,
Action condition,
Action action 
)

◆ addTransition() [5/6]

void scxml4cpp::State::addTransition ( std::list< State * > &  targets,
const Event event,
Action condition,
Action action 
)

◆ addTransition() [6/6]

void scxml4cpp::State::addTransition ( std::list< State * > &  targets,
const Event event,
Action condition,
Action action 
)

◆ cancelActivities() [1/3]

void State::cancelActivities ( Context c)

◆ cancelActivities() [2/3]

void scxml4cpp::State::cancelActivities ( Context c)

◆ cancelActivities() [3/3]

void scxml4cpp::State::cancelActivities ( Context c)

◆ delInitialTrans() [1/3]

void State::delInitialTrans ( )

◆ delInitialTrans() [2/3]

void scxml4cpp::State::delInitialTrans ( )

◆ delInitialTrans() [3/3]

void scxml4cpp::State::delInitialTrans ( )

◆ delSubstates() [1/3]

void State::delSubstates ( )

◆ delSubstates() [2/3]

void scxml4cpp::State::delSubstates ( )

◆ delSubstates() [3/3]

void scxml4cpp::State::delSubstates ( )

◆ delTransitions() [1/3]

void State::delTransitions ( )

◆ delTransitions() [2/3]

void scxml4cpp::State::delTransitions ( )

◆ delTransitions() [3/3]

void scxml4cpp::State::delTransitions ( )

◆ getActivities() [1/3]

std::list< Activity * > & State::getActivities ( )

◆ getActivities() [2/3]

std::list<Activity*>& scxml4cpp::State::getActivities ( )

◆ getActivities() [3/3]

std::list<Activity*>& scxml4cpp::State::getActivities ( )

◆ getEntryActions() [1/3]

ExecutableContent * State::getEntryActions ( )

◆ getEntryActions() [2/3]

ExecutableContent* scxml4cpp::State::getEntryActions ( )

◆ getEntryActions() [3/3]

ExecutableContent* scxml4cpp::State::getEntryActions ( )

◆ getExitActions() [1/3]

ExecutableContent * State::getExitActions ( )

◆ getExitActions() [2/3]

ExecutableContent* scxml4cpp::State::getExitActions ( )

◆ getExitActions() [3/3]

ExecutableContent* scxml4cpp::State::getExitActions ( )

◆ getHistory() [1/3]

StateHistory * State::getHistory ( )

◆ getHistory() [2/3]

StateHistory* scxml4cpp::State::getHistory ( )

◆ getHistory() [3/3]

StateHistory* scxml4cpp::State::getHistory ( )

◆ getId() [1/3]

std::string State::getId ( ) const

◆ getId() [2/3]

std::string scxml4cpp::State::getId ( ) const

◆ getId() [3/3]

std::string scxml4cpp::State::getId ( ) const

◆ getInitialState() [1/3]

State * State::getInitialState ( )

◆ getInitialState() [2/3]

State* scxml4cpp::State::getInitialState ( )

◆ getInitialState() [3/3]

State* scxml4cpp::State::getInitialState ( )

◆ getInitialTrans() [1/3]

std::list< Transition * > & State::getInitialTrans ( )

◆ getInitialTrans() [2/3]

std::list<Transition*>& scxml4cpp::State::getInitialTrans ( )

◆ getInitialTrans() [3/3]

std::list<Transition*>& scxml4cpp::State::getInitialTrans ( )

◆ getParent() [1/3]

State * State::getParent ( )

◆ getParent() [2/3]

State* scxml4cpp::State::getParent ( )

◆ getParent() [3/3]

State* scxml4cpp::State::getParent ( )

◆ getSubstates() [1/3]

std::list< State * > & State::getSubstates ( )

◆ getSubstates() [2/3]

std::list<State*>& scxml4cpp::State::getSubstates ( )

◆ getSubstates() [3/3]

std::list<State*>& scxml4cpp::State::getSubstates ( )

◆ getTransitions() [1/3]

std::list< Transition * > & State::getTransitions ( )

◆ getTransitions() [2/3]

std::list<Transition*>& scxml4cpp::State::getTransitions ( )

◆ getTransitions() [3/3]

std::list<Transition*>& scxml4cpp::State::getTransitions ( )

◆ getType() [1/3]

State::StateType State::getType ( ) const

◆ getType() [2/3]

StateType scxml4cpp::State::getType ( ) const

◆ getType() [3/3]

StateType scxml4cpp::State::getType ( ) const

◆ isAtomic() [1/3]

bool State::isAtomic ( )

◆ isAtomic() [2/3]

bool scxml4cpp::State::isAtomic ( )

◆ isAtomic() [3/3]

bool scxml4cpp::State::isAtomic ( )

◆ isCompound() [1/3]

bool State::isCompound ( )

◆ isCompound() [2/3]

bool scxml4cpp::State::isCompound ( )

◆ isCompound() [3/3]

bool scxml4cpp::State::isCompound ( )

◆ isFinal() [1/3]

bool State::isFinal ( )

◆ isFinal() [2/3]

bool scxml4cpp::State::isFinal ( )

◆ isFinal() [3/3]

bool scxml4cpp::State::isFinal ( )

◆ isHistory() [1/3]

bool State::isHistory ( )

◆ isHistory() [2/3]

bool scxml4cpp::State::isHistory ( )

◆ isHistory() [3/3]

bool scxml4cpp::State::isHistory ( )

◆ isInitial() [1/3]

bool State::isInitial ( )

◆ isInitial() [2/3]

bool scxml4cpp::State::isInitial ( )

◆ isInitial() [3/3]

bool scxml4cpp::State::isInitial ( )

◆ isParallel() [1/3]

bool State::isParallel ( )

◆ isParallel() [2/3]

bool scxml4cpp::State::isParallel ( )

◆ isParallel() [3/3]

bool scxml4cpp::State::isParallel ( )

◆ setActivities() [1/3]

void State::setActivities ( std::list< Activity * > &  activities)

◆ setActivities() [2/3]

void scxml4cpp::State::setActivities ( std::list< Activity * > &  activities)

◆ setActivities() [3/3]

void scxml4cpp::State::setActivities ( std::list< Activity * > &  activities)

◆ setFinalState() [1/3]

void State::setFinalState ( State finalState)

◆ setFinalState() [2/3]

void scxml4cpp::State::setFinalState ( State finalState)

◆ setFinalState() [3/3]

void scxml4cpp::State::setFinalState ( State finalState)

◆ setHistory() [1/3]

void State::setHistory ( StateHistory h)

◆ setHistory() [2/3]

void scxml4cpp::State::setHistory ( StateHistory h)

◆ setHistory() [3/3]

void scxml4cpp::State::setHistory ( StateHistory h)

◆ setId() [1/3]

void State::setId ( const std::string &  id)

◆ setId() [2/3]

void scxml4cpp::State::setId ( const std::string &  id)

◆ setId() [3/3]

void scxml4cpp::State::setId ( const std::string &  id)

◆ setInitialState() [1/3]

void State::setInitialState ( State initialState,
Action a 
)

◆ setInitialState() [2/3]

void scxml4cpp::State::setInitialState ( State initialState,
Action a 
)

◆ setInitialState() [3/3]

void scxml4cpp::State::setInitialState ( State initialState,
Action a 
)

◆ setIsFinal() [1/3]

void State::setIsFinal ( const bool  isFinal)

◆ setIsFinal() [2/3]

void scxml4cpp::State::setIsFinal ( const bool  isFinal)

◆ setIsFinal() [3/3]

void scxml4cpp::State::setIsFinal ( const bool  isFinal)

◆ setIsInitial() [1/3]

void State::setIsInitial ( const bool  isInitial)

◆ setIsInitial() [2/3]

void scxml4cpp::State::setIsInitial ( const bool  isInitial)

◆ setIsInitial() [3/3]

void scxml4cpp::State::setIsInitial ( const bool  isInitial)

◆ setParent() [1/3]

void State::setParent ( State parent)

◆ setParent() [2/3]

void scxml4cpp::State::setParent ( State parent)

◆ setParent() [3/3]

void scxml4cpp::State::setParent ( State parent)

◆ setSubstates() [1/3]

void State::setSubstates ( std::list< State * > &  substates)

◆ setSubstates() [2/3]

void scxml4cpp::State::setSubstates ( std::list< State * > &  substates)

◆ setSubstates() [3/3]

void scxml4cpp::State::setSubstates ( std::list< State * > &  substates)

◆ setTransitions() [1/3]

void State::setTransitions ( std::list< Transition * > &  transitions)

◆ setTransitions() [2/3]

void scxml4cpp::State::setTransitions ( std::list< Transition * > &  transitions)

◆ setTransitions() [3/3]

void scxml4cpp::State::setTransitions ( std::list< Transition * > &  transitions)

◆ startActivities() [1/3]

void State::startActivities ( Context c)

◆ startActivities() [2/3]

void scxml4cpp::State::startActivities ( Context c)

◆ startActivities() [3/3]

void scxml4cpp::State::startActivities ( Context c)

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