#include <physics.h>


Definition at line 95 of file physics.h.
Public Member Functions | |
| double | Speed () |
| double | Speed (const DateTime &at) |
| double | Radius () |
| double | Radius (const DateTime &at) |
| virtual | ~IMovingObject () |
| struct Position | Position () |
| struct Position | Position (const DateTime &at) |
| double | Size () |
| double | Size (const DateTime &at) |
| IObject & | Serialize (std::ostream &output) |
| IObject & | Deserialize (std::istream &input) |
Protected Member Functions | |
| IMovingObject () | |
| virtual double | ImplSpeed (const DateTime &)=0 |
| virtual double | ImplRadius (const DateTime &)=0 |
| virtual struct Position | ImplPosition (const DateTime &)=0 |
| virtual double | ImplSize (const DateTime &)=0 |
| virtual void | ImplSerialize (std::ostream &)=0 |
| virtual void | ImplDeserialize (std::istream &)=0 |
Private Member Functions | |
| IMovingObject (const IMovingObject &) | |
| IMovingObject & | operator= (const IMovingObject &) |
| virtual ~IMovingObject | ( | ) | [inline, virtual] |
| IMovingObject | ( | ) | [inline, protected] |
| IMovingObject | ( | const IMovingObject & | ) | [private] |
| double Speed | ( | ) | [inline] |
Gets the object speed
Definition at line 101 of file physics.h.
References DateTime::Now().
Referenced by readCoreInfo().


| double Radius | ( | ) | [inline] |
Gets the object turn angle
Definition at line 113 of file physics.h.
References DateTime::Now().
Referenced by readCoreInfo().


| virtual double ImplSpeed | ( | const DateTime & | ) | [protected, pure virtual] |
Implemented in BaseMovingObject, Compass, SoundSensor, and Trilobot.
| virtual double ImplRadius | ( | const DateTime & | ) | [protected, pure virtual] |
Implemented in BaseMovingObject, Compass, SoundSensor, and Trilobot.
| IMovingObject& operator= | ( | const IMovingObject & | ) | [private] |
Gets the object center
Definition at line 40 of file physics.h.
References IObject::ImplPosition(), and DateTime::Now().
Referenced by Core::dispatch(), Arena::Private::drawCircle(), and readCoreInfo().


Definition at line 46 of file physics.h.
References IObject::ImplPosition().

| double Size | ( | ) | [inline, inherited] |
Gets the object radius
Definition at line 52 of file physics.h.
References IObject::ImplSize(), and DateTime::Now().
Referenced by Arena::Private::drawCircle(), and Arena::Private::renderBot().


| double Size | ( | const DateTime & | at | ) | [inline, inherited] |
Definition at line 58 of file physics.h.
References IObject::ImplSize().

| IObject& Serialize | ( | std::ostream & | output | ) | [inline, inherited] |
Definition at line 63 of file physics.h.
References IObject::ImplSerialize().
Referenced by Core::Export().


| IObject& Deserialize | ( | std::istream & | input | ) | [inline, inherited] |
Definition at line 68 of file physics.h.
References IObject::ImplDeserialize().
Referenced by Core::Import().


| virtual struct Position ImplPosition | ( | const DateTime & | ) | [read, protected, pure virtual, inherited] |
Implemented in BaseObject, Compass, SoundSensor, and Trilobot.
Referenced by IObject::Position().

| virtual double ImplSize | ( | const DateTime & | ) | [protected, pure virtual, inherited] |
Implemented in BaseObject, Compass, SoundSensor, and Trilobot.
Referenced by IObject::Size().

| virtual void ImplSerialize | ( | std::ostream & | ) | [protected, pure virtual, inherited] |
Implemented in BaseObject, BaseMovingObject, State, BaseComponent, SimpleComponent, Compass, SoundSensor, and Trilobot.
Referenced by IObject::Serialize().

| virtual void ImplDeserialize | ( | std::istream & | ) | [protected, pure virtual, inherited] |
Implemented in BaseObject, BaseMovingObject, State, BaseComponent, SimpleComponent, Compass, SoundSensor, and Trilobot.
Referenced by IObject::Deserialize().

1.5.4