Rosetta Utilities  2014.35
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
basic::message_listening::MessageListenerFactory Class Reference

#include <MessageListenerFactory.hh>

Public Member Functions

MessageListenerOP get_listener (listener_tags tag)
 

Static Public Member Functions

static MessageListenerFactoryget_instance ()
 static function to get the instance of ( pointer to) this singleton class More...
 

Private Member Functions

 MessageListenerFactory ()
 
 MessageListenerFactory (MessageListenerFactory const &)
 
MessageListenerFactory const & operator= (MessageListenerFactory const &)
 

Static Private Member Functions

static MessageListenerFactorycreate_singleton_instance ()
 private singleton creation function to be used with utility::thread::threadsafe_singleton More...
 

Private Attributes

std::map< listener_tags,
MessageListenerOP
listeners_
 

Static Private Attributes

static MessageListenerFactoryinstance_
 

Constructor & Destructor Documentation

basic::message_listening::MessageListenerFactory::MessageListenerFactory ( )
private

References listeners_.

Referenced by create_singleton_instance().

basic::message_listening::MessageListenerFactory::MessageListenerFactory ( MessageListenerFactory const &  )
private

Member Function Documentation

MessageListenerFactory * basic::message_listening::MessageListenerFactory::create_singleton_instance ( )
staticprivate

private singleton creation function to be used with utility::thread::threadsafe_singleton

References MessageListenerFactory().

Referenced by get_instance().

MessageListenerFactory * basic::message_listening::MessageListenerFactory::get_instance ( )
static

static function to get the instance of ( pointer to) this singleton class

References create_singleton_instance(), instance_, and utility::thread::safely_create_singleton().

MessageListenerOP basic::message_listening::MessageListenerFactory::get_listener ( listener_tags  tag)
MessageListenerFactory const& basic::message_listening::MessageListenerFactory::operator= ( MessageListenerFactory const &  )
private

Member Data Documentation

MessageListenerFactory * basic::message_listening::MessageListenerFactory::instance_
staticprivate

Referenced by get_instance().

std::map<listener_tags, MessageListenerOP> basic::message_listening::MessageListenerFactory::listeners_
private

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