NLLOGIC::CLogicEvent Class Reference

CLogicEvent. More...

#include <logic_event.h>

List of all members.

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

Detailed Description

CLogicEvent.

Author:
Stephane Coutelas
Nevrax France
Date:
2001

Definition at line 147 of file logic_event.h.


Constructor & Destructor Documentation

NLLOGIC::CLogicEvent::CLogicEvent (  )  [inline]

Default constructor.

Definition at line 163 of file logic_event.h.

References _LogicStateMachine, and ConditionName.


Member Function Documentation

void NLLOGIC::CLogicEvent::read ( xmlNodePtr  node  ) 
void NLLOGIC::CLogicEvent::reset (  ) 
void NLLOGIC::CLogicEvent::setLogicStateMachine ( CLogicStateMachine logicStateMachine  ) 

Set the logic state machine.

Parameters:
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.

Returns:
true if condition is fulfiled

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().


Member Data Documentation

state machine managing this event

Definition at line 150 of file logic_event.h.

Referenced by CLogicEvent(), setLogicStateMachine(), and testCondition().

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.

Referenced by read(), reset(), and write().


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

Generated on Thu Jan 7 08:30:16 2010 for NeL by  doxygen 1.6.1