blob: 545a09690aa4b3b624d336b8d6154475e67e5985 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#include "ace/Monitor_Size.h"
#if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
#include "ace/Guard_T.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE
{
namespace Monitor_Control
{
Size_Monitor::Size_Monitor (void)
: Monitor_Base ("", Monitor_Control_Types::MC_NUMBER)
{
}
Size_Monitor::Size_Monitor (const char* name)
: Monitor_Base (name, Monitor_Control_Types::MC_NUMBER)
{
}
Size_Monitor::~Size_Monitor (void)
{
}
void
Size_Monitor::update (void)
{
// No platform-specific or periodic code is needed, receive() can be
// called directly whenever the size changes.
}
void
Size_Monitor::clear (void)
{
this->Monitor_Base::clear ();
}
}
}
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */
|