Bpp/Simulation
Event
C++
 
 
DESCRIPTION
 

This module provides basic classes to represent events in a simulation.

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Simulation.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <bpp/simulation/common.hpp>

  • <bpp/simulation/object.hpp>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • simulationCommon

  • simulationObject

 
CLASSES
 

Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module.

 
clEvent
 
 
Declaration

class clEvent : public simulationObject::clObject

 
Description

Represents an event in a simulation. It is an abstract class.

 
Attributes
  • tyCardinal date()
    Date of occurrence of the event. Reading access only.

  • tyCardinal priority()
    Priority of the event. Reading access only.

 
Methods
 
clMethodEvent
 
 
Declaration

template <class prClass> class clMethodEvent : public clEvent

 
Description

Represents an event in a simulation that is a method call (with no argument).

 
Types
  • type void (prClass::*tyMethodPointer)(void)
    Type of the method pointer.

 
Methods
 
clMethodEvent_X
 
 
Declaration

template <X(parameterize)> class X(class) : public clEvent

 
Description

Pattern to generate classes that model method call events (with X arguments).

 
Types
  • type void (prClass::*tyMethodPointer)(X(signature))
    Type of the method pointer.

 
Methods
 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).