#include <ariaUtil.h>
Public Member Functions | |
void | addCallback (ArFunctor *functor, int position=50) |
Adds a callback. | |
ArCallbackList (const char *name="", ArLog::LogLevel logLevel=ArLog::Verbose, bool singleShot=false) | |
Constructor. | |
void | invoke (void) |
Calls the callback list. | |
void | remCallback (ArFunctor *functor) |
Removes a callback. | |
void | setLogLevel (ArLog::LogLevel logLevel) |
Sets the log level. | |
void | setName (const char *name) |
Sets the name. | |
void | setNameVar (const char *name,...) |
Sets the name with formatting. | |
void | setSingleShot (bool singleShot) |
Sets if its single shot. | |
virtual | ~ArCallbackList () |
Destructor. | |
Protected Attributes | |
ArMutex | myDataMutex |
std::multimap< int, ArFunctor * > | myList |
ArLog::LogLevel | myLogLevel |
std::string | myName |
bool | mySingleShot |
void ArCallbackList::setNameVar | ( | const char * | name, | |
... | ||||
) |
Sets the name with formatting.
Java and Python Wrappers: Not available in Java or Python wrapper libraries. use setName()