Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

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 files:
Generated on Thu Jan 7 10:34:40 2010 for Aria by  doxygen 1.4.2