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.h File Reference

Go to the source code of this file.

Namespaces

namespace  ssim

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...

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

This header file defines the simulator API.

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).