|
#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/IceStateConverter.h>
Public Member Functions | |
void | convert (StateIceBasePtr iceBase) |
Converts the given ice model into a statechartmodel. More... | |
std::map< std::string, std::pair< statechartmodel::StateInstancePtr, StateIceBasePtr > > | getCompleteStateMap () const |
statechartmodel::StateInstancePtr | getTopState () |
getTopState Returns the top state of the internal model that was converted from an ice model. More... | |
IceStateConverter (statechartmodel::StatePtr state=statechartmodel::StatePtr(new statechartmodel::State())) | |
IceStateConverter Creates a converter whose model's top state is state. More... | |
void | setStateWatcher (StateWatcherPtr watcher) |
~IceStateConverter () | |
Definition at line 36 of file IceStateConverter.h.
IceStateConverter | ( | statechartmodel::StatePtr | state = statechartmodel::StatePtr(new statechartmodel::State()) | ) |
IceStateConverter Creates a converter whose model's top state is state.
state | The top state of the internal model |
Definition at line 43 of file IceStateConverter.cpp.
~IceStateConverter | ( | ) |
Definition at line 48 of file IceStateConverter.cpp.
void convert | ( | StateIceBasePtr | iceBase | ) |
Converts the given ice model into a statechartmodel.
This is then accesible via getTopState().
iceBase | The StateIceBase that is the top state of the ice model that shall be converted |
std::map< std::string, std::pair< armarx::statechartmodel::StateInstancePtr, armarx::StateIceBasePtr > > getCompleteStateMap | ( | ) | const |
Definition at line 68 of file IceStateConverter.cpp.
armarx::statechartmodel::StateInstancePtr getTopState | ( | ) |
getTopState Returns the top state of the internal model that was converted from an ice model.
Definition at line 58 of file IceStateConverter.cpp.
void setStateWatcher | ( | armarx::StateWatcherPtr | watcher | ) |
Definition at line 63 of file IceStateConverter.cpp.