RSC  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rsc::patterns::ObservableSingletonFactory< Key, Interface > Class Template Reference

An observable factory of which at most one instance exists at any time. More...

#include <ObservableFactory.h>

Inheritance diagram for rsc::patterns::ObservableSingletonFactory< Key, Interface >:
Inheritance graph
Collaboration diagram for rsc::patterns::ObservableSingletonFactory< Key, Interface >:
Collaboration graph

Private Member Functions

 ObservableSingletonFactory ()

Friends

class Singleton< SingletonFactory< Key, Interface > >

Additional Inherited Members

- Public Types inherited from rsc::patterns::ObservableFactory< Key, Interface >
typedef base::CreateFunction CreateFunction
typedef boost::signal2< void,
const std::string &, const
CreateFunction & > 
ImplAddedSignal
typedef boost::signal2< void,
const std::string &, const
CreateFunction & > 
ImplRemovedSignal
- Public Member Functions inherited from rsc::patterns::Singleton< ObservableSingletonFactory< Key, Interface > >
virtual ~Singleton ()
- Public Member Functions inherited from rsc::patterns::ObservableFactory< Key, Interface >
ImplAddedSignalsignalImplAdded () throw ()
 Return the "implementation added" signal.
ImplRemovedSignalsignalImplRemoved () throw ()
 Return the "implementation removed" signal.
- Static Public Member Functions inherited from rsc::patterns::Singleton< ObservableSingletonFactory< Key, Interface > >
static
ObservableSingletonFactory
< Key, Interface > & 
getInstance ()
 Retrieve the singleton instance, creating it if necessary.
static void killInstance ()
 This function can be used to make sure the instance is deleted at a particular time.
- Protected Types inherited from rsc::patterns::ObservableFactory< Key, Interface >
typedef Factory< Key, Interface > base
typedef base::ImplMap ImplMap
- Protected Member Functions inherited from rsc::patterns::ObservableFactory< Key, Interface >
void register_ (const Key &key, const CreateFunction &create_function_)
void unregister (const Key &key)
- Protected Attributes inherited from rsc::patterns::ObservableFactory< Key, Interface >
ImplAddedSignal signal_impl_added_
ImplRemovedSignal signal_impl_removed_

Detailed Description

template<typename Key, typename Interface>
class rsc::patterns::ObservableSingletonFactory< Key, Interface >

An observable factory of which at most one instance exists at any time.

Definition at line 87 of file ObservableFactory.h.

Constructor & Destructor Documentation

template<typename Key , typename Interface >
rsc::patterns::ObservableSingletonFactory< Key, Interface >::ObservableSingletonFactory ( )
private

Definition at line 135 of file ObservableFactory.h.

Friends And Related Function Documentation

template<typename Key , typename Interface >
friend class Singleton< SingletonFactory< Key, Interface > >
friend

Definition at line 89 of file ObservableFactory.h.


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