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

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 Methods

 ACE_Dynamic_Node (const ACE_Service_Type *, ACE_TCHAR *params)
virtual ~ACE_Dynamic_Node (void)
virtual const ACE_Service_Typerecord (void) const
virtual void apply (int &yyerrno)
void dump (void) const
 Dump the state of an object. More...


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Private Attributes

const ACE_Service_Typerecord_
 Pointer to a descriptor that describes this node. More...


Detailed Description

Handle a dynamically linked node.

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

Definition at line 169 of file Parse_Node.h.


Constructor & Destructor Documentation

ACE_Dynamic_Node::ACE_Dynamic_Node const ACE_Service_Type  ,
ACE_TCHAR   params
 

Definition at line 226 of file Parse_Node.cpp.

References ACE_TCHAR, and ACE_TRACE.

00228   : ACE_Static_Node (sr->name (), parms),
00229     record_ (sr)
00230 {
00231   ACE_TRACE ("ACE_Dynamic_Node::ACE_Dynamic_Node");
00232 }

ACE_Dynamic_Node::~ACE_Dynamic_Node void    [virtual]
 

Definition at line 265 of file Parse_Node.cpp.

References ACE_TRACE.

00266 {
00267   ACE_TRACE ("ACE_Dynamic_Node::~ACE_Dynamic_Node");
00268 }


Member Function Documentation

void ACE_Dynamic_Node::apply int &    yyerrno [virtual]
 

Reimplemented from ACE_Static_Node.

Definition at line 242 of file Parse_Node.cpp.

References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug, ACE_Service_Config::initialize, LM_DEBUG, and ACE_Static_Node::parameters.

00243 {
00244   ACE_TRACE ("ACE_Dynamic_Node::apply");
00245 
00246   if (ACE_Service_Config::initialize (this->record (),
00247                                       this->parameters ()) == -1)
00248     yyerrno++;
00249 
00250   if (ACE::debug ())
00251     ACE_DEBUG ((LM_DEBUG,
00252                 ACE_LIB_TEXT ("did dynamic on %s, error = %d\n"),
00253                 this->name (),
00254                 yyerrno));
00255 }

void ACE_Dynamic_Node::dump void    const
 

Dump the state of an object.

Reimplemented from ACE_Static_Node.

Definition at line 260 of file Parse_Node.cpp.

References ACE_TRACE.

00261 {
00262   ACE_TRACE ("ACE_Dynamic_Node::dump");
00263 }

const ACE_Service_Type * ACE_Dynamic_Node::record void    const [virtual]
 

Reimplemented from ACE_Static_Node.

Definition at line 235 of file Parse_Node.cpp.

References ACE_TRACE, and record_.

00236 {
00237   ACE_TRACE ("ACE_Dynamic_Node::record");
00238   return this->record_;
00239 }


Member Data Documentation

ACE_Dynamic_Node::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Static_Node.

Definition at line 182 of file Parse_Node.h.

const ACE_Service_Type* ACE_Dynamic_Node::record_ [private]
 

Pointer to a descriptor that describes this node.

Definition at line 186 of file Parse_Node.h.

Referenced by record.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:47:37 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002