SSim C++ API documentation (v. 1.7.6)
Classes | Typedefs | Variables
ssim Namespace Reference

name space for the Siena simulator. More...

Classes

class  Event
 basic event in the simulation. More...
class  Process
 Virtual class (interface) representing processes running within the simulator. More...
class  ProcessWithPId
 utility Process class providing a utility interface with the simulator. More...
class  SimErrorHandler
 an error handler for simulation errors. More...
class  Sim
 a generic discrete-event sequential simulator More...
class  TProcess
 Virtual class representing sequential processes. More...

Typedefs

typedef int ProcessId
 process identifier type
typedef double Time
 virtual time type

Variables

const char * Version
 version identifier for this ssim library
const ProcessId NULL_PROCESSID = -1
 no process will be identified by NULL_PROCESSID
const Time INIT_TIME = 0
 beginning of time

Detailed Description

name space for the Siena simulator.

This namespace groups all the types and functionalities associated with the Siena simulator. These include:

  1. the simulator API

  2. the base classes for processes and events

  3. a few other utility classes

Typedef Documentation

typedef double ssim::Time

virtual time type

This type represents the basic time in the virtual (simulated) world. Being defined as an integer type, virtual time is a discrete quantity. The actual semantics of the time unit is determined by the simulated application. In other words, a time interval of 1 may be interpreted as one second, one year, or any other time interval, depending on the semantics of the simulated application.

See Also
Sim::advance_delay(Time), Sim::signal_event(ProcessId, const Event*, Time), and Sim::self_signal_event(const Event*, Time).