31 #ifndef __GyotoHooks_h 32 #define __GyotoHooks_h 114 virtual void hook (
Listener * listener);
129 virtual void unhook (
Listener * listener);
138 virtual void tellListeners();
virtual void tell(Gyoto::Hook::Teller *msg)
This is how a Teller tells.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Private (undocumented) class to hold listeners_.
I might listen to a Teller.
Definition: GyotoHooks.h:64
virtual ~Listener()
Destructor.
ListenerItem * listeners_
Linked list of Listener items.
Definition: GyotoHooks.h:89
Listen to me and I'll warn you when I change.
Definition: GyotoHooks.h:82