BackCaller Class Reference
Class prototype which provides functions to handle callbackable classes.
More...
#include <backcaller.h>
Inherited by BackCallerVector< _Tp, _Alloc >, BackCallerVector< OdeAgent * >, Configurable, and ConfigurableList.
List of all members.
Detailed Description
Class prototype which provides functions to handle callbackable classes.
If a class implements this class, just use the function callBack which calls all registered callbackable classes. If you use different callbackable pools, just use the overloaded functions callBack(CallbackableType type), addCallbackable(CallbackableType, Callbackable* cb) and removeCallbackable(CallbackableType, Callbackable* cb).
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Adds a Callbackable instance to this caller instance.
- Parameters:
-
| type | the desired CallbackableType of the Callbackable class. |
| callbackableInstance | the instance to add |
Calls all registered callbackable classes of the determined type.
This is done by Callbackable::doOnCallback(CallbackableType type). You can make this function private/protected if you like.
- Parameters:
-
Calls all registered callbackable classes of the determined type.
This is done by Callbackable::doOnCallback(CallbackableType type). This function uses QUICKMP in order to parallelise the callbacks. Remember that there is only shared the used CallbackableList. So if you have other variables/objects to share, implement your own version. You can make this function private/protected if you like.
- Parameters:
-
Removes all Callbackable instances from this caller instance.
- Parameters:
-
| type | the CallbackableType of the Callbackable class to be removed. |
Removes a Callbackable instance from this caller instance.
- Parameters:
-
| type | the CallbackableType of the Callbackable class. |
| callbackableInstance | |
Member Data Documentation
The documentation for this class was generated from the following files: