Menge
Modular Pedestrian Simulation Framework for Research and Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FDAgentInitializer.h
Go to the documentation of this file.
1 
7 #ifndef __FD_AGENT_INITIALIZER_H__
8 #define __FD_AGENT_INITIALIZER_H__
9 
10 #include "CoreConfig.h"
11 #include "AgentInitializer.h"
12 
13 namespace Menge {
14 
15  namespace Agents {
21  class MENGE_API FDAgentInitializer : public AgentInitializer {
22  public:
29 
36  FDAgentInitializer( const FDAgentInitializer & init );
37 
41  ~FDAgentInitializer(void);
42 
56  virtual bool setProperties( BaseAgent * agent );
57 
65  virtual void setDefaults();
66 
74  virtual Agents::AgentInitializer * copy() const { return new FDAgentInitializer( *this ); }
75 
91  virtual bool isRelevant( const ::std::string & tagName );
92 
107  virtual AgentInitializer::ParseResult setFromXMLAttribute( const ::std::string & paramName, const ::std::string & value );
108 
126  virtual ParseResult processProperty( ::std::string propName, TiXmlElement * node );
127 
132 
137  };
138 
139  } // namespace Agents
140 } // namespace Menge
141 #endif // __FD_AGENT_INITIALIZER_H__
virtual Agents::AgentInitializer * copy() const
Creates a copy of this AgentInitializer instance.
Definition: FDAgentInitializer.h:74
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:5
Generic abstract class which generates a scalar float value.
Definition: RandGenerator.h:61
Sets up the proper compiler directives for platform and dll export/import.
FloatGenerator * _strideFactor
The stride factor of the agent.
Definition: FDAgentInitializer.h:131
Class which determines the agent properties for each new agent.
Definition: AgentInitializer.h:37
ParseResult
Return type for parsing efforts. Helps the various derived classes coordinate their work...
Definition: AgentInitializer.h:43
FloatGenerator * _strideBuffer
The stride factor of the agent.
Definition: FDAgentInitializer.h:136
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:85
The initializer for agents which adhere to the fundamental diagram.
Definition: FDAgentInitializer.h:21
The infrastructure for initializing agent properties from the scene specification file...
The namespace that contains the basic simulation mechanisms.