Tinman  1.0
instrumentatedCarI.h
Go to the documentation of this file.
1 #ifndef __instrumentatedCarI_h__
2 #define __instrumentatedCarI_h__
3 
4 #include <tinman.h>
5 
6 #include "car.h"
7 
8 
9 namespace Tinman
10 {
11 
12  class InstrumentatedCarI : virtual public InstrumentatedCar, public Car {
13  public:
14  typedef std::shared_ptr<InstrumentatedCarI> shared;
15 
16  InstrumentatedCarI(std::string nick);
17 
18  virtual void exec(::Tinman::Action,
19  const Ice::Current&);
20 
21  virtual ::Ice::Int getNitro(const Ice::Current&);
22 
23  virtual ::Ice::Int getLap(const Ice::Current&);
24 
25  virtual ::Tinman::Vector3 getPosition(const Ice::Current&);
26 
27  virtual ::Tinman::Vector3 getVelocity(const Ice::Current&);
28 
29  virtual ::Tinman::Quaternion getOrientation(const Ice::Current&);
30 
31  virtual ::Tinman::Vector3 getDirection(::Ice::Int,
32  const Ice::Current&);
33 
34  virtual ::Ice::Float getSpeed(const Ice::Current&);
35 
36  virtual bool isColliding(const Ice::Current&);
37  virtual bool isStuck(const Ice::Current&);
38 
39  virtual void move(const ::Tinman::Vector3&, const Ice::Current&);
40  };
41 
42 }
43 
44 #endif
virtual bool isColliding(const Ice::Current &)
Definition: instrumentatedCarI.cpp:58
virtual ::Tinman::Vector3 getVelocity(const Ice::Current &)
Definition: instrumentatedCarI.cpp:32
Definition: instrumentatedCarI.h:9
virtual ::Tinman::Vector3 getPosition(const Ice::Current &)
Definition: instrumentatedCarI.cpp:26
std::shared_ptr< InstrumentatedCarI > shared
Definition: instrumentatedCarI.h:14
virtual bool isStuck(const Ice::Current &)
Definition: instrumentatedCarI.cpp:63
Definition: car.h:42
virtual void move(const ::Tinman::Vector3 &, const Ice::Current &)
Definition: instrumentatedCarI.cpp:69
Definition: instrumentatedCarI.h:12
virtual ::Tinman::Vector3 getDirection(::Ice::Int, const Ice::Current &)
Definition: instrumentatedCarI.cpp:46
virtual ::Ice::Int getNitro(const Ice::Current &)
Definition: instrumentatedCarI.cpp:15
virtual void exec(::Tinman::Action, const Ice::Current &)
Definition: instrumentatedCarI.cpp:8
virtual ::Ice::Int getLap(const Ice::Current &)
Definition: instrumentatedCarI.cpp:21
virtual ::Tinman::Quaternion getOrientation(const Ice::Current &)
Definition: instrumentatedCarI.cpp:38
virtual ::Ice::Float getSpeed(const Ice::Current &)
Definition: instrumentatedCarI.cpp:53
InstrumentatedCarI(std::string nick)
Definition: instrumentatedCarI.cpp:3