|
rad 6.2.0
|
#include <smEvent.hpp>
Public Member Functions | |
| SMEvent () | |
| SMEvent (const AnyEvent &ev) | |
| SMEvent (const SMEvent &e) | |
| virtual | ~SMEvent () |
| SMEvent & | operator= (const SMEvent &e) |
| AnyEvent const & | GetEv () const |
| void | SetEv (AnyEvent const &ev) |
Public Member Functions inherited from scxml4cpp::Event | |
| Event () | |
| Event (const std::string &id, const EventType type) | |
| Event (const Event &e) | |
| Event & | operator= (const Event &e) |
| virtual | ~Event () |
| const std::string & | getId () const |
| const EventType | getType () const |
| const EventStatus | getStatus () const |
| void * | getPayload () const |
| void | setId (const std::string &id) |
| void | setType (const EventType type) |
| void | setStatus (const EventStatus status) |
| void | setPayload (void *payload) |
| bool | isNull () const |
Additional Inherited Members | |
Public Types inherited from scxml4cpp::Event | |
| enum | EventType { CALL_EVENT = 0 , CHANGE_EVENT , SIGNAL_EVENT , TIME_EVENT , ERROR_EVENT } |
| enum | EventStatus { TOBEPROCESSED = 0 , PROCESSED , IGNORED , REJECTED , DEFERRED } |
This class allows to propagate a RAD event in the SCXML engine to the SM actions.
| rad::SMEvent::SMEvent | ( | ) |
Default constructor.
|
explicit |
Create a SM event from a RAD event.
| [in] | ev | RAD event. |
| rad::SMEvent::SMEvent | ( | const SMEvent & | e | ) |
Copy constructor.
| [in] | e | SM event to be copied. |
|
virtual |
| AnyEvent const & rad::SMEvent::GetEv | ( | ) | const |
Assignment operator.
| [in] | e | SM event to be copied. |
| void rad::SMEvent::SetEv | ( | AnyEvent const & | ev | ) |
| ev | RAD event. |