ModelRanger class More...
#include <stage.hh>
Classes | |
class | Sensor |
class | Vis |
Public Member Functions | |
const std::vector< Sensor > & | GetSensors () const |
std::vector< Sensor > & | GetSensorsMutable () |
virtual void | Load () |
void | LoadSensor (Worldfile *wf, int entity) |
ModelRanger (World *world, Model *parent, const std::string &type) | |
virtual void | Print (char *prefix) const |
virtual | ~ModelRanger () |
Public Attributes | |
Stg::ModelRanger::Vis | vis |
Protected Member Functions | |
virtual void | Shutdown () |
virtual void | Startup () |
virtual void | Update () |
Private Attributes | |
std::vector< Sensor > | sensors |
ModelRanger::ModelRanger | ( | World * | world, |
Model * | parent, | ||
const std::string & | type | ||
) |
Definition at line 87 of file model_ranger.cc.
ModelRanger::~ModelRanger | ( | ) | [virtual] |
Definition at line 111 of file model_ranger.cc.
const std::vector<Sensor>& Stg::ModelRanger::GetSensors | ( | ) | const [inline] |
std::vector<Sensor>& Stg::ModelRanger::GetSensorsMutable | ( | ) | [inline] |
void ModelRanger::Load | ( | void | ) | [virtual] |
configure a model by reading from the current world file
Reimplemented from Stg::Model.
Definition at line 156 of file model_ranger.cc.
void ModelRanger::LoadSensor | ( | Worldfile * | wf, |
int | entity | ||
) |
Definition at line 131 of file model_ranger.cc.
void ModelRanger::Print | ( | char * | prefix | ) | const [virtual] |
Reimplemented from Stg::Model.
Definition at line 371 of file model_ranger.cc.
void ModelRanger::Shutdown | ( | void | ) | [protected, virtual] |
Reimplemented from Stg::Model.
Definition at line 122 of file model_ranger.cc.
void ModelRanger::Startup | ( | void | ) | [protected, virtual] |
Reimplemented from Stg::Model.
Definition at line 115 of file model_ranger.cc.
void ModelRanger::Update | ( | void | ) | [protected, virtual] |
Reimplemented from Stg::Model.
Definition at line 176 of file model_ranger.cc.
std::vector<Sensor> Stg::ModelRanger::sensors [private] |
Reimplemented from Stg::Model.