Facade for I/O processors. More...

#include <IOProcessor.h>

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

Public Member Functions

 PIMPL_OPERATORS_INHERIT (IOProcessor, EventHandler)
 
virtual void eventFromSCXML (const std::string &target, const Event &event)
 We received an event from the SCXML Interpreter we are associated with. More...
 
virtual bool isValidTarget (const std::string &target)
 Determine whether the given target is a valid destination for events. More...
 
- Public Member Functions inherited from uscxml::EventHandler
 PIMPL_OPERATORS (EventHandler)
 
virtual std::list< std::string > getNames ()
 Return a list of names for types we implement. More...
 
virtual Data getDataModelVariables () const
 Export a Data object for the `_x['name']` data-model namespace. More...
 

Protected Attributes

std::shared_ptr< IOProcessorImpl_impl
 
- Protected Attributes inherited from uscxml::EventHandler
std::shared_ptr< EventHandlerImpl_impl
 

Friends

class InterpreterImpl
 

Detailed Description

Facade for I/O processors.

Member Function Documentation

virtual void uscxml::IOProcessor::eventFromSCXML ( const std::string &  target,
const Event event 
)
virtual

We received an event from the SCXML Interpreter we are associated with.

Parameters
targetWhere the event is supposed to be delivered to.
eventThe event to deliver.
bool uscxml::IOProcessor::isValidTarget ( const std::string &  target)
virtual

Determine whether the given target is a valid destination for events.

Parameters
targetA target where the Interpreter wants to deliver Events to.
Returns
Whether or not the target is valid.

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