YansCoreNS Namespace Reference

Contains the types and classes associated with the simulator core. More...


Classes

class  ConfigParser
 Boost::Spirit parser for parsing simulator configuration files. More...
struct  Definitions
 Definitions (paths, parameters, etc.) of the modules to load from the configuration file. More...
class  Event
 The base Event class. More...
class  EventProcessor
 Base class for objects that are able to process YansCoreNS::Event-s. More...
class  EventQueue
 The structure holding scheduled events. More...
class  MessageLostEvent
 Denotes the loss of a message in the network. More...
class  MessageReceivedEvent
 Denotes the reception of an message by an entity in the network. More...
class  MessageSentEvent
 Denotes the act of sending a message in the network. More...
struct  MonitorDefinition
 Definition (paths, parameters, etc.) of MonitorNS::Monitor modules to load from the configuration file. More...
class  NetworkMessage
 Messages sent in the network. More...
class  NetworkMessageData
 Base class for information carried by YansCoreNS::NetworkMessage. More...
struct  NodeDefinition
 Definition (paths, parameters, etc.) of NodeNS::Node modules to load from the configuration file. More...
struct  ServiceDefinition
 Definition (paths, parameters, etc.) of ServiceNS::Service modules to load from the configuration file. More...
class  SimulationEndEvent
 Denotes the end of the simulation. More...
class  SimulationStartEvent
 Denotes the start of the simulation. More...
class  TimerEvent
 Denotes a custom scheduled time. More...
struct  TimerEventData
 Base class for custom data associated with a YansCoreNS::TimerEvent. More...
struct  TopologyDefinition
 Definition (paths, parameters, etc.) of TopologyNS::Topology modules to load from the configuration file. More...
struct  VarVal
 The value representation of the parameters and variables. More...
struct  VersionInfo
 Version information. More...
class  YansCore
 The simulator core. More...

Typedefs

typedef std::map< std::string,
boost::shared_ptr
< std::ostream > > 
FileTable
 Type definiton of path -> file descriptor mapping.
typedef std::deque
< MonitorDefinition
MonitorDefinitions
 Type definition for a sequence of YansCoreNS::MonitorDefinition.
typedef std::deque
< boost::shared_ptr
< MonitorNS::Monitor > > 
Monitors
 Type defintion of a sequence of monitors.
typedef std::deque
< NodeDefinition
NodeDefinitions
 Type definition for a sequence of YansCoreNS::MonitorDefinition.
typedef void( NotifyFunction )(Time time, boost::shared_ptr< Event const > event)
 Type definition for functions used by objects to be notified of events in the simulation.
typedef boost::mt19937 RandomNumberGenerator
 Type defintion of the common random number generator.
typedef uint32_t RngSeed
 Type definitoin of the seed to the random number generator.
typedef boost::function< void(Time,
boost::shared_ptr< Event >)> 
ScheduleEventFunction
 Type definition for the functor object used to schedule events to the queue.
typedef std::deque
< ServiceDefinition
ServiceDefinitions
 Type definition for a sequence of YansCoreNS::ServiceDefinition.
typedef double Time
 Type definition of time in the simulation.
typedef std::pair< Time,
boost::shared_ptr< Event const > > 
TimedEvent
 Type definition for a time-event pair.
typedef std::map< std::string,
std::pair< VarType, VarVal > > 
VariableTable
 Type definiton of parameters and variables in the configuration file.
typedef double VT_DoubleT
typedef long VT_IntT
typedef std::string VT_StrT
typedef size_t VT_UIntT

Enumerations

enum  VarType {
  VT_Unknown, VT_Import, VT_Def, VT_Str,
  VT_Int, VT_UInt, VT_Double
}
 Type enumeration of parameters and variables used in the configuration file. More...


Detailed Description

Contains the types and classes associated with the simulator core.


Typedef Documentation

typedef std::map<std::string, boost::shared_ptr<std::ostream> > YansCoreNS::FileTable

Type definiton of path -> file descriptor mapping.

Type definition for a sequence of YansCoreNS::MonitorDefinition.

typedef std::deque<boost::shared_ptr<MonitorNS::Monitor> > YansCoreNS::Monitors

Type defintion of a sequence of monitors.

Type definition for a sequence of YansCoreNS::MonitorDefinition.

typedef void( YansCoreNS::NotifyFunction)(Time time, boost::shared_ptr< Event const > event)

Type definition for functions used by objects to be notified of events in the simulation.

typedef boost::mt19937 YansCoreNS::RandomNumberGenerator

Type defintion of the common random number generator.

typedef uint32_t YansCoreNS::RngSeed

Type definitoin of the seed to the random number generator.

typedef boost::function<void (Time, boost::shared_ptr<Event>)> YansCoreNS::ScheduleEventFunction

Type definition for the functor object used to schedule events to the queue.

Type definition for a sequence of YansCoreNS::ServiceDefinition.

typedef double YansCoreNS::Time

Type definition of time in the simulation.

typedef std::pair<Time, boost::shared_ptr<Event const> > YansCoreNS::TimedEvent

Type definition for a time-event pair.

typedef std::map<std::string, std::pair<VarType, VarVal> > YansCoreNS::VariableTable

Type definiton of parameters and variables in the configuration file.

typedef double YansCoreNS::VT_DoubleT

typedef long YansCoreNS::VT_IntT

typedef std::string YansCoreNS::VT_StrT

typedef size_t YansCoreNS::VT_UIntT


Enumeration Type Documentation

Type enumeration of parameters and variables used in the configuration file.

Enumerator:
VT_Unknown  Used for default initialization, not a valid type.
VT_Import  Variable specified as an environment variable.
VT_Def  Varaible specified as a macro.
VT_Str  Variable specified as a string, or module parameter.
VT_Int  Variable specified as a integer.
VT_UInt  Variable specified as an non-negative integer.
VT_Double  Variable specified as a floating-point number.


Generated on Sat May 2 19:18:06 2009 for Yans - Yet another network simulator by  doxygen 1.5.8