PathManager Class Reference

#include <pathManager.h>

List of all members.

Public Types

 BackAndForth
 Looping
enum  PathType {
  BackAndForth,
  Looping
}

Public Member Functions

 PathManager (const bool isServer)
 ~PathManager ()
void clearPaths ()
bool isValidPath (const U32 id) const
void getPathPosition (const U32 id, const F64 msPosition, Point3F &rPosition, QuatF &rotation)
U32 getPathTotalTime (const U32 id) const
U32 getPathNumWaypoints (const U32 id) const
U32 getWaypointTime (const U32 id, const U32 wayPoint) const
U32 getPathTimeBits (const U32 id)
U32 getPathWaypointBits (const U32 id)
void transmitPaths (NetConnection *)
void transmitPath (U32)
U32 allocatePathId ()
void updatePath (const U32 id, const Vector< Point3F > &, const Vector< QuatF > &, const Vector< U32 > &, const Vector< U32 > &)
bool dumpState (BitStream *) const
bool readState (BitStream *)

Static Public Member Functions

static void init ()
static void destroy ()

Private Attributes

Vector< PathEntry * > mPaths
bool mIsServer
bool mPathsSent

Friends

class PathManagerEvent

Classes

struct  PathEntry


Member Enumeration Documentation

Enumerator:
BackAndForth 
Looping 


Constructor & Destructor Documentation

PathManager::PathManager ( const bool  isServer  ) 

PathManager::~PathManager (  ) 


Member Function Documentation

static void PathManager::init (  )  [static]

static void PathManager::destroy (  )  [static]

void PathManager::clearPaths (  ) 

bool PathManager::isValidPath ( const U32  id  )  const [inline]

void PathManager::getPathPosition ( const U32  id,
const F64  msPosition,
Point3F rPosition,
QuatF rotation 
)

U32 PathManager::getPathTotalTime ( const U32  id  )  const

U32 PathManager::getPathNumWaypoints ( const U32  id  )  const

U32 PathManager::getWaypointTime ( const U32  id,
const U32  wayPoint 
) const

U32 PathManager::getPathTimeBits ( const U32  id  ) 

U32 PathManager::getPathWaypointBits ( const U32  id  ) 

void PathManager::transmitPaths ( NetConnection  ) 

void PathManager::transmitPath ( U32   ) 

U32 PathManager::allocatePathId (  ) 

void PathManager::updatePath ( const U32  id,
const Vector< Point3F > &  ,
const Vector< QuatF > &  ,
const Vector< U32 > &  ,
const Vector< U32 > &   
)

bool PathManager::dumpState ( BitStream  )  const

bool PathManager::readState ( BitStream  ) 


Friends And Related Function Documentation

friend class PathManagerEvent [friend]


Member Data Documentation