Aria  2.8.0
ArMapChangedHelper Class Reference

Helper class that stores and invokes the map changed callbacks. More...

#include <ArMapUtils.h>

Public Member Functions

virtual void addMapChangedCB (ArFunctor *functor, int position=50)
 Adds a callback to be invoked when the map is changed.
 
virtual void addPreMapChangedCB (ArFunctor *functor, int position=50)
 Adds a callback called before the map changed callbacks are called. More...
 
 ArMapChangedHelper ()
 Constructor.
 
virtual ArLog::LogLevel getMapChangedLogLevel (void)
 Gets the level we log our map changed callback at.
 
virtual void invokeMapChangedCallbacks (void)
 Function that invokes the map changed callbacks.
 
virtual void remMapChangedCB (ArFunctor *functor)
 Removes a callback invoked when the map is changed.
 
virtual void remPreMapChangedCB (ArFunctor *functor)
 Removes a callback called before the map changed callbacks are called.
 
virtual void setMapChangedLogLevel (ArLog::LogLevel level)
 Sets the level we log our map changed callback at.
 
virtual ~ArMapChangedHelper ()
 Destructor.
 

Protected Attributes

ArCallbackList myMapChangedCBList
 
ArLog::LogLevel myMapChangedLogLevel
 
ArCallbackList myPreMapChangedCBList
 

Detailed Description

Helper class that stores and invokes the map changed callbacks.

Java and Python Wrappers: Not available in Java or Python wrapper libraries.

Member Function Documentation

◆ addPreMapChangedCB()

void ArMapChangedHelper::addPreMapChangedCB ( ArFunctor functor,
int  position = 50 
)
virtual

Adds a callback called before the map changed callbacks are called.

Note that these callbacks are simply invoked before the "normal" map changed callbacks. They are not


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