| ACE 7.0.9
    | 
Storage for instantiated monitor points. More...
#include <Monitor_Point_Registry.h>

| Public Member Functions | |
| bool | add (Monitor_Base *type) | 
| Adds a monitor to the registry.  More... | |
| bool | remove (const char *name) | 
| Remove a monitor from the registry.  More... | |
| Monitor_Control_Types::NameList | names () | 
| Returns a list of names stored in the registry.  More... | |
| Monitor_Base * | get (const ACE_CString &name) const | 
| long | constraint_id () | 
| Returns a unique id for a constraint when it is created.  More... | |
| void | cleanup () | 
| Static Public Member Functions | |
| static Monitor_Point_Registry * | instance () | 
| Private Types | |
| typedef ACE_Hash_Map_Manager< ACE_CString, Monitor_Base *, ACE_SYNCH_NULL_MUTEX > | Map | 
| Underlying container for the registry.  More... | |
| Private Member Functions | |
| Monitor_Point_Registry ()=default | |
| Prevent that users can make an instance.  More... | |
| Private Attributes | |
| ACE_SYNCH_MUTEX | mutex_ | 
| Map | map_ | 
| long | constraint_id_ {} | 
| Friends | |
| class | ACE_Singleton< Monitor_Point_Registry, ACE_SYNCH_MUTEX > | 
Storage for instantiated monitor points.
| 
 | private | 
Underlying container for the registry.
| 
 | privatedefault | 
Prevent that users can make an instance.
| bool ACE::Monitor_Control::Monitor_Point_Registry::add | ( | Monitor_Base * | type | ) | 
Adds a monitor to the registry.
| void ACE::Monitor_Control::Monitor_Point_Registry::cleanup | ( | ) | 
Decrements the reference count on all remaining entries, called right before we go out of scope (i.e., process exits).
| long ACE::Monitor_Control::Monitor_Point_Registry::constraint_id | ( | ) | 
Returns a unique id for a constraint when it is created.
| Monitor_Base * ACE::Monitor_Control::Monitor_Point_Registry::get | ( | const ACE_CString & | name | ) | const | 
Increments the refcount, so the caller is responsible for decrementing it when finished.
| 
 | static | 
Used to help ensure that there is only a single instance per process of Monitor_Point_Registry.
| Monitor_Control_Types::NameList ACE::Monitor_Control::Monitor_Point_Registry::names | ( | ) | 
Returns a list of names stored in the registry.
| bool ACE::Monitor_Control::Monitor_Point_Registry::remove | ( | const char * | name | ) | 
Remove a monitor from the registry.
| 
 | friend | 
| 
 | private | 
Since we're accessed as a singleton, we can keep track of dispensing unique ids for constraints.
| 
 | private | 
| 
 | mutableprivate |