InterfaceSimulation Class Reference
#include <p_driver.h>
Inherits Interface, and Interface.
Public Member Functions | |
virtual void | Configure (void *client, void *buffer, size_t len) |
InterfaceSimulation (player_device_id_t id, StgDriver *driver, ConfigFile *cf, int section) | |
InterfaceSimulation (player_devaddr_t addr, StgDriver *driver, ConfigFile *cf, int section) | |
virtual int | ProcessMessage (QueuePointer &resp_queue, player_msghdr_t *hdr, void *data) |
virtual | ~InterfaceSimulation (void) |
virtual | ~InterfaceSimulation (void) |
Constructor & Destructor Documentation
InterfaceSimulation::InterfaceSimulation | ( | player_devaddr_t | addr, | |
StgDriver * | driver, | |||
ConfigFile * | cf, | |||
int | section | |||
) |
References GlobalTime, Stg::Init(), Stg::StgWorld::Load(), PRINT_ERR1, Stg::StgWorld::Start(), and StgDriver::world.
virtual InterfaceSimulation::~InterfaceSimulation | ( | void | ) | [inline, virtual] |
InterfaceSimulation::InterfaceSimulation | ( | player_device_id_t | id, | |
StgDriver * | driver, | |||
ConfigFile * | cf, | |||
int | section | |||
) |
virtual InterfaceSimulation::~InterfaceSimulation | ( | void | ) | [inline, virtual] |
Member Function Documentation
virtual void InterfaceSimulation::Configure | ( | void * | client, | |
void * | buffer, | |||
size_t | len | |||
) | [virtual] |
Reimplemented from Interface.
int InterfaceSimulation::ProcessMessage | ( | QueuePointer & | resp_queue, | |
player_msghdr_t * | hdr, | |||
void * | data | |||
) | [virtual] |
Reimplemented from Interface.
References Stg::stg_pose_t::a, Interface::addr, Interface::driver, Stg::StgWorld::GetModel(), Stg::StgModel::GetPose(), Interface::mod, PRINT_WARN1, PRINT_WARN2, Stg::StgModel::SetPose(), Stg::StgModel::SetProperty(), StgDriver::world, Stg::stg_pose_t::x, and Stg::stg_pose_t::y.
The documentation for this class was generated from the following files:
Generated on Thu Jan 7 17:42:17 2010 for Stage by
