2005/5/9

     
 

class NotifyObjectEvent

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::ref::NotifyObjectEvent Class Reference

#include <NotifyObjectEvent.h>

List of all members.


Detailed Description

Internal API.

Author:
Roger Rene Kommer
Version:
Revision
1.16
Date:
Date
2005/02/05 10:44:59
See also:
NotifyRepository


Static Public Member Functions

void add (Object *obj, NotifyObjectEventListener *el)
 add element to listining at object events

void removeListener (NotifyObjectEventListener *el)
 remove listener on all objects

void removeObject (Object *obj)
 removes object and all connected listener (without notification)

void remove (Object *obj, NotifyObjectEventListener *el)
 removes map entry of object to listener.

bool notifyBeforeDestruction (Object *obj)
 notify all listener that object will be destroy.

void notifyWhileDestruction (Object *obj)
 notifies all listener, calles remove internal remove(acdk::lang::Object* obj)


Member Function Documentation

void acdk::lang::ref::NotifyObjectEvent::add Object obj,
NotifyObjectEventListener el
[static]
 

add element to listining at object events

bool acdk::lang::ref::NotifyObjectEvent::notifyBeforeDestruction Object obj  )  [static]
 

notify all listener that object will be destroy.

if ohne listener returns false, Object will not be destroyed an no further listener will be notified

void acdk::lang::ref::NotifyObjectEvent::notifyWhileDestruction Object obj  )  [static]
 

notifies all listener, calles remove internal remove(acdk::lang::Object* obj)

void acdk::lang::ref::NotifyObjectEvent::remove Object obj,
NotifyObjectEventListener el
[static]
 

removes map entry of object to listener.

Listener may still listen on other listener. Objects itself are not removed.

void acdk::lang::ref::NotifyObjectEvent::removeListener NotifyObjectEventListener el  )  [static]
 

remove listener on all objects

void acdk::lang::ref::NotifyObjectEvent::removeObject Object obj  )  [static]
 

removes object and all connected listener (without notification)