StgDriver Class Reference
#include <p_driver.h>
Constructor & Destructor Documentation
StgDriver::StgDriver |
( |
ConfigFile * |
cf, |
|
|
int |
section |
|
) |
|
|
StgDriver::StgDriver |
( |
ConfigFile * |
cf, |
|
|
int |
section |
|
) |
|
|
Member Function Documentation
int StgDriver::Setup |
( |
|
) |
[virtual] |
|
int StgDriver::Shutdown |
( |
|
) |
[virtual] |
|
int StgDriver::Subscribe |
( |
player_device_id_t |
id |
) |
[virtual] |
|
int StgDriver::Unsubscribe |
( |
player_device_id_t |
id |
) |
[virtual] |
|
void StgDriver::Update |
( |
|
) |
[virtual] |
|
|
The server thread calls this method frequently. We use it to check for new commands and configs |
int StgDriver::PutConfig |
( |
player_device_id_t |
id, |
|
|
void * |
cli, |
|
|
void * |
src, |
|
|
size_t |
len, |
|
|
struct timeval * |
timestamp |
|
) |
[virtual] |
|
|
override PutConfig to handle config requests as soon as they occur |
Interface * StgDriver::LookupDevice |
( |
player_device_id_t |
id |
) |
|
|
|
find the device record with this Player id
|
int StgDriver::Shutdown |
( |
|
) |
|
|
int StgDriver::Subscribe |
( |
player_device_id_t |
id |
) |
|
|
int StgDriver::Unsubscribe |
( |
player_device_id_t |
id |
) |
|
|
|
Main function for device thread.
|
void StgDriver::Update |
( |
|
) |
|
|
|
The server thread calls this method frequently. We use it to check for new commands and configs |
Interface* StgDriver::LookupDevice |
( |
player_device_id_t |
id |
) |
|
|
|
find the device record with this Player id
|
stg_model_t* StgDriver::LocateModel |
( |
const char * |
basename, |
|
|
stg_model_type_t |
mod_type |
|
) |
|
|
Field Documentation
|
all player devices share the same Stage world (for now)
|
|
an array of pointers to Interface objects, defined below
|
|
all player devices share the same Stage world
|
|
an array of pointers to device_record_t structs, defined below
|
The documentation for this class was generated from the following files:
Generated on Thu Aug 11 13:08:10 2005 for Stage by
1.4.0