44 #ifndef __COND_BOOLEAN_H__
45 #define __COND_BOOLEAN_H__
56 class Bool2CondFactory;
141 virtual bool setFromXML(
Condition * condition, TiXmlElement * node,
const std::string & behaveFldr )
const;
199 virtual const char *
name()
const {
return "and"; }
209 return "The and condition. This condition depends on the evaluation of "\
210 "two child conditions. If both are met, this condition is met.";
281 virtual const char *
name()
const {
return "or"; }
291 return "The or condition. This condition depends on the evaluation of "\
292 "two child conditions. If either are met, this condition is met.";
311 class NotCondFactory;
400 virtual const char *
name()
const {
return "not"; }
410 return "The not condition. This condition depends on the evaluation of "\
411 "a single child condition. This condition is met when the child is not "\
446 virtual bool setFromXML(
Condition * condition, TiXmlElement * node,
const std::string & behaveFldr )
const;
451 #endif // __COND_BOOLEAN_H__
Condition * _op
The boolean operand to negate.
Definition: CondBoolean.h:381
virtual const char * name() const
The name of the condition.
Definition: CondBoolean.h:400
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
The class for parsing the xml description of a Condition and instantiating particular instances...
Definition: ConditionFactory.h:61
virtual const char * description() const
A description of the condition.
Definition: CondBoolean.h:208
Sets up the proper compiler directives for platform and dll export/import.
The factory for parsing xml data for transition conditions and instantiating the appropriate class...
A condition based on the boolean negation of a single condition.
Definition: CondBoolean.h:316
The base, abstract class defining goals.
Definition: Goal.h:110
A condition based on the boolean and of two conditions.
Definition: CondBoolean.h:149
virtual Condition * instance() const
Create an instance of this class's condition.
Definition: CondBoolean.h:425
virtual const char * name() const
The name of the condition.
Definition: CondBoolean.h:281
The factory for creating the AndCondition.
Definition: CondBoolean.h:189
virtual const char * description() const
A description of the condition.
Definition: CondBoolean.h:290
The factory for creating the NotCondition.
Definition: CondBoolean.h:390
virtual Condition * instance() const
Create an instance of this class's condition.
Definition: CondBoolean.h:305
The base class for binary boolean operand as a transition condition.
Definition: CondBoolean.h:63
virtual const char * description() const
A description of the condition.
Definition: CondBoolean.h:409
The namespace contains the Behavior Finite State Machine (BFSM) definition.
A condition based on the boolean OR of two conditions.
Definition: CondBoolean.h:231
Condition * _op2
The second boolean operand.
Definition: CondBoolean.h:113
The factory for creating the OrCondition.
Definition: CondBoolean.h:271
The base class for transition conditions.
Definition: Condition.h:68
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
virtual Condition * instance() const
Create an instance of this class's condition.
Definition: CondBoolean.h:223
The factory for creating the Bool2Condition.
Definition: CondBoolean.h:121
virtual const char * name() const
The name of the condition.
Definition: CondBoolean.h:199
Condition * _op1
The first boolean operand.
Definition: CondBoolean.h:108
The basis for determining the conditions under which transitions become "active" (and are taken)...