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:

Go to the source code of this file.

Functions

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


Detailed Description

Id
PG_Object_Group_Manipulator.cpp 76589 2007-01-25 18:04:11Z elliott_c

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 136 of file PG_Object_Group_Manipulator.cpp.

References ACE_DEBUG, ACE_TEXT(), and LM_DEBUG.

00137 {
00138   ACE_UNUSED_ARG (label);
00139   ACE_UNUSED_ARG (member);
00140 #if 0
00141   PortableGroup::TagFTGroupTaggedComponent ft_tag_component;
00142   TAO_FT_IOGR_Property prop (ft_tag_component);
00143   if (this->iorm_->is_primary_set (&prop, member))
00144   {
00145     ACE_DEBUG ( (LM_DEBUG,
00146       ACE_TEXT ("%T %n (%P|%t) - %s: PRIMARY member.\n"),
00147       label
00148       ));
00149   }
00150   else
00151   {
00152     ACE_DEBUG ( (LM_DEBUG,
00153       ACE_TEXT ("%T %n (%P|%t) - %s: backup member.\n"),
00154       label
00155       ));
00156   }
00157 
00158   PortableGroup::TagGroupTaggedComponent tag_component;
00159   if (TAO::PG_Utils::get_tagged_component (member, tag_component))
00160   {
00161     ACE_DEBUG ( (LM_DEBUG,
00162       ACE_TEXT ("%T %n (%P|%t) - %s: Group: .")
00163       ACE_TEXT (" version: %u\n"),
00164 
00165       label,
00166       tag_component.object_group_ref_version
00167       ));
00168   }
00169   else
00170   {
00171     ACE_DEBUG ( (LM_DEBUG,
00172       ACE_TEXT ("%T %n (%P|%t) - %s: No group information found.\n"),
00173       label
00174       ));
00175   }
00176 #endif
00177 }


Generated on Tue Feb 2 17:49:53 2010 for TAO_PortableGroup by  doxygen 1.4.7