44 #ifndef __OBSTACLE_SET_H__
45 #define __OBSTACLE_SET_H__
55 class ObstacleSetFactory;
124 virtual size_t obstacleCount() = 0;
133 virtual Obstacle * getObstacle(
size_t i ) = 0;
140 virtual void setClass(
size_t cl) { _class = cl; };
162 #endif // __OBSTACLE_SET_H__
The base class for obstacle set definitions.
Definition: ObstacleSet.h:101
virtual void setClass(size_t cl)
Sets the class of this obstacle set.
Definition: ObstacleSet.h:140
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
The fatal obstacle set exception.
Definition: ObstacleSet.h:78
Exception class for obstacle set instantiation.
Definition: ObstacleSet.h:60
The base definition for exceptions in Menge.
Base class for all Menge elements.
The basic interface of extendible Menge Elements.
Definition: Element.h:67
Base exception class for menge operations.
Definition: MengeException.h:58
A class for parsing the xml description of an agent generator and instantiating particular instances...
Definition: ObstacleSetFactory.h:60
virtual size_t getClass()
Gets the class of this obstacle set.
Definition: ObstacleSet.h:147
ObstacleSetException()
Default constructor.
Definition: ObstacleSet.h:65
Base class for fatal exceptions.
Definition: MengeException.h:99
ObstacleSetFatalException(const std::string &s)
Constructor with message.
Definition: ObstacleSet.h:90
Defines static obstacles in the simulation.
Definition: Obstacle.h:56
The namespace that contains the basic simulation mechanisms.
ObstacleSetFatalException()
Default constructor.
Definition: ObstacleSet.h:83
ObstacleSetException(const std::string &s)
Constructor with message.
Definition: ObstacleSet.h:72