Functions

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.

{
  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
}

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines