base class for utilmm::singleton::wrapper
More...
#include <dummy.hh>
List of all members.
Detailed Description
base class for utilmm::singleton::wrapper
This class is the base class for all the singletons wrapper and the "public" interface to the singleton server.
- Author:
- Frédéric Py <fpy@laas.fr>
Definition at line 32 of file dummy.hh.
Constructor & Destructor Documentation
Default Constructor.
Definition at line 13 of file dummy.cc.
Destructor.
Definition at line 16 of file dummy.cc.
Member Function Documentation
Attach a new singleton.
- Parameters:
-
name | Internal id of the singleton. |
inst | Candidate as singleton. |
This function called by wrapper::attach
try to create a new singleton with name as unique id. If there's allready a singleton name then inst is deleted
Definition at line 28 of file dummy.cc.
void dummy::detach |
( |
std::string const & |
name | ) |
[static, protected] |
Detach to a singleton.
- Parameters:
-
name | Internal id of a singleton |
This function called by wrapper::detach indicate to the singleton server that the singleton identified as name has lost one client.
Definition at line 33 of file dummy.cc.
Singleton generic access.
- Parameters:
-
name | Internal id of a singleton |
- Returns:
- a pointer to the dummy wrapper of the singleton attached to name
Definition at line 39 of file dummy.cc.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: