# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLLOGIC::CLogicEvent Class Reference

CLogicEvent. More...

#include <logic_event.h>

List of all members.

Public Methods

 CLogicEvent ()
 Default constructor. More...

void reset ()
 Reset this event. More...

void setLogicStateMachine (CLogicStateMachine *logicStateMachine)
 Set the logic state machine. More...

bool testCondition ()
 Test the condition. More...

void write (xmlNodePtr node) const
 serial. More...

void read (xmlNodePtr node)

Public Attributes

std::string ConditionName
 condition name. More...

CLogicEventAction EventAction
 event action. More...


Private Attributes

CLogicStateMachine_LogicStateMachine
 state machine managing this event. More...


Detailed Description

CLogicEvent.

Author:
Stephane Coutelas , Nevrax France
Date:
2001

Definition at line 149 of file logic_event.h.


Constructor & Destructor Documentation

NLLOGIC::CLogicEvent::CLogicEvent   [inline]
 

Default constructor.

Definition at line 165 of file logic_event.h.

References _LogicStateMachine, and ConditionName.


Member Function Documentation

void NLLOGIC::CLogicEvent::read xmlNodePtr    node
 

Definition at line 250 of file logic_event.cpp.

References ConditionName, EventAction, NLLOGIC::getXMLProp, and NLLOGIC::xmlCheckNodeName.

void NLLOGIC::CLogicEvent::reset  
 

Reset this event.

Definition at line 162 of file logic_event.cpp.

References EventAction.

void NLLOGIC::CLogicEvent::setLogicStateMachine CLogicStateMachine   logicStateMachine
 

Set the logic state machine.

Parameters:
logicStateMachine  is the state machine containing this block

Definition at line 175 of file logic_event.cpp.

References _LogicStateMachine, and nlwarning.

bool NLLOGIC::CLogicEvent::testCondition  
 

Test the condition.

Returns:
true if condition is fulfiled

Definition at line 195 of file logic_event.cpp.

References _LogicStateMachine, ConditionName, and nlwarning.

void NLLOGIC::CLogicEvent::write xmlNodePtr    node const
 

serial.

Definition at line 243 of file logic_event.cpp.

References ConditionName, and EventAction.


Member Data Documentation

CLogicStateMachine* NLLOGIC::CLogicEvent::_LogicStateMachine [private]
 

state machine managing this event.

Definition at line 152 of file logic_event.h.

Referenced by CLogicEvent, setLogicStateMachine, and testCondition.

std::string NLLOGIC::CLogicEvent::ConditionName
 

condition name.

Definition at line 157 of file logic_event.h.

Referenced by CLogicEvent, read, testCondition, and write.

CLogicEventAction NLLOGIC::CLogicEvent::EventAction
 

event action.

Definition at line 160 of file logic_event.h.

Referenced by read, reset, and write.


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