ModuleManager

Engine/source/module/moduleManager.h

More...

Classes:

Private Types

Parent 
typeGroupModuleHash 
typeGroupVector 
HashMap< StringTableEntry, ModuleDefinitionEntry * >
typeModuleIdDatabaseHash 

Module databases.

typeModuleIdVector 

Module loading.

Vector< ModuleLoadEntry >
typeModuleLoadEntryVector 

Public Types

typeConstModuleDefinitionVector 
typeModuleDefinitionVector 

Module definitions.

Public Functions

addListener(SimObject * pListener)

Module notifications.

bool
canMergeModules(const char * pMergeSourcePath)
copyModule(ModuleDefinition * pSourceModuleDefinition, const char * pTargetModuleId, const char * pTargetPath, const bool useVersionPathing)

Module synchronization.

Declare Console Object.

findModule(const char * pModuleId, const U32 versionId)

Module type enumeration.

findModules(const bool loadedOnly, typeConstModuleDefinitionVector & moduleDefinitions)
findModuleTypes(const char * pModuleType, const bool loadedOnly, typeConstModuleDefinitionVector & moduleDefinitions)
bool
loadModuleExplicit(const char * pModuleId, const U32 versionId)
bool
loadModuleGroup(const char * pModuleGroup)

Module (un)loading.

bool
mergeModules(const char * pMergeTargetPath, const bool removeMergeDefinition, const bool registerNewModules)
bool

SimObject overrides.

Called when a SimObject is deleted.

Called when the object is removed from the sim.

bool
registerModule(const char * pModulePath, const char * pModuleFile)

Module unregister.

bool
renameModule(ModuleDefinition * pSourceModuleDefinition, const char * pNewModuleName)

Editing modules.

bool
scanModules(const char * pPath, const bool rootOnly)

Module discovery.

setIgnoreLoadedGroups(bool doIgnore)
bool
setModuleExtension(const char * pExtension)

Module definitions.

bool
synchronizeDependencies(ModuleDefinition * pRootModuleDefinition, const char * pTargetDependencyPath)
bool
unloadModuleExplicit(const char * pModuleId)
bool
unloadModuleGroup(const char * pModuleGroup)
bool
unregisterModule(const char * pModuleId, const U32 versionId)

Public Static Functions

Detailed Description

see:

moduleGroup

Private Types

typedef SimObject Parent 
typedef HashMap< StringTableEntry, typeModuleIdVector * > typeGroupModuleHash 
typedef Vector< StringTableEntry > typeGroupVector 
typedef HashMap< StringTableEntry, ModuleDefinitionEntry * > typeModuleIdDatabaseHash 

Module databases.

typedef Vector< StringTableEntry > typeModuleIdVector 

Module loading.

typedef Vector< ModuleLoadEntry > typeModuleLoadEntryVector 

Public Types

typedef Vector< const ModuleDefinition * > typeConstModuleDefinitionVector 
typedef Vector< ModuleDefinition * > typeModuleDefinitionVector 

Module definitions.

Private Attributes

S32 mDatabaseLocks 
bool mEchoInfo 
bool mEnforceDependencies 

Miscellaneous.

typeGroupModuleHash mGroupModules 
typeGroupVector mGroupsLoaded 
bool mIgnoreLoadedGroups 
char mModuleExtension [256]
typeModuleIdDatabaseHash mModuleIdDatabase 
typeModuleLoadEntryVector mModulesLoaded 
SimSet mNotificationListeners 
Taml mTaml 

Public Functions

ModuleManager()

~ModuleManager()

addListener(SimObject * pListener)

Module notifications.

canMergeModules(const char * pMergeSourcePath)

copyModule(ModuleDefinition * pSourceModuleDefinition, const char * pTargetModuleId, const char * pTargetPath, const bool useVersionPathing)

Module synchronization.

DECLARE_CONOBJECT(ModuleManager )

Declare Console Object.

findLoadedModule(const char * pModuleId)

findModule(const char * pModuleId, const U32 versionId)

Module type enumeration.

findModuleByFilePath(StringTableEntry filePath)

findModules(const bool loadedOnly, typeConstModuleDefinitionVector & moduleDefinitions)

findModuleTypes(const char * pModuleType, const bool loadedOnly, typeConstModuleDefinitionVector & moduleDefinitions)

isModuleMergeAvailable(void )

Module updates.

loadModuleExplicit(const char * pModuleId, const U32 versionId)

loadModuleGroup(const char * pModuleGroup)

Module (un)loading.

mergeModules(const char * pMergeTargetPath, const bool removeMergeDefinition, const bool registerNewModules)

onAdd()

Reimplemented from: SimObject

onDeleteNotify(SimObject * object)

Reimplemented from: SimObject

onRemove()

Reimplemented from: SimObject

registerModule(const char * pModulePath, const char * pModuleFile)

Module unregister.

removeListener(SimObject * pListener)

renameModule(ModuleDefinition * pSourceModuleDefinition, const char * pNewModuleName)

Editing modules.

scanModules(const char * pPath, const bool rootOnly)

Module discovery.

setIgnoreLoadedGroups(bool doIgnore)

setModuleExtension(const char * pExtension)

Module definitions.

synchronizeDependencies(ModuleDefinition * pRootModuleDefinition, const char * pTargetDependencyPath)

unloadModuleExplicit(const char * pModuleId)

unloadModuleGroup(const char * pModuleGroup)

unregisterModule(const char * pModuleId, const U32 versionId)