ACE_Remove_Node Class Reference

Remove a Service Node. More...

#include <Parse_Node.h>

Inheritance diagram for ACE_Remove_Node:

Inheritance graph
[legend]
Collaboration diagram for ACE_Remove_Node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_Remove_Node (const ACE_TCHAR *name)
 ~ACE_Remove_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_Remove_Node (const ACE_Remove_Node &)
ACE_Remove_Nodeoperator= (const ACE_Remove_Node &)

Detailed Description

Remove a Service Node.

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

For internal use only.

Definition at line 142 of file Parse_Node.h.


Constructor & Destructor Documentation

ACE_Remove_Node::ACE_Remove_Node const ACE_TCHAR name  ) 
 

Definition at line 221 of file Parse_Node.cpp.

References ACE_TCHAR, and ACE_TRACE.

00222   : ACE_Parse_Node (name)
00223 {
00224   ACE_TRACE ("ACE_Remove_Node::ACE_Remove_Node");
00225 }

ACE_Remove_Node::~ACE_Remove_Node void   ) 
 

Definition at line 227 of file Parse_Node.cpp.

00228 {
00229 }

ACE_Remove_Node::ACE_Remove_Node const ACE_Remove_Node  )  [private]
 


Member Function Documentation

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

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

Implements ACE_Parse_Node.

Definition at line 232 of file Parse_Node.cpp.

References ACE_DEBUG, ACE_LIB_TEXT, ACE_TRACE, ACE::debug(), LM_DEBUG, and ACE_Service_Gestalt::remove().

00233 {
00234   ACE_TRACE ("ACE_Remove_Node::apply");
00235 
00236   if (config->remove (this->name ()) == -1)
00237     ++yyerrno;
00238 
00239 #ifndef ACE_NLOGGING
00240   if (ACE::debug ())
00241     ACE_DEBUG ((LM_DEBUG,
00242                 ACE_LIB_TEXT ("(%P|%t) ACE_Remove_Node::apply")
00243                 ACE_LIB_TEXT (" - did remove on %s, error = %d\n"),
00244                 this->name (),
00245                 yyerrno));
00246 #endif /* ACE_NLOGGING */
00247 }

void ACE_Remove_Node::dump void   )  const
 

Dump the state of an object.

Reimplemented from ACE_Parse_Node.

Definition at line 214 of file Parse_Node.cpp.

References ACE_TRACE.

00215 {
00216 #if defined (ACE_HAS_DUMP)
00217   ACE_TRACE ("ACE_Remove_Node::dump");
00218 #endif /* ACE_HAS_DUMP */
00219 }

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


Member Data Documentation

ACE_Remove_Node::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Parse_Node.

Definition at line 154 of file Parse_Node.h.


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