Aria: ArCallbackList Class Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArCallbackList Class Reference

`#include <ariaUtil.h>`

List of all members.

## Detailed Description

A class to hold a list of callbacks to call.

## 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

## Member Function Documentation

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()

The documentation for this class was generated from the following file:

- ariaUtil.h