#include "orbsvcs/PortableGroup/PG_Object_Group_Manipulator.h"
#include "orbsvcs/PortableGroup/PG_Utils.h"
#include "tao/debug.h"
#include <ace/OS_NS_stdio.h>
Go to the source code of this file.
Functions | |
void | dump_membership (const char *label, PortableGroup::ObjectGroup_ptr member) |
Definition in file PG_Object_Group_Manipulator.cpp.
void dump_membership | ( | const char * | label, | |
PortableGroup::ObjectGroup_ptr | member | |||
) |
Definition at line 136 of file PG_Object_Group_Manipulator.cpp.
{ ACE_UNUSED_ARG (label); ACE_UNUSED_ARG (member); #if 0 PortableGroup::TagFTGroupTaggedComponent ft_tag_component; TAO_FT_IOGR_Property prop (ft_tag_component); if (this->iorm_->is_primary_set (&prop, member)) { ACE_DEBUG ( (LM_DEBUG, ACE_TEXT ("%T %n (%P|%t) - %s: PRIMARY member.\n"), label )); } else { ACE_DEBUG ( (LM_DEBUG, ACE_TEXT ("%T %n (%P|%t) - %s: backup member.\n"), label )); } PortableGroup::TagGroupTaggedComponent tag_component; if (TAO::PG_Utils::get_tagged_component (member, tag_component)) { ACE_DEBUG ( (LM_DEBUG, ACE_TEXT ("%T %n (%P|%t) - %s: Group: .") ACE_TEXT (" version: %u\n"), label, tag_component.object_group_ref_version )); } else { ACE_DEBUG ( (LM_DEBUG, ACE_TEXT ("%T %n (%P|%t) - %s: No group information found.\n"), label )); } #endif }