diff options
author | seibelr <seibelr@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-24 22:12:20 +0000 |
---|---|---|
committer | seibelr <seibelr@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-24 22:12:20 +0000 |
commit | 47b676670dc9373bc77af80388e0b51e36134738 (patch) | |
tree | aacce0809279e1d142e7b196a84ff10dfbdae4d0 /CIAO/DAnCE/NodeManager/MonitorCB.h | |
parent | 3dd4e2fe6c64de3a9db04757eade78d764b578f1 (diff) | |
download | ATCD-GH5_0port.tar.gz |
Added the ACE and TAO for this branchGH5_0port
Diffstat (limited to 'CIAO/DAnCE/NodeManager/MonitorCB.h')
-rw-r--r-- | CIAO/DAnCE/NodeManager/MonitorCB.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/CIAO/DAnCE/NodeManager/MonitorCB.h b/CIAO/DAnCE/NodeManager/MonitorCB.h deleted file mode 100644 index 66cb25db287..00000000000 --- a/CIAO/DAnCE/NodeManager/MonitorCB.h +++ /dev/null @@ -1,74 +0,0 @@ -// $Id$ -//============================================================== -/** - * @file MonitorCB.h - * - * @brief The Monitor Callback Function - * - * This class updates data back to the Target Manager - * - * @author Nilabja Roy <nilabjar.vanderbilt.edu> -*/ -//============================================================== - -#ifndef MONITOR_CBH -#define MONITOR_CBH - -#include "TargetManagerC.h" - - - -/** - * @namespace CIAO - * - * @brief The top level CIAO namespace - * - */ - -namespace CIAO -{ - /** - * @class MonitorCB - * - * @brief Updates data back to the TM. - * - */ - - class MonitorCB - { - public: - /** - * @constructor - * @param _orb The ORB pointer - * @param The TargetManager reference - * @param interval The time interval to sent update - */ - MonitorCB (CORBA::ORB_ptr _orb,Deployment::TargetManager_ptr,int interval); - /** - * @function update_data - * @param data Contains the updated Domain data - * @return int indicates success. - * @description This function is called by the monitor to - * update Domain data, which is then sent to - * TM. - */ - int update_data (::Deployment::Domain& data); - private: - /// The ORB pointer - CORBA::ORB_ptr orb_; - - /// The Target Manager pointer to send back the - /// update - ::Deployment::TargetManager_ptr target_mgr_; - - /// The interval after which updates need to be send - int interval_; - - }; - - /// The Callback function pointer - typedef int (MonitorCB::*CallBack) (::Deployment::Domain &); - -} // CIAO namespace - -#endif /* MONITOR_CBH */ |