PG_Object_Group_Manipulator.cpp File Reference

#include "orbsvcs/PortableGroup/PG_Object_Group_Manipulator.h"
#include "orbsvcs/PortableGroup/PG_Utils.h"
#include "tao/debug.h"
#include <ace/OS_NS_stdio.h>

Include dependency graph for PG_Object_Group_Manipulator.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void dump_membership (const char *label, PortableGroup::ObjectGroup_ptr member)


Detailed Description

PG_Object_Group_Manipulator.cpp,v 1.10 2006/03/14 06:14:34 jtc Exp

Author:
Dale Wilson <wilson_d@ociweb.com>

Definition in file PG_Object_Group_Manipulator.cpp.


Function Documentation

void dump_membership const char *  label,
PortableGroup::ObjectGroup_ptr  member
 

Definition at line 147 of file PG_Object_Group_Manipulator.cpp.

References ACE_DEBUG, ACE_TEXT(), TAO::PG_Utils::get_tagged_component(), and LM_DEBUG.

00148 {
00149   ACE_UNUSED_ARG (label);
00150   ACE_UNUSED_ARG (member);
00151 #if 0
00152   PortableGroup::TagFTGroupTaggedComponent ft_tag_component;
00153   TAO_FT_IOGR_Property prop (ft_tag_component);
00154   if (this->iorm_->is_primary_set (&prop, member))
00155   {
00156     ACE_DEBUG ( (LM_DEBUG,
00157       ACE_TEXT ("%T %n (%P|%t) - %s: PRIMARY member.\n"),
00158       label
00159       ));
00160   }
00161   else
00162   {
00163     ACE_DEBUG ( (LM_DEBUG,
00164       ACE_TEXT ("%T %n (%P|%t) - %s: backup member.\n"),
00165       label
00166       ));
00167   }
00168 
00169   PortableGroup::TagGroupTaggedComponent tag_component;
00170   if (TAO::PG_Utils::get_tagged_component (member, tag_component))
00171   {
00172     ACE_DEBUG ( (LM_DEBUG,
00173       ACE_TEXT ("%T %n (%P|%t) - %s: Group: .")
00174       ACE_TEXT (" version: %u\n"),
00175 
00176       label,
00177       tag_component.object_group_ref_version
00178       ));
00179   }
00180   else
00181   {
00182     ACE_DEBUG ( (LM_DEBUG,
00183       ACE_TEXT ("%T %n (%P|%t) - %s: No group information found.\n"),
00184       label
00185       ));
00186   }
00187 #endif
00188 }


Generated on Thu Nov 9 14:04:04 2006 for TAO_PortableGroup by doxygen 1.3.6