|
Microsimulation API
|
utility Process class providing a utility interface with the simulator. More...
#include <ssim.h>


Public Member Functions | |
| ProcessId | activate () throw () |
| activates this process within the simulator. More... | |
| ProcessId | pid () const throw () |
| process id of this process. More... | |
| ProcessWithPId () throw () | |
Public Member Functions inherited from ssim::Process | |
| virtual | ~Process () |
| virtual void | initialize (void) |
| action executed when the process is initialized. More... | |
| virtual void | process_event (const Event *msg) |
| action executed in response to an event signaled to this process. More... | |
| virtual void | stop (void) |
| executed when the process is explicitly stopped. More... | |
Private Attributes | |
| ProcessId | process_id |
utility Process class providing a utility interface with the simulator.
This is a sligtly more advanced Process class that provides automatic management of its own process id.
| ProcessId ssim::ProcessWithPId::activate | ( | ) | ||
| throw | ( | |||
| ) | ||||
activates this process within the simulator.
Creates a simulator process with this process object. The same ProcessWithPId can be activated only once.
| ProcessId ssim::ProcessWithPId::pid | ( | ) | const | |
| throw | ( | |||
| ) | ||||
1.8.17