Cleanup Solaris support
[ACE_TAO.git] / ACE / ace / Monitor_Control / Monitor_Group.cpp
blob42c8b824bb5d66a1f4885eb2a1cb415587c8de0e
1 #include "ace/Monitor_Control/Monitor_Group.h"
3 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 namespace ACE
9 namespace Monitor_Control
11 Monitor_Group::Monitor_Group (const char* name)
12 : Monitor_Base (name, Monitor_Control_Types::MC_GROUP)
15 void
16 Monitor_Group::add_member (Monitor_Base* member)
18 this->members_.enqueue_tail (member);
21 void
22 Monitor_Group::update ()
24 for (MEMBERS_ITERATOR i (this->members_); !i.done (); i.advance ())
26 Monitor_Base **member;
27 i.next (member);
28 (*member)->update ();
32 void
33 Monitor_Group::receive (double /* data */)
35 /// No-op, should always call update().
38 void
39 Monitor_Group::receive (size_t /* data */)
41 /// No-op, should always call update().
44 void
45 Monitor_Group::receive (const Monitor_Control_Types::NameList& /* data */)
47 /// No-op, should always call update().
50 void
51 Monitor_Group::clear ()
53 for (MEMBERS_ITERATOR i (this->members_); !i.done (); i.advance ())
55 Monitor_Base **member = 0;
56 i.next (member);
57 (*member)->clear ();
63 ACE_END_VERSIONED_NAMESPACE_DECL
65 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */