ArtMOO
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Slots | Public Member Functions | Static Public Member Functions
ObjectManager Class Reference

ObjectManager. More...

#include <objectmanager.h>

List of all members.

Public Types

typedef QMap< ObjectId, Object * > ObjectMap
typedef QList< Object * > ObjectList
typedef QList< ObjectIdObjectIdList

Public Slots

void onFrame (qint64 pTimeStamp)
void doTask (TaskEntry &pTask)
void queueTask (TaskEntry &pTask)
bool killTask (TaskId pTaskId)

Public Member Functions

ObjectId newObjectId (void)
ObjectnewObject (void)
void load (const QString &pDataFileName)
void save (const QString &pDataFileName)
void clear (void)
Objectobject (ObjectId pIndex) const
void recycle (Object *pObject)
void recycleObjects (void)
size_t objectCount (void) const
ObjectId maxId (void) const
const ObjectListplayers (void) const
 returns the list of active players
void addPlayer (Object *pPlayer)
void remPlayer (Object *pPlayer)
void topAdd (Object *pTop)
void topRem (Object *pTop)
void luaMinimal (void)

Static Public Member Functions

static ObjectManagerinstance (void)
static void reset (void)
static Objecto (ObjectId pId)

Detailed Description

ObjectManager.

asd


Member Typedef Documentation


Member Function Documentation

void ObjectManager::addPlayer ( Object pPlayer)
void ObjectManager::clear ( void  )
void ObjectManager::doTask ( TaskEntry pTask) [slot]
ObjectManager * ObjectManager::instance ( void  ) [static]
bool ObjectManager::killTask ( TaskId  pTaskId) [slot]
void ObjectManager::load ( const QString &  pDataFileName)
void ObjectManager::luaMinimal ( void  )
ObjectId ObjectManager::maxId ( void  ) const [inline]
static Object* ObjectManager::o ( ObjectId  pId) [inline, static]
Object* ObjectManager::object ( ObjectId  pIndex) const [inline]
size_t ObjectManager::objectCount ( void  ) const [inline]
void ObjectManager::onFrame ( qint64  pTimeStamp) [slot]
const ObjectList& ObjectManager::players ( void  ) const [inline]

returns the list of active players

void ObjectManager::queueTask ( TaskEntry pTask) [slot]
void ObjectManager::recycle ( Object pObject)
void ObjectManager::remPlayer ( Object pPlayer)
void ObjectManager::reset ( void  ) [static]
void ObjectManager::save ( const QString &  pDataFileName)
void ObjectManager::topAdd ( Object pTop)
void ObjectManager::topRem ( Object pTop)

The documentation for this class was generated from the following files: