notification.h File Reference

#include <BALL/COMMON/global.h>
#include <BALL/COMMON/rtti.h>

Go to the source code of this file.


Classes

class  BALL::NotificationTarget_
class  BALL::NotificationSource_
class  BALL::NotificationSlot_
class  BALL::NotificationManager_
class  BALL::NotificationTarget< NotificationSource >
class  BALL::NotificationTarget1< NotificationSource, T1 >
class  BALL::NotificationTarget2< NotificationSource, T1, T2 >

Namespaces

namespace  BALL

Defines

#define BALL_NOTIFICATION_MANAGER_GROWTH_THRESHOLD(slots)   (2 * (slots) - 1)

Functions

Notification Management.

Using the notification management, objects may exchange data and notify each other of events by invoking methods of the other object (remotely similar to the signal/slot mechanism of QT).



NotificationManager_ & BALL::NotificationManager ()
void BALL::NotificationManagerEnable ()
void BALL::NotificationManagerDisable ()
bool BALL::NotificationManagerIsEnabled ()
bool BALL::NotificationManagerIsDisabled ()
template<class NotificationSource >
void BALL::NotificationSourceEnable (NotificationSource &notification_source)
template<class NotificationSource >
void BALL::NotificationSourceDisable (NotificationSource &notification_source)
template<class NotificationSource >
bool BALL::NotificationSourceIsEnabled (NotificationSource &notification_source)
template<class NotificationSource >
bool BALL::NotificationSourceIsDisabled (NotificationSource &notification_source)
template<class Source , class Target >
void BALL::NotificationRegister (const Source &source, const Target &target)
template<class Source , class Target , class T1 >
void BALL::NotificationRegister1 (const Source &source, const Target &target, const T1 &)
template<class NotificationSource , class NotificationTarget , class T1 , class T2 >
void BALL::NotificationRegister2 (const NotificationSource &notification_source, const NotificationTarget &notification_target, const T1 &, const T2 &)
void BALL::NotificationUnregisterAll ()
template<class NotificationSource >
void BALL::NotificationUnregister (const NotificationSource &notification_source)
template<class Source , class Target >
void BALL::NotificationUnregister (const Source &source, const Target &target)
template<class NotificationSource , class NotificationTarget , class T1 >
void BALL::NotificationUnregister1 (const NotificationSource &notification_source, const NotificationTarget &notification_target, const T1 &)
template<class NotificationSource , class NotificationTarget , class T1 , class T2 >
void BALL::NotificationUnregister2 (const NotificationSource &notification_source, const NotificationTarget &notification_target, const T1 &, const T2 &)
template<class NotificationSource >
bool BALL::NotificationIsRegistered (const NotificationSource &notification_source)
template<class Source , class Target >
bool BALL::NotificationIsRegistered (const Source &source, const Target &target)
template<class NotificationSource >
bool BALL::Notify (NotificationSource &notification_source)
template<class NotificationSource , class T1 >
bool BALL::Notify (NotificationSource &notification_source, const T1 &data1)
template<class NotificationSource , class T1 , class T2 >
bool BALL::Notify (NotificationSource &notification_source, const T1 &data1, const T2 &data2)

Define Documentation

#define BALL_NOTIFICATION_MANAGER_GROWTH_THRESHOLD ( slots   )     (2 * (slots) - 1)