class SimObj

Generic simulated resource

Inheritance:


Public Methods

[more] SimObj(const string newName = "", const ID newId = 0)
Default constructor
[more]virtual ~SimObj()
Destructor
[more]string getName(void) const
Gets the name of the simulation object
[more]ID getID(void) const
Gets the internal simulation ID
[more]void setName(const string newName)
Set the name of the simulation object to any string
[more]void setID(const ID newID)
Set the ID of the simulation object
[more]virtual void clear(void)
Reset data members to their default values
[more]virtual string toString(void) const
Pack up a description of the object in a string
[more]virtual bool activate(void)
Makes the object ready for simulation


Documentation

Every resource in the simulator has certain shared characteristics. This parent class is responsible for them.
o SimObj(const string newName = "", const ID newId = 0)

ovirtual ~SimObj()

ostring getName(void) const
Returns:
a string

oID getID(void) const
Returns:
a ID number

ovoid setName(const string newName)

ovoid setID(const ID newID)

ovirtual void clear(void)

ovirtual string toString(void) const

ovirtual bool activate(void)


Direct child classes:
Thread
System
Resource
RAM
Process
Network
Computer
Author:
John Oleszkiewicz

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.