interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VOS::DoNothingListener Class Reference
[libvos]

#include <vos/vos/listener.hh>

Inheritance diagram for VOS::DoNothingListener:

VOS::ChildChangeListener VOS::ParentChangeListener VOS::TypeChangeListener List of all members.

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

Static Public Attributes


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: