CIAO::MonitorController Class Reference

The Controller class. More...

#include <MonitorController.h>

Inheritance diagram for CIAO::MonitorController:

Inheritance graph
[legend]
Collaboration diagram for CIAO::MonitorController:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int svc (void)
 The main function containing the entire activity.
void terminate ()
 The terminate function.
 MonitorController (CORBA::ORB_ptr orb,::Deployment::Domain &domain,::Deployment::TargetManager_ptr target,::CIAO::NodeManager_Impl_Base *node_mgr)
 The Constructor.
 ~MonitorController ()

Protected Member Functions

bool terminating ()
 returns the terminating flag

Protected Attributes

auto_ptr< MonitorBasemonitor_
 The monitor object.
CIAO::TargetManagerImpl_var target_impl_cmp_
 The TargetManagerImpl object.
Deployment::TargetManager_var target_facet_i_
 The TargetManager Facet ....
bool terminate_flag_
 The terminate flag_.
ACE_SYNCH_MUTEX lock_
 Thread Mutex for synchronizing call.
CORBA::ORB_ptr orb_
::Deployment::Domain initial_domain_
 The initial domain.
::CIAO::NodeManager_Impl_Basenode_mgr_
 The Node Manager.
bool monitor_cpu_usage_
 Flag tells ; what to monitor.
bool add_component_pid_
 To add component pid or not ..

Detailed Description

The Controller class.

Acts as a facade to the Monitor module


Constructor & Destructor Documentation

CIAO::MonitorController::MonitorController ( CORBA::ORB_ptr  orb,
::Deployment::Domain domain,
::Deployment::TargetManager_ptr  target,
::CIAO::NodeManager_Impl_Base node_mgr 
)

The Constructor.

CIAO::MonitorController::~MonitorController (  ) 


Member Function Documentation

int CIAO::MonitorController::svc ( void   )  [virtual]

The main function containing the entire activity.

This function runs in the context of the thread

Returns:
int The status of the function

Reimplemented from ACE_Task_Base.

void CIAO::MonitorController::terminate (  ) 

The terminate function.

This function is called to terminate the thread

bool CIAO::MonitorController::terminating (  )  [protected]

returns the terminating flag

Returns:
bool The terminating state of the thread


Member Data Documentation

bool CIAO::MonitorController::add_component_pid_ [protected]

To add component pid or not ..

::Deployment::Domain CIAO::MonitorController::initial_domain_ [protected]

The initial domain.

ACE_SYNCH_MUTEX CIAO::MonitorController::lock_ [protected]

Thread Mutex for synchronizing call.

auto_ptr<MonitorBase> CIAO::MonitorController::monitor_ [protected]

The monitor object.

bool CIAO::MonitorController::monitor_cpu_usage_ [protected]

Flag tells ; what to monitor.

::CIAO::NodeManager_Impl_Base* CIAO::MonitorController::node_mgr_ [protected]

The Node Manager.

CORBA::ORB_ptr CIAO::MonitorController::orb_ [protected]

the ORB pointer ..

Todo:
Make this a _var

Deployment::TargetManager_var CIAO::MonitorController::target_facet_i_ [protected]

The TargetManager Facet ....

CIAO::TargetManagerImpl_var CIAO::MonitorController::target_impl_cmp_ [protected]

The TargetManagerImpl object.

bool CIAO::MonitorController::terminate_flag_ [protected]

The terminate flag_.


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 23:47:01 2007 for DAnCE by  doxygen 1.4.7-1