ACE_Framework_Component Class Reference

Base class that defines a uniform interface for all managed framework components. More...

#include <Framework_Component.h>

Inheritance diagram for ACE_Framework_Component:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ACE_Framework_Component (void *_this, const ACE_TCHAR *dll_name=0, const ACE_TCHAR *name=0)
 Constructor.

virtual void close_singleton (void)=0
 Close the contained singleton.


Protected Member Functions

virtual ~ACE_Framework_Component (void)
 Destructor.


Private Member Functions

 ACE_Framework_Component (const ACE_Framework_Component &)
void operator= (const ACE_Framework_Component &)

Private Attributes

const void * this_
 Pointer to the actual component.

const ACE_TCHARdll_name_
 Library associated with this component.

const ACE_TCHARname_
 Component name.


Friends

class ACE_Framework_Repository

Detailed Description

Base class that defines a uniform interface for all managed framework components.

Definition at line 59 of file Framework_Component.h.


Constructor & Destructor Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Framework_Component::ACE_Framework_Component void *  _this,
const ACE_TCHAR dll_name = 0,
const ACE_TCHAR name = 0
 

Constructor.

Definition at line 11 of file Framework_Component.inl.

References ACE_LIB_TEXT, ACE_TCHAR, and ACE_TRACE.

00014   :  this_ (_this),
00015      dll_name_ (ACE::strnew (dll_name ? dll_name : ACE_LIB_TEXT (""))),
00016      name_ (ACE::strnew (name ? name : ACE_LIB_TEXT ("")))
00017 {
00018   ACE_TRACE ("ACE_Framework_Component::ctor");
00019 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Framework_Component::~ACE_Framework_Component void   )  [protected, virtual]
 

Destructor.

Definition at line 20 of file Framework_Component.cpp.

References ACE_TRACE, and ACE::strdelete().

00021 {
00022   ACE_TRACE ("ACE_Framework_Component::~ACE_Framework_Component");
00023 
00024   ACE::strdelete (const_cast<ACE_TCHAR*> (this->dll_name_));
00025   ACE::strdelete (const_cast<ACE_TCHAR*> (this->name_));
00026 }

ACE_Framework_Component::ACE_Framework_Component const ACE_Framework_Component  )  [private]
 


Member Function Documentation

virtual void ACE_Framework_Component::close_singleton void   )  [pure virtual]
 

Close the contained singleton.

Implemented in ACE_Framework_Component_T< Concrete >.

void ACE_Framework_Component::operator= const ACE_Framework_Component  )  [private]
 


Friends And Related Function Documentation

friend class ACE_Framework_Repository [friend]
 

Definition at line 62 of file Framework_Component.h.


Member Data Documentation

const ACE_TCHAR* ACE_Framework_Component::dll_name_ [private]
 

Library associated with this component.

Definition at line 86 of file Framework_Component.h.

const ACE_TCHAR* ACE_Framework_Component::name_ [private]
 

Component name.

Definition at line 89 of file Framework_Component.h.

const void* ACE_Framework_Component::this_ [private]
 

Pointer to the actual component.

Definition at line 83 of file Framework_Component.h.

Referenced by ACE_Framework_Repository::register_component().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:22:24 2006 for ACE by doxygen 1.3.6