ACE_Dynamic_Node Class Reference

Handle a dynamically linked node. More...

#include <Parse_Node.h>

Inheritance diagram for ACE_Dynamic_Node:

Inheritance graph
[legend]
Collaboration diagram for ACE_Dynamic_Node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_Dynamic_Node (ACE_Service_Type_Factory const *, ACE_TCHAR *params)
virtual ~ACE_Dynamic_Node (void)
virtual void apply (ACE_Service_Gestalt *cfg, int &yyerrno)
 Will update the yyereno member and/or the corresponding configuration.

void dump (void) const
 Dump the state of an object.


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Private Member Functions

 ACE_Dynamic_Node (const ACE_Dynamic_Node &)
ACE_Dynamic_Nodeoperator= (const ACE_Dynamic_Node &)

Private Attributes

ACE_Auto_Ptr< const ACE_Service_Type_Factoryfactory_
 Pointer to a descriptor that describes this node.


Detailed Description

Handle a dynamically linked node.

Note:
This class is only meant for INTERNAL use by ACE.

For internal use only.

Definition at line 208 of file Parse_Node.h.


Constructor & Destructor Documentation

ACE_Dynamic_Node::ACE_Dynamic_Node ACE_Service_Type_Factory const *  ,
ACE_TCHAR params
 

Definition at line 250 of file Parse_Node.cpp.

References ACE_TCHAR, and ACE_TRACE.

00252   : ACE_Static_Node (stf->name (), parms)
00253   , factory_ (stf)
00254 {
00255   ACE_TRACE ("ACE_Dynamic_Node::ACE_Dynamic_Node");
00256 }

ACE_Dynamic_Node::~ACE_Dynamic_Node void   )  [virtual]
 

Definition at line 287 of file Parse_Node.cpp.

References ACE_TRACE.

00288 {
00289   ACE_TRACE ("ACE_Dynamic_Node::~ACE_Dynamic_Node");
00290 }

ACE_Dynamic_Node::ACE_Dynamic_Node const ACE_Dynamic_Node  )  [private]
 


Member Function Documentation

void ACE_Dynamic_Node::apply ACE_Service_Gestalt cfg,
int &  yyerrno
[virtual]
 

Will update the yyereno member and/or the corresponding configuration.

Reimplemented from ACE_Static_Node.

Definition at line 259 of file Parse_Node.cpp.

References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug(), ACE_Service_Gestalt::initialize(), LM_DEBUG, and ACE_Static_Node::parameters().

00260 {
00261   ACE_TRACE ("ACE_Dynamic_Node::apply");
00262 
00263   if (config->initialize (this->factory_.get (),
00264                           this->parameters ()) == -1)
00265     ++yyerrno;
00266 
00267 #ifndef ACE_NLOGGING
00268   if (ACE::debug ())
00269     ACE_DEBUG ((LM_DEBUG,
00270                 ACE_LIB_TEXT ("(%P|%t) ACE_Dynamic_Node::apply")
00271                 ACE_LIB_TEXT (" - did dynamic on %s, error = %d\n"),
00272                 this->name (),
00273                 yyerrno));
00274 #endif /* ACE_NLOGGING */
00275 }

void ACE_Dynamic_Node::dump void   )  const
 

Dump the state of an object.

Reimplemented from ACE_Static_Node.

Definition at line 280 of file Parse_Node.cpp.

References ACE_TRACE.

00281 {
00282 #if defined (ACE_HAS_DUMP)
00283   ACE_TRACE ("ACE_Dynamic_Node::dump");
00284 #endif /* ACE_HAS_DUMP */
00285 }

ACE_Dynamic_Node& ACE_Dynamic_Node::operator= const ACE_Dynamic_Node  )  [private]
 


Member Data Documentation

ACE_Dynamic_Node::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Static_Node.

Definition at line 223 of file Parse_Node.h.

ACE_Auto_Ptr<const ACE_Service_Type_Factory> ACE_Dynamic_Node::factory_ [private]
 

Pointer to a descriptor that describes this node.

Definition at line 227 of file Parse_Node.h.


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