Inheritance diagram for uscxml::FastMicroStep:
[legend]
Collaboration diagram for uscxml::FastMicroStep:
[legend]

Classes

class  CachedPredicates
 
class  State
 
class  Transition
 

Public Member Functions

 FastMicroStep (MicroStepCallbacks *callbacks)
 
virtual std::shared_ptr< MicroStepImplcreate (MicroStepCallbacks *callbacks)
 
virtual void deserialize (const Data &encodedState)
 
virtual std::list< XERCESC_NS::DOMElement * > getConfiguration ()
 
virtual bool isInState (const std::string &stateId)
 
void markAsCancelled ()
 
virtual void reset ()
 Reset state machine.
 
virtual Data serialize ()
 
virtual InterpreterState step (size_t blockMs)
 
- Public Member Functions inherited from uscxml::MicroStepImpl
 MicroStepImpl (MicroStepCallbacks *callbacks)
 

Protected Member Functions

std::list< XERCESC_NS::DOMElement * > getCompletion (const XERCESC_NS::DOMElement *state)
 
virtual void init (XERCESC_NS::DOMElement *scxml)
 

Protected Attributes

Binding _binding
 
boost::dynamic_bitset< BITSET_BLOCKTYPE > _configuration
 
Event _event
 
unsigned char _flags
 
std::list< XERCESC_NS::DOMElement * > _globalScripts
 
boost::dynamic_bitset< BITSET_BLOCKTYPE > _history
 
boost::dynamic_bitset< BITSET_BLOCKTYPE > _initializedData
 
boost::dynamic_bitset< BITSET_BLOCKTYPE > _invocations
 
bool _isCancelled
 
bool _isInitialized
 
std::set< boost::dynamic_bitset< BITSET_BLOCKTYPE > > _microstepConfigurations
 
XERCESC_NS::DOMElement * _scxml
 
std::map< std::string, int > _stateIds
 
std::vector< State * > _states
 
std::vector< Transition * > _transitions
 
X _xmlNS
 
X _xmlPrefix
 
- Protected Attributes inherited from uscxml::MicroStepImpl
MicroStepCallbacks_callbacks
 

Additional Inherited Members

- Public Types inherited from uscxml::MicroStepImpl
enum  Binding { EARLY = 0, LATE = 1 }
 

Member Function Documentation

void uscxml::FastMicroStep::init ( XERCESC_NS::DOMElement *  scxml)
protectedvirtual

– All things states –

– All things transitions –

Implements uscxml::MicroStepImpl.

InterpreterState uscxml::FastMicroStep::step ( size_t  blockMs)
virtual

are we the last final state to leave a parallel state?:

  1. Gather all parallel states in our ancestor chain
  2. Find all states for which these parallels are ancestors
  3. Iterate all active final states and remove their ancestors
  4. If a state remains, not all children of a parallel are final

Implements uscxml::MicroStepImpl.


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