ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <sys_class_registry.h>

Collaboration diagram for Wintermute::SystemClassRegistry:

List of all members.

Public Types

typedef Common::HashMap
< SystemClass *, SystemClass * > 
typedef Common::HashMap
< AnsiString, SystemClass * > 
typedef Common::HashMap< int,
SystemClass * > 
typedef Common::HashMap< void
*, SystemInstance * > 
typedef Common::HashMap< int,
SystemInstance * > 

Public Member Functions

void registerClasses ()
 SystemClassRegistry ()
virtual ~SystemClassRegistry ()
bool enumInstances (SYS_INSTANCE_CALLBACK lpCallback, const char *className, void *lpData)
bool loadTable (BaseGame *Game, BasePersistenceManager *PersistMgr)
bool saveTable (BaseGame *Game, BasePersistenceManager *PersistMgr, bool quickSave)
bool loadInstances (BaseGame *Game, BasePersistenceManager *PersistMgr)
bool saveInstances (BaseGame *Game, BasePersistenceManager *PersistMgr, bool quickSave)
void * idToPointer (int classID, int instanceID)
bool getPointerID (void *pointer, int *classID, int *instanceID)
bool registerClass (SystemClass *classObj)
bool unregisterClass (SystemClass *classObj)
bool registerInstance (const char *className, void *instance)
bool unregisterInstance (const char *className, void *instance)
void dumpClasses (Common::WriteStream *stream)
int getNextID ()
void addInstanceToTable (SystemInstance *instance, void *pointer)

Static Public Member Functions

static SystemClassRegistrygetInstance ()

Public Attributes

bool _disabled
int _count
Classes _classes
NameMap _nameMap
IdMap _idMap
InstanceMap _instanceMap
SavedInstanceMap _savedInstanceMap

Private Member Functions

void unregisterClasses ()

Detailed Description

Definition at line 60 of file sys_class_registry.h.

Member Typedef Documentation

Constructor & Destructor Documentation

Wintermute::SystemClassRegistry::SystemClassRegistry (  ) 

Definition at line 42 of file sys_class_registry.cpp.

Wintermute::SystemClassRegistry::~SystemClassRegistry (  )  [virtual]

Definition at line 49 of file sys_class_registry.cpp.

Member Function Documentation

void Wintermute::SystemClassRegistry::addInstanceToTable ( SystemInstance instance,
void *  pointer 

Definition at line 122 of file sys_class_registry.cpp.

void Wintermute::SystemClassRegistry::dumpClasses ( Common::WriteStream stream  ) 

Definition at line 329 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::enumInstances ( SYS_INSTANCE_CALLBACK  lpCallback,
const char *  className,
void *  lpData 

Definition at line 317 of file sys_class_registry.cpp.

SystemClassRegistry * Wintermute::SystemClassRegistry::getInstance (  )  [static]

Definition at line 54 of file sys_class_registry.cpp.

int Wintermute::SystemClassRegistry::getNextID (  ) 

Definition at line 131 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::getPointerID ( void *  pointer,
int *  classID,
int *  instanceID 

Definition at line 154 of file sys_class_registry.cpp.

void * Wintermute::SystemClassRegistry::idToPointer ( int  classID,
int  instanceID 

Definition at line 173 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::loadInstances ( BaseGame Game,
BasePersistenceManager PersistMgr 

Definition at line 283 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::loadTable ( BaseGame Game,
BasePersistenceManager PersistMgr 

Definition at line 216 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::registerClass ( SystemClass classObj  ) 

Definition at line 66 of file sys_class_registry.cpp.

void Wintermute::SystemClassRegistry::registerClasses (  ) 

Definition at line 114 of file persistent.cpp.

bool Wintermute::SystemClassRegistry::registerInstance ( const char *  className,
void *  instance 

Definition at line 107 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::saveInstances ( BaseGame Game,
BasePersistenceManager PersistMgr,
bool  quickSave 

Definition at line 253 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::saveTable ( BaseGame Game,
BasePersistenceManager PersistMgr,
bool  quickSave 

Definition at line 194 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::unregisterClass ( SystemClass classObj  ) 

Definition at line 79 of file sys_class_registry.cpp.

void Wintermute::SystemClassRegistry::unregisterClasses (  )  [private]

Definition at line 58 of file sys_class_registry.cpp.

bool Wintermute::SystemClassRegistry::unregisterInstance ( const char *  className,
void *  instance 

Definition at line 136 of file sys_class_registry.cpp.

Member Data Documentation

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

Generated on Sat Sep 26 2020 05:04:16 for ResidualVM by doxygen 1.7.1
curved edge   curved edge