Tinman  1.0
Public Types | Public Member Functions | List of all members
Tinman::InstrumentatedCarI Class Reference

#include <instrumentatedCarI.h>

Inheritance diagram for Tinman::InstrumentatedCarI:
Inheritance graph
[legend]
Collaboration diagram for Tinman::InstrumentatedCarI:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< InstrumentatedCarIshared
 
- Public Types inherited from Car
typedef std::shared_ptr< Carshared
 

Public Member Functions

 InstrumentatedCarI (std::string nick)
 
virtual void exec (::Tinman::Action, const Ice::Current &)
 
virtual ::Ice::Int getNitro (const Ice::Current &)
 
virtual ::Ice::Int getLap (const Ice::Current &)
 
virtual ::Tinman::Vector3 getPosition (const Ice::Current &)
 
virtual ::Tinman::Vector3 getVelocity (const Ice::Current &)
 
virtual ::Tinman::Quaternion getOrientation (const Ice::Current &)
 
virtual ::Tinman::Vector3 getDirection (::Ice::Int, const Ice::Current &)
 
virtual ::Ice::Float getSpeed (const Ice::Current &)
 
virtual bool isColliding (const Ice::Current &)
 
virtual bool isStuck (const Ice::Current &)
 
virtual void move (const ::Tinman::Vector3 &, const Ice::Current &)
 
- Public Member Functions inherited from Car
 Car (std::string nick)
 
virtual ~Car ()
 
void realize (Scene::shared scene, std::string name, std::string material, Ogre::Vector3 position, int scale)
 
void realize (Physics::shared physics, Scene::shared scene, Sound::shared sound, std::string name, btVector3 position, std::string material, int checkpoints, Ice::Byte id)
 
void realize (Physics::shared physics, Sound::shared sound, std::string name, btVector3 position, Ice::Byte id)
 
void exec (Tinman::Action action)
 
void accelerate ()
 
void use_nitro ()
 
void stop_accelerating ()
 
void brake ()
 
void stop_braking ()
 
void turn (Direction direction)
 
void turn_right ()
 
void turn_left ()
 
void stop_turning ()
 
void update (float delta)
 
void synchronize (Tinman::CarInfo last_update)
 
int get_nitro ()
 
int get_lap ()
 
btVector3 get_position ()
 
btVector3 get_velocity ()
 
btQuaternion get_orientation ()
 
btVector3 get_direction (int factor=1)
 
btScalar get_speed ()
 
Section get_current_section ()
 
void set_position (btVector3 position)
 
void set_race_segment_info (Section segment)
 
void reset (int checkpoints, btVector3 position)
 
void collide_with_car ()
 
void animation (float delta)
 
bool is_colliding ()
 
bool is_stuck ()
 
void invert_direction ()
 

Additional Inherited Members

- Public Attributes inherited from Car
CarController::shared controller_
 
int race_position_
 
Ice::Byte id_
 
int lap_
 
Ogre::SceneNode * chassis_node_
 
btRigidBody * chassis_body_
 
Section current_segment_
 
bool colliding_
 
bool stuck_
 

Member Typedef Documentation

Constructor & Destructor Documentation

Tinman::InstrumentatedCarI::InstrumentatedCarI ( std::string  nick)

Member Function Documentation

void Tinman::InstrumentatedCarI::exec ( ::Tinman::Action  action,
const Ice::Current &  current 
)
virtual
Tinman::Vector3 Tinman::InstrumentatedCarI::getDirection ( ::Ice::Int  factor,
const Ice::Current &  current 
)
Ice::Int Tinman::InstrumentatedCarI::getLap ( const Ice::Current &  current)
Ice::Int Tinman::InstrumentatedCarI::getNitro ( const Ice::Current &  current)
Tinman::Quaternion Tinman::InstrumentatedCarI::getOrientation ( const Ice::Current &  current)
Tinman::Vector3 Tinman::InstrumentatedCarI::getPosition ( const Ice::Current &  current)
Ice::Float Tinman::InstrumentatedCarI::getSpeed ( const Ice::Current &  current)
Tinman::Vector3 Tinman::InstrumentatedCarI::getVelocity ( const Ice::Current &  current)
bool Tinman::InstrumentatedCarI::isColliding ( const Ice::Current &  current)
virtual
bool Tinman::InstrumentatedCarI::isStuck ( const Ice::Current &  current)
virtual
void Tinman::InstrumentatedCarI::move ( const ::Tinman::Vector3 &  position,
const Ice::Current &  current 
)
virtual

The documentation for this class was generated from the following files: