BaseObject Class Reference

#include <physics.h>

Inheritance diagram for BaseObject:

Inheritance graph
[legend]
Collaboration diagram for BaseObject:

Collaboration graph
[legend]

List of all members.


Detailed Description

Base cartesian object class

Definition at line 138 of file physics.h.


Public Member Functions

 BaseObject (double size=.0, double x=.0, double y=.0, double angle=.0)
 BaseObject (double size, const struct Point &point, double angle)
 BaseObject (double size, const struct Position &position)
virtual ~BaseObject ()
struct Position Position ()
struct Position Position (const DateTime &at)
double Size ()
double Size (const DateTime &at)
IObjectSerialize (std::ostream &output)
IObjectDeserialize (std::istream &input)

Protected Member Functions

struct Position ImplPosition (const DateTime &)
double ImplSize (const DateTime &)
void SetPosition (double x, double y, double angle)
void SetPosition (const struct Point &point, double angle)
void SetPosition (const struct Position &position)
void SetSize (double size)
virtual void ImplSerialize (std::ostream &)
virtual void ImplDeserialize (std::istream &)

Private Member Functions

 BaseObject (const BaseObject &rhs)
BaseObjectoperator= (const BaseObject &rhs)

Private Attributes

Members * pimpl

Constructor & Destructor Documentation

BaseObject ( double  size = .0,
double  x = .0,
double  y = .0,
double  angle = .0 
)

BaseObject ( double  size,
const struct Point point,
double  angle 
)

BaseObject ( double  size,
const struct Position position 
)

virtual ~BaseObject (  )  [virtual]

BaseObject ( const BaseObject rhs  )  [private]


Member Function Documentation

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

Implements IObject.

double ImplSize ( const DateTime  )  [protected, virtual]

Implements IObject.

void SetPosition ( double  x,
double  y,
double  angle 
) [protected]

void SetPosition ( const struct Point point,
double  angle 
) [protected]

void SetPosition ( const struct Position position  )  [protected]

void SetSize ( double  size  )  [protected]

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

Implements IObject.

Reimplemented in BaseMovingObject, State, and SimpleComponent.

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

Implements IObject.

Reimplemented in BaseMovingObject, State, and SimpleComponent.

BaseObject& operator= ( const BaseObject rhs  )  [private]

struct Position Position (  )  [inline, read, inherited]

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 46 of file physics.h.

References IObject::ImplPosition().

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

double Size ( const DateTime at  )  [inline, inherited]

Definition at line 58 of file physics.h.

References IObject::ImplSize().

Here is the call graph for this function:

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

Definition at line 63 of file physics.h.

References IObject::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, inherited]

Definition at line 68 of file physics.h.

References IObject::ImplDeserialize().

Referenced by Core::Import().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Members* pimpl [private]

Reimplemented in BaseMovingObject, and State.

Definition at line 168 of file physics.h.


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