Gyoto
Public Member Functions | Protected Member Functions | Friends | List of all members
Gyoto::Hook::Listener Class Reference

I might listen to a Teller. More...

#include <GyotoHooks.h>

Inheritance diagram for Gyoto::Hook::Listener:
Gyoto::Astrobj::OscilTorus Gyoto::Astrobj::PageThorneDisk Gyoto::Astrobj::PolishDoughnut Gyoto::Spectrometer::Complex Gyoto::Worldline Gyoto::Astrobj::EquatorialHotSpot Gyoto::Astrobj::Star Gyoto::Photon Gyoto::Astrobj::InflateStar Gyoto::Astrobj::StarTrace Gyoto::Photon::Refined

Public Member Functions

 Listener ()
 Constructor.
 
virtual ~Listener ()
 Destructor.
 

Protected Member Functions

virtual void tell (Gyoto::Hook::Teller *msg)
 This is how a Teller tells. More...
 

Friends

class Gyoto::Hook::Teller
 

Detailed Description

I might listen to a Teller.

Whisper to my ear by using my tell() method.

Member Function Documentation

§ tell()

virtual void Gyoto::Hook::Listener::tell ( Gyoto::Hook::Teller msg)
protectedvirtual

This is how a Teller tells.

A teller will basically call listener->tell(this).

Parameters
msgTeller* the Teller who is telling... Useful if the Listener listens to several Tellers.

Reimplemented in Gyoto::Worldline, Gyoto::Astrobj::PolishDoughnut, Gyoto::Astrobj::PageThorneDisk, Gyoto::Spectrometer::Complex, and Gyoto::Astrobj::OscilTorus.


The documentation for this class was generated from the following file: