StgDriver Class Reference
#include <p_driver.h>
Constructor & Destructor Documentation
StgDriver::StgDriver |
( |
ConfigFile * |
cf, |
|
|
int |
section |
|
) |
|
|
StgDriver::~StgDriver |
( |
void |
|
) |
|
|
StgDriver::StgDriver |
( |
ConfigFile * |
cf, |
|
|
int |
section |
|
) |
|
|
StgDriver::~StgDriver |
( |
void |
|
) |
|
|
Member Function Documentation
stg_model_t* StgDriver::LocateModel |
( |
const char * |
basename, |
|
|
stg_model_type_t |
mod_type |
|
) |
|
|
Interface* StgDriver::LookupDevice |
( |
player_device_id_t |
id |
) |
|
|
|
find the device record with this Player id
|
Interface * StgDriver::LookupDevice |
( |
player_devaddr_t |
addr |
) |
|
|
|
find the device record with this Player id
|
|
Main function for device thread.
|
int StgDriver::ProcessMessage |
( |
MessageQueue * |
resp_queue, |
|
|
player_msghdr * |
hdr, |
|
|
void * |
data |
|
) |
[virtual] |
|
int StgDriver::Setup |
( |
|
) |
[virtual] |
|
int StgDriver::Shutdown |
( |
|
) |
|
|
int StgDriver::Shutdown |
( |
|
) |
[virtual] |
|
int StgDriver::Subscribe |
( |
player_device_id_t |
id |
) |
|
|
int StgDriver::Subscribe |
( |
player_devaddr_t |
addr |
) |
[virtual] |
|
int StgDriver::Unsubscribe |
( |
player_device_id_t |
id |
) |
|
|
int StgDriver::Unsubscribe |
( |
player_devaddr_t |
addr |
) |
[virtual] |
|
void StgDriver::Update |
( |
|
) |
|
|
|
The server thread calls this method frequently. We use it to check for new commands and configs |
void StgDriver::Update |
( |
|
) |
[virtual] |
|
|
The server thread calls this method frequently. We use it to check for new commands and configs |
Field Documentation
|
an array of pointers to device_record_t structs, defined below
|
|
an array of pointers to Interface objects, defined below
|
|
all player devices share the same Stage world
|
|
all player devices share the same Stage world (for now)
|
The documentation for this class was generated from the following files:
Generated on Thu Dec 13 14:35:18 2007 for Stage by
1.4.6