1 #include "ace/Monitor_Control_Action.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 Control_Action::Control_Action (void)
14 : ACE_Refcountable_T
<ACE_SYNCH_MUTEX
> (1)
17 Control_Action::~Control_Action (void)
21 Control_Action::add_ref (void)
23 (void) this->increment ();
27 Control_Action::remove_ref (void)
29 const long new_count
= this->decrement ();
39 ACE_END_VERSIONED_NAMESPACE_DECL
41 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */