CIAO::CIAO_Monitor Class Reference

The Monitor class. More...

#include <CIAO_Monitor.h>

Inheritance diagram for CIAO::CIAO_Monitor:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CIAO_Monitor ()
virtual int initialize_params (::Deployment::Domain &domain,::Deployment::TargetManager_ptr target_manager, int interval)
virtual ~CIAO_Monitor ()
 The Desctructor.
int start (CORBA::ORB_ptr orb)
int stop ()
::Deployment::Domainget_current_data ()

Protected Attributes

::Deployment::TargetManager_ptr target_ptr_
 The TargetManager Object to be sent to the RSSSubscriber ..
int interval_
 The interval after which update is to be returned.
auto_ptr< Deployment::Domaincurrent_domain_
 The Domain data structure.
long prev_user_cpu_
 The previous user cpu.
long prev_user_cpu_low_
 The previous user cpu low priority.
long prev_sys_cpu_
 The previous system cpu.
long prev_idle_time_
 The previous idle time.


Detailed Description

The Monitor class.

Constructor & Destructor Documentation

CIAO::CIAO_Monitor::CIAO_Monitor (  ) 

Constructor

CIAO::CIAO_Monitor::~CIAO_Monitor (  )  [virtual]

The Desctructor.

Destructor


Member Function Documentation

int CIAO::CIAO_Monitor::initialize_params ( ::Deployment::Domain domain,
::Deployment::TargetManager_ptr  target_manager,
int  interval 
) [virtual]

This function is called by the controller to initialize parameters.

Parameters:
domain The Initial Domain for this host
target_manager TargetManager_ptr
interval The time interval after whic updates need to be send.

Implements CIAO::MonitorBase.

int CIAO::CIAO_Monitor::start ( CORBA::ORB_ptr  orb  )  [virtual]

This method will starts up the Monitor in this case,

Parameters:
orb The orb needed for resolving.
Returns:
-1 on error

Implements CIAO::MonitorBase.

int CIAO::CIAO_Monitor::stop (  )  [virtual]

This method will stop the Monitor in this case

Returns:
-1 on error

Implements CIAO::MonitorBase.

Deployment::Domain * CIAO::CIAO_Monitor::get_current_data (  )  [virtual]

This function retrieves the current Domain data

Returns:
-1 on error

Implements CIAO::MonitorBase.


Member Data Documentation

::Deployment::TargetManager_ptr CIAO::CIAO_Monitor::target_ptr_ [protected]

The TargetManager Object to be sent to the RSSSubscriber ..

The interval after which update is to be returned.

The Domain data structure.

The previous user cpu.

The previous user cpu low priority.

The previous system cpu.

The previous idle time.


The documentation for this class was generated from the following files:

Generated on Wed Apr 23 04:22:09 2008 for DAnCE by  doxygen 1.5.5