mvActionLoaderList Class Reference
a list of factories which create instances of mvBaseActions depending on the mvOptionEnum key provided
More...
#include <mvActionLoaderList.h>
Detailed Description
a list of factories which create instances of mvBaseActions depending on the mvOptionEnum key provided
mvErrorEnum mvActionLoaderList::addFactoryFunction(enum mvOptionEnum key, mvBaseActionLoader actionFactoryPtr);
- Brief : Adds to mvBaseAction factory function to list
- Param(key) = An unique mvOptionEnum key within the list
- Param(actionFactoryPtr) - A pointer to a mvBaseActionLoader object
- Returns MV_NO_ERROR or any non zero value if error has occured.
NOTE: this memory pointed by actionFactoryPtr is freed by mvActionLoaderList. DO NOT free/deallocate the actionFactoryPtr after the addFactoryFunction call.
mvBaseActionPtr mvActionLoaderList::createAClassPtr(enum mvOptionEnum key, mvNewBaseActionInfo& creationInfo);
- Brief : Create a mvBaseAction object pointer based on the key provided
- Param(key) - An unique mvOptionEnum key within the list
- Param(creationInfo) - Provides information when the function has been called within the library.
- Returns a mvBaseActionPtr object or MV_NULL if error has occured.
void mvActionLoaderList::freeAllFactoryFunctions();
mvCount mvActionLoaderList::getNoOfFactoryFunctions() const;
- Brief : Retrieves the number of mvBaseActionLoaders within this list
- Returns numbers of mvBaseActionLoaders
The documentation for this class was generated from the following file:
Generated on Wed Nov 14 17:04:59 2007 for mvMotionAI by
1.5.3