|
rad 6.2.0
|
#include <Merger.h>
Public Member Functions | |
| Merger (StateMachine &sm) | |
| ~Merger () | |
| void | append (StateMachine &append) |
| State * | findState (const std::string &id, std::list< State * > &list) |
This class can be used to append (in memory) an SCXML document to another (main) one.
The merging supports only a limited number of features:
| scxml4cpp::Merger::Merger | ( | StateMachine & | sm | ) |
Creates a merger object that is able to merge in memory two SCXML documents.
| sm | Main SCXML document. |
| scxml4cpp::Merger::~Merger | ( | ) |
| void scxml4cpp::Merger::append | ( | StateMachine & | append | ) |
This method appends the given SCXML document to the main one passed in the constructor.
This method find a state with given identifier among a list of given states.
| id | State identifier to find. |
| list | List of states. |