VOS::DoNothingListener Class Reference
[libvos]
#include <vos/vos/listener.hh>
Inheritance diagram for VOS::DoNothingListener:

Detailed Description
Trivial listener implementation that does nothing.It can be useful, however, to force the local cache of remote objects to be kept up to date. This is because RemoteVobject only keeps the cache "fresh" so long as there some part of the application is registered as a listener -- if there are no listeners, then it tells the remote site to stop pushing updates.
Definition at line 109 of file listener.hh.
Public Member Functions
- virtual void notifyChildInserted (VobjectEvent &)
- virtual void notifyChildReplaced (VobjectEvent &)
- virtual void notifyChildRemoved (VobjectEvent &)
- virtual void notifyParentInserted (VobjectEvent &)
- virtual void notifyParentRemoved (VobjectEvent &)
- virtual void notifyTypeInserted (VobjectEvent &)
- virtual void notifyTypeRemoved (VobjectEvent &)
Static Public Attributes
- static DoNothingListener static_
Member Function Documentation
| virtual void VOS::DoNothingListener::notifyChildInserted | ( | VobjectEvent & | ) | [inline, virtual] |
Called when a child has been inserted into the listened-to children list.
Implements VOS::ChildChangeListener.
Definition at line 116 of file listener.hh.
| virtual void VOS::DoNothingListener::notifyChildRemoved | ( | VobjectEvent & | ) | [inline, virtual] |
Called when a child has been deleted in the listened-to children list.
Implements VOS::ChildChangeListener.
Definition at line 118 of file listener.hh.
| virtual void VOS::DoNothingListener::notifyChildReplaced | ( | VobjectEvent & | ) | [inline, virtual] |
Called when a child has replaced another child in the listened-to children list.
Implements VOS::ChildChangeListener.
Definition at line 117 of file listener.hh.
| virtual void VOS::DoNothingListener::notifyParentInserted | ( | VobjectEvent & | ) | [inline, virtual] |
Called when an object has aquired a new parent.
Implements VOS::ParentChangeListener.
Definition at line 119 of file listener.hh.
| virtual void VOS::DoNothingListener::notifyParentRemoved | ( | VobjectEvent & | ) | [inline, virtual] |
Called when an object has lost a parent.
Implements VOS::ParentChangeListener.
Definition at line 120 of file listener.hh.
| virtual void VOS::DoNothingListener::notifyTypeInserted | ( | VobjectEvent & | ) | [inline, virtual] |
Called when an object has gained a type.
Implements VOS::TypeChangeListener.
Definition at line 121 of file listener.hh.
| virtual void VOS::DoNothingListener::notifyTypeRemoved | ( | VobjectEvent & | ) | [inline, virtual] |
Called when an object has lost a type.
Implements VOS::TypeChangeListener.
Definition at line 122 of file listener.hh.
Member Data Documentation
Definition at line 114 of file listener.hh.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/listener.hh