Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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
List of all members.

Public Methods

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

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

Protected Methods

virtual ~ACE_Framework_Component (void)
 Destructor. More...

Private Attributes

const void * this_
 Pointer to the actual component. More...

const ACE_TCHARdll_name_
 Library associated with this component. More...

const ACE_TCHARname_
 Component name. More...


class ACE_Framework_Repository

Detailed Description

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

Definition at line 53 of file Framework_Component.h.

Constructor & Destructor Documentation

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


Definition at line 9 of file Framework_Component.inl.


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

ACE_Framework_Component::~ACE_Framework_Component void    [protected, virtual]


Definition at line 17 of file Framework_Component.cpp.

References ACE_TCHAR, ACE_TRACE, and ACE::strdelete.

00018 {
00019   ACE_TRACE ("ACE_Framework_Component::~ACE_Framework_Component");
00021   ACE::strdelete (ACE_const_cast (ACE_TCHAR*, this->dll_name_));
00022   ACE::strdelete (ACE_const_cast (ACE_TCHAR*, this->name_));
00023 }

Member Function Documentation

virtual void ACE_Framework_Component::close_singleton void    [pure virtual]

Close the contained singleton.

Implemented in ACE_Framework_Component_T.

Friends And Related Function Documentation

friend class ACE_Framework_Repository [friend]

Definition at line 56 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 75 of file Framework_Component.h.

const ACE_TCHAR* ACE_Framework_Component::name_ [private]

Component name.

Definition at line 78 of file Framework_Component.h.

const void* ACE_Framework_Component::this_ [private]

Pointer to the actual component.

Definition at line 72 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 Mon Jun 16 12:48:04 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002