IObject Class Reference

#include <physics.h>

Inheritance diagram for IObject:

Inheritance graph
[legend]

List of all members.


Detailed Description

Physics object interface in cartesian coor system. Basicaly all objecs are circles.

Definition at line 34 of file physics.h.


Public Member Functions

struct Position Position ()
struct Position Position (const DateTime &at)
double Size ()
double Size (const DateTime &at)
virtual ~IObject ()
IObjectSerialize (std::ostream &output)
IObjectDeserialize (std::istream &input)

Protected Member Functions

 IObject ()
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

 IObject (const IObject &)
IObjectoperator= (const IObject &)

Constructor & Destructor Documentation

virtual ~IObject (  )  [inline, virtual]

Definition at line 61 of file physics.h.

IObject (  )  [inline, protected]

Definition at line 74 of file physics.h.

IObject ( const IObject  )  [private]


Member Function Documentation

struct Position Position (  )  [inline, read]

Gets the object center

Definition at line 40 of file physics.h.

References ImplPosition(), and DateTime::Now().

Referenced by Core::dispatch(), Arena::Private::drawCircle(), and readCoreInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

struct Position Position ( const DateTime at  )  [inline, read]

Definition at line 46 of file physics.h.

References ImplPosition().

Here is the call graph for this function:

double Size (  )  [inline]

Gets the object radius

Definition at line 52 of file physics.h.

References ImplSize(), and DateTime::Now().

Referenced by Arena::Private::drawCircle(), and Arena::Private::renderBot().

Here is the call graph for this function:

Here is the caller graph for this function:

double Size ( const DateTime at  )  [inline]

Definition at line 58 of file physics.h.

References ImplSize().

Here is the call graph for this function:

IObject& Serialize ( std::ostream &  output  )  [inline]

Definition at line 63 of file physics.h.

References ImplSerialize().

Referenced by Core::Export().

Here is the call graph for this function:

Here is the caller graph for this function:

IObject& Deserialize ( std::istream &  input  )  [inline]

Definition at line 68 of file physics.h.

References ImplDeserialize().

Referenced by Core::Import().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual struct Position ImplPosition ( const DateTime  )  [read, protected, pure virtual]

Implemented in BaseObject, Compass, SoundSensor, and Trilobot.

Referenced by Position().

Here is the caller graph for this function:

virtual double ImplSize ( const DateTime  )  [protected, pure virtual]

Implemented in BaseObject, Compass, SoundSensor, and Trilobot.

Referenced by Size().

Here is the caller graph for this function:

virtual void ImplSerialize ( std::ostream &   )  [protected, pure virtual]

Implemented in BaseObject, BaseMovingObject, State, BaseComponent, SimpleComponent, Compass, SoundSensor, and Trilobot.

Referenced by Serialize().

Here is the caller graph for this function:

virtual void ImplDeserialize ( std::istream &   )  [protected, pure virtual]

Implemented in BaseObject, BaseMovingObject, State, BaseComponent, SimpleComponent, Compass, SoundSensor, and Trilobot.

Referenced by Deserialize().

Here is the caller graph for this function:

IObject& operator= ( const IObject  )  [private]


The documentation for this class was generated from the following file:
Generated on Fri Jul 10 22:42:14 2009 for rob08 by  doxygen 1.5.4