Stores publisher and subscriber lists to a uniquely string identified topic. More...
#include <topic.hpp>
| Public Types | |
| typedef std::set< SigSlot< Data > * > | Subscribers | 
| A list of subscribers (slots) to a given topic.  More... | |
| Public Member Functions | |
| void | addPublisher (SigSlot< Data > *sigslot) | 
| Add a publisher.  More... | |
| void | addSubscriber (SigSlot< Data > *sigslot) | 
| Add a subscriber.  More... | |
| void | disconnect (SigSlot< Data > *sigslot) | 
| Disconnect a sigslot.  More... | |
| bool | empty () const | 
| Checks to see if there is no publishers/subscribers.  More... | |
| const Subscribers * | subscribers () const | 
| List of subscribers (listeners) to a topic.  More... | |
| Topic (const std::string &name) | |
| Uniquely construct with the specified name.  More... | |
| Private Attributes | |
| std::string | topic_name | 
| std::set< SigSlot< Data > * > | topic_publishers | 
| std::set< SigSlot< Data > * > | topic_subscribers | 
| Friends | |
| template<typename OutputStream , typename TopicData > | |
| OutputStream & | operator<< (OutputStream &ostream, const Topic< TopicData > &topic) | 
Stores publisher and subscriber lists to a uniquely string identified topic.
This is not for direct use, its the storage container for the sigslots manager.
| typedef std::set<SigSlot<Data>*> ecl::Topic< Data >::Subscribers | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | friend | 
| 
 | private | 
| 
 | private | 
| 
 | private |