IceStateConverter Class Reference

#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 ()
 

Detailed Description

Definition at line 36 of file IceStateConverter.h.

Constructor & Destructor Documentation

◆ IceStateConverter()

IceStateConverter Creates a converter whose model's top state is state.

Parameters
stateThe top state of the internal model

Definition at line 43 of file IceStateConverter.cpp.

◆ ~IceStateConverter()

Definition at line 48 of file IceStateConverter.cpp.

Member Function Documentation

◆ convert()

void convert ( StateIceBasePtr  iceBase)

Converts the given ice model into a statechartmodel.

This is then accesible via getTopState().

Parameters
iceBaseThe StateIceBase that is the top state of the ice model that shall be converted

◆ getCompleteStateMap()

std::map< std::string, std::pair< armarx::statechartmodel::StateInstancePtr, armarx::StateIceBasePtr > > getCompleteStateMap ( ) const

Definition at line 68 of file IceStateConverter.cpp.

◆ getTopState()

getTopState Returns the top state of the internal model that was converted from an ice model.

Returns
The top state of the internal model.

Definition at line 58 of file IceStateConverter.cpp.

◆ setStateWatcher()

void setStateWatcher ( armarx::StateWatcherPtr  watcher)

Definition at line 63 of file IceStateConverter.cpp.


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