1 // $Id: Monitor_Size.cpp 82328 2008-07-15 17:20:17Z parsons $
3 #include "ace/Monitor_Size.h"
5 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
7 #include "ace/Guard_T.h"
9 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
13 namespace Monitor_Control
15 Size_Monitor::Size_Monitor (void)
16 : Monitor_Base ("", Monitor_Control_Types::MC_NUMBER
)
20 Size_Monitor::Size_Monitor (const char* name
)
21 : Monitor_Base (name
, Monitor_Control_Types::MC_NUMBER
)
25 Size_Monitor::~Size_Monitor (void)
30 Size_Monitor::update (void)
32 // No platform-specific or periodic code is needed, receive() can be
33 // called directly whenever the size changes.
37 Size_Monitor::clear (void)
39 this->Monitor_Base::clear ();
44 ACE_END_VERSIONED_NAMESPACE_DECL
46 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */