NAME

ACE_Unmanaged_Singleton - Same as ACE_Singleton, except does _not_ register with ACE_Object_Manager for destruction.

SYNOPSIS

#include <ace/Singleton.h>

template<class TYPE, class ACE_LOCK> class ACE_Unmanaged_Singleton : public ACE_Singleton <TYPE, ACE_LOCK> { public: static TYPE *instance (void); static void close (void); static void dump (void); protected: ACE_Unmanaged_Singleton (void); static ACE_Unmanaged_Singleton<TYPE, ACE_LOCK> *singleton_; static ACE_Unmanaged_Singleton<TYPE, ACE_LOCK> *&instance_i ( void ); };

DESCRIPTION

PUBLIC MEMBERS

static TYPE *instance (void);

static void close (void);

static void dump (void);

PROTECTED MEMBERS

ACE_Unmanaged_Singleton (void);

static ACE_Unmanaged_Singleton<TYPE, ACE_LOCK> *singleton_;

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

AUTHOR

Tim Harrison (harrison@cs.wustl.edu), Douglas C. Schmidt, Chris Lahey, Rich Christy, and David Levine.

LIBRARY

ace