1 #include "ace/Monitor_Size.h"
3 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
5 #include "ace/Guard_T.h"
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
11 namespace Monitor_Control
13 Size_Monitor::Size_Monitor ()
14 : Monitor_Base ("", Monitor_Control_Types::MC_NUMBER
)
18 Size_Monitor::Size_Monitor (const char* name
)
19 : Monitor_Base (name
, Monitor_Control_Types::MC_NUMBER
)
24 Size_Monitor::update ()
26 // No platform-specific or periodic code is needed, receive() can be
27 // called directly whenever the size changes.
31 Size_Monitor::clear ()
33 this->Monitor_Base::clear ();
38 ACE_END_VERSIONED_NAMESPACE_DECL
40 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */