![]() |
GemaCoreLib
The GeMA Core library
|
Especialization of GmPluginLoaderAdder to add objects to a container 'U' by calling one member function of this container with a signature that receives a pointer to a 'T' object (that must inherit from GmPluginObject) and returns a boolean indicating wheater the insertion was successfull or not. More...
#include <gmPluginLoader.h>


Public Types | |
| typedef bool(U::* | UMember) (T *obj) |
| Typedef for a member of U that receives an object 'obj' of type T* and inserts 'obj' in the U object, returning true on success. | |
Public Member Functions | |
| GmPluginLoaderObjMemberAdder (U *obj, UMember f) | |
| Constructor. Receives as parameters the container and the member function used to add an object to its destination. | |
| virtual bool | addObject (GmPluginObject *obj) |
| Virtual function used to add the object to its destination. | |
Private Attributes | |
| U * | _containerObj |
| The object to which the data will be added. | |
| UMember | _containerFunc |
| The method from _containerObj that will be called to add data to it. | |
Especialization of GmPluginLoaderAdder to add objects to a container 'U' by calling one member function of this container with a signature that receives a pointer to a 'T' object (that must inherit from GmPluginObject) and returns a boolean indicating wheater the insertion was successfull or not.
1.8.15