Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends

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_Framework_Component::ACE_Framework_Component ( void *  _this,
const ACE_TCHAR dll_name = 0,
const ACE_TCHAR name = 0 
) [inline]

Constructor.

Definition at line 11 of file Framework_Component.inl.

  :  this_ (_this),
     dll_name_ (ACE::strnew (dll_name ? dll_name : ACE_TEXT (""))),
     name_ (ACE::strnew (name ? name : ACE_TEXT ("")))
{
  ACE_TRACE ("ACE_Framework_Component::ctor");
}

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

Destructor.

Definition at line 20 of file Framework_Component.cpp.

{
  ACE_TRACE ("ACE_Framework_Component::~ACE_Framework_Component");

  ACE::strdelete (const_cast<ACE_TCHAR*> (this->dll_name_));
  ACE::strdelete (const_cast<ACE_TCHAR*> (this->name_));
}

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

Library associated with this component.

Definition at line 86 of file Framework_Component.h.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines