3D Repo Bouncer  1.4
Public Member Functions | List of all members
repo::lib::RepoBroadcaster Class Reference
Inheritance diagram for repo::lib::RepoBroadcaster:

Public Member Functions

 RepoBroadcaster ()
 
void subscribe (RepoAbstractListener *subscriber)
 
std::streamsize write (const char *s, std::streamsize n)
 

Constructor & Destructor Documentation

RepoBroadcaster::RepoBroadcaster ( )

FIXME: should be a private constructor - singleton class.

Member Function Documentation

void repo::lib::RepoBroadcaster::subscribe ( RepoAbstractListener subscriber)
inline

Subscribe to the broadcaster

Parameters
subscriberAn object to notify when there are new messages
std::streamsize RepoBroadcaster::write ( const char *  s,
std::streamsize  n 
)

When called, it will notify all subscribers of the message.


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