#include <logic_event.h>
Public Member Functions | |
| CLogicEvent () | |
| Default constructor. | |
| void | reset () |
| Reset this event. | |
| void | setLogicStateMachine (CLogicStateMachine *logicStateMachine) |
| Set the logic state machine. | |
| bool | testCondition () |
| Test the condition. | |
| void | write (xmlNodePtr node) const |
| serial | |
| void | read (xmlNodePtr node) |
Public Attributes | |
| std::string | ConditionName |
| condition name | |
| CLogicEventAction | EventAction |
| event action | |
Private Attributes | |
| CLogicStateMachine * | _LogicStateMachine |
| state machine managing this event | |
Definition at line 147 of file logic_event.h.
| NLLOGIC::CLogicEvent::CLogicEvent | ( | ) | [inline] |
Default constructor.
Definition at line 163 of file logic_event.h.
References _LogicStateMachine, and ConditionName.
| void NLLOGIC::CLogicEvent::read | ( | xmlNodePtr | node | ) |
Definition at line 248 of file logic_event.cpp.
References ConditionName, EventAction, NLLOGIC::getXMLProp(), NLLOGIC::CLogicEventAction::read(), and NLLOGIC::xmlCheckNodeName().
Referenced by NLLOGIC::CLogicState::read().
| void NLLOGIC::CLogicEvent::reset | ( | ) |
Reset this event.
Definition at line 160 of file logic_event.cpp.
References EventAction, NLLOGIC::CLogicEventAction::EventMessage, NLLOGIC::CLogicEventMessage::Sent, and NLLOGIC::CLogicEventMessage::ToSend.
| void NLLOGIC::CLogicEvent::setLogicStateMachine | ( | CLogicStateMachine * | logicStateMachine | ) |
Set the logic state machine.
| logicStateMachine | is the state machine containing this block |
Definition at line 173 of file logic_event.cpp.
References _LogicStateMachine, and nlwarning.
| bool NLLOGIC::CLogicEvent::testCondition | ( | ) |
Test the condition.
Definition at line 193 of file logic_event.cpp.
References _LogicStateMachine, ConditionName, NLLOGIC::CLogicStateMachine::getCondition(), nlwarning, and NLLOGIC::CLogicCondition::testLogic().
| void NLLOGIC::CLogicEvent::write | ( | xmlNodePtr | node | ) | const |
serial
Definition at line 241 of file logic_event.cpp.
References ConditionName, EventAction, and NLLOGIC::CLogicEventAction::write().
state machine managing this event
Definition at line 150 of file logic_event.h.
Referenced by CLogicEvent(), setLogicStateMachine(), and testCondition().
| std::string NLLOGIC::CLogicEvent::ConditionName |
condition name
Definition at line 155 of file logic_event.h.
Referenced by CLogicEvent(), read(), testCondition(), and write().
event action
Definition at line 158 of file logic_event.h.
1.6.1