ACE_Stream_Node Class Reference

Handle a Stream. More...

#include <Parse_Node.h>

Inheritance diagram for ACE_Stream_Node:

Inheritance graph
Collaboration diagram for ACE_Stream_Node:

Collaboration graph
List of all members.

Public Member Functions

 ACE_Stream_Node (const ACE_Static_Node *, const ACE_Parse_Node *)
virtual ~ACE_Stream_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

 Declare the dynamic allocation hooks.

Private Member Functions

 ACE_Stream_Node (const ACE_Stream_Node &)
ACE_Stream_Nodeoperator= (const ACE_Stream_Node &)

Private Attributes

const ACE_Static_Nodenode_
 Linked list of modules that are part of the stream.

const ACE_Parse_Nodemods_

Detailed Description

Handle a Stream.

This class is only meant for INTERNAL use by ACE.

For internal use only.

Definition at line 243 of file Parse_Node.h.

Constructor & Destructor Documentation

ACE_Stream_Node::ACE_Stream_Node const ACE_Static_Node ,
const ACE_Parse_Node

Definition at line 82 of file Parse_Node.cpp.

References ACE_LIB_TEXT, and ACE_TRACE.

00084     : ACE_Parse_Node ((str_ops == 0 ? ACE_LIB_TEXT ("<unknown>") : str_ops->name ())),
00085       node_ (str_ops),
00086       mods_ (str_mods)
00087 {
00088   ACE_TRACE ("ACE_Stream_Node::ACE_Stream_Node");
00089 }

ACE_Stream_Node::~ACE_Stream_Node void   )  [virtual]

Definition at line 92 of file Parse_Node.cpp.

References ACE_TRACE, mods_, and node_.

00093 {
00094   ACE_TRACE ("ACE_Stream_Node::~ACE_Stream_Node");
00095   ACE_Static_Node *n = const_cast<ACE_Static_Node *> (this->node_);
00096   delete n;
00097   ACE_Parse_Node *m = const_cast<ACE_Parse_Node *> (this->mods_);
00098   delete m;
00099 }

ACE_Stream_Node::ACE_Stream_Node const ACE_Stream_Node  )  [private]

Member Function Documentation

void ACE_Stream_Node::apply ACE_Service_Gestalt cfg,
int &  yyerrno

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

Implements ACE_Parse_Node.

Definition at line 34 of file Parse_Node.cpp.

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

00035 {
00036   ACE_TRACE ("ACE_Stream_Node::apply");
00038   if (config->initialize (this->node_->record (config),
00039                           this->node_->parameters ()) == -1)
00040     ++yyerrno;
00042 #ifndef ACE_NLOGGING
00043   if (ACE::debug ())
00044     ACE_DEBUG ((LM_DEBUG,
00045                 ACE_LIB_TEXT ("(%P|%t) Did stream on %s, error = %d\n"),
00046                 this->node_->name (),
00047                 yyerrno));
00048 #endif /* ACE_NLOGGING */
00049 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL void ACE_Stream_Node::dump void   )  const

Dump the state of an object.

Reimplemented from ACE_Parse_Node.

Definition at line 26 of file Parse_Node.cpp.

References ACE_TRACE.

00027 {
00028 #if defined (ACE_HAS_DUMP)
00029   ACE_TRACE ("ACE_Stream_Node::dump");
00030 #endif /* ACE_HAS_DUMP */
00031 }

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

Member Data Documentation


Declare the dynamic allocation hooks.

Reimplemented from ACE_Parse_Node.

Definition at line 255 of file Parse_Node.h.

const ACE_Parse_Node* ACE_Stream_Node::mods_ [private]

Definition at line 260 of file Parse_Node.h.

Referenced by ~ACE_Stream_Node().

const ACE_Static_Node* ACE_Stream_Node::node_ [private]

Linked list of modules that are part of the stream.

Definition at line 259 of file Parse_Node.h.

Referenced by apply(), and ~ACE_Stream_Node().

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