|
Public Types | |
typedef AtlasResourceTOC< AtlasResourceConfigStub > | Parent |
Public Member Functions | |
AtlasResourceConfigTOC () | |
void | load (bool forceReload=false) |
Since we're dealing with small datasets (ie, config data), we don't want the normal paging semantics. | |
void | initialize (U32 maxConfigCount) |
bool | getConfig (const char *name, AtlasConfigChunk *&acc) |
void | addConfig (const char *name, AtlasConfigChunk *acc) |
AtlasResourceTOC< AtlasResourceConfigStub > * | castToResourceTOC () |
Private Attributes | |
bool | mAreConfigsLoaded |
Reimplemented from AtlasResourceTOC< AtlasResourceConfigStub >.
AtlasResourceConfigTOC::AtlasResourceConfigTOC | ( | ) | [inline] |
Since we're dealing with small datasets (ie, config data), we don't want the normal paging semantics.
Therefore, call load() to get all config data into memory and ready for access.
This is a convenience method (unless you specify a forced reload), since the other methods in this class will request data be loaded if it's not already.
bool AtlasResourceConfigTOC::getConfig | ( | const char * | name, | |
AtlasConfigChunk *& | acc | |||
) |
void AtlasResourceConfigTOC::addConfig | ( | const char * | name, | |
AtlasConfigChunk * | acc | |||
) |
AtlasResourceTOC<AtlasResourceConfigStub>* AtlasResourceConfigTOC::castToResourceTOC | ( | ) | [inline] |