SSim C++ API documentation (v. 1.7.0)
Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

ssim Namespace Reference

name space for the Siena simulator. More...


Classes

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

Typedefs

typedef int ProcessId
 process identifier type
typedef unsigned long 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 unsigned long 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).