#include <Simulation/entity.h>
Inheritance diagram for Entity:

Public Member Functions | |
| Entity () | |
| default constructor... doesn't do anything | |
Static Public Member Functions | |
| static void | SetWorkspace (Workspace *w) |
| simply sets the workspace handle | |
| static void | SetIO (IO_Window *i) |
| Sets the IO window this entity is tied too. | |
Static Protected Attributes | |
| static Workspace * | workspace = NULL |
| handle for the workspace | |
| static IO_Window * | io = NULL |
| handle for the io window | |
This is used to facilitate the access to global data such as the workspace; can be extended to access other global data. Typically, the Simulation object calls Entity's member functions.
Basically, we if want to create something that needs access to global data, derive it from here.
|
|
Sets the IO window this entity is tied too.
|
|
|
simply sets the workspace handle
|
1.4.3-20050530