#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) |
Definition in file PG_Object_Group_Manipulator.cpp.
|
Definition at line 136 of file PG_Object_Group_Manipulator.cpp. References ACE_DEBUG, ACE_TEXT(), TAO::PG_Utils::get_tagged_component(), 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 } |