ACE_Unmanaged_TSS_Singleton(3)

ACE_Unmanaged_TSS_Singleton3

Same as ace_tss_singleton, except does _not_ register with ace_object_manager for destruction.

Usage

#include <ace/Singleton.h>
template<class TYPE, class ACE_LOCK>
class ACE_Unmanaged_TSS_Singleton : 
  public ACE_TSS_Singleton <TYPE, ACE_LOCK>
{
  public:
    static TYPE *instance (void);
    static void close (void);
    static void dump (void);
  protected:
    ACE_Unmanaged_TSS_Singleton (void);
    static ACE_Unmanaged_TSS_Singleton<TYPE, ACE_LOCK> *singleton_;
    static ACE_Unmanaged_TSS_Singleton<TYPE, ACE_LOCK> *&instance_i (
        void
        );
};

Overview

Public members

static TYPE *instance (void);

Global access point to the Singleton.

static void close (void);

Explicitly delete the Singleton instance.

static void dump (void);

Dump the state of the object.

Protected members

ACE_Unmanaged_TSS_Singleton (void);

Default constructor.

static ACE_Unmanaged_TSS_Singleton<TYPE, ACE_LOCK> *singleton_;

Pointer to the Singleton (ACE_Cleanup) instance.

static ACE_Unmanaged_TSS_Singleton<TYPE, ACE_LOCK> *&instance_i (
    void
    );

Get pointer to the Singleton instance.

Library

ace

Author

Tim Harrison ([email protected]), Douglas C. Schmidt, Chris Lahey, Rich Christy, and David Levine.

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.