SSim C++ API documentation (v. 1.5.0)

Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Examples

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  Sim
 a generic discrete-event sequential simulator More...

class  TProcess
 Virtual class representing sequential processes. More...

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


Copyright © 2002-2004 University of Colorado.
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; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". This documentation is authored and maintained by Antonio Carzaniga