summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h
diff options
context:
space:
mode:
authorjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-27 21:52:30 +0000
committerjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-27 21:52:30 +0000
commitf1a3999132792d4406ef66a05d32f50b3467f5e8 (patch)
tree972fc3c24a5bfac7371966379f7523ed586d1985 /CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h
parenta2cb0a3103b204d1bda236318a71ac4169c14804 (diff)
downloadATCD-f1a3999132792d4406ef66a05d32f50b3467f5e8.tar.gz
ChangeLogTag: Tue Feb 27 21:35:17 UTC 2007 Jaiganesh B <jai.dre.vanderbilt.edu>
Diffstat (limited to 'CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h')
-rw-r--r--CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h39
1 files changed, 34 insertions, 5 deletions
diff --git a/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h b/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h
index 918dbb1d860..58da8b7948c 100644
--- a/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h
+++ b/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h
@@ -21,6 +21,9 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "DAnCE/Deployment/Deployment_CoreC.h"
+#include "Config_Manager.h"
+#include "ace/DLL.h"
+#include "ace/Auto_Ptr.h"
namespace CIAO
{
@@ -35,36 +38,62 @@ namespace CIAO
class NodeApp_Configurator
{
public:
+
+ /// Default constructor.
+ NodeApp_Configurator (void);
+
/// Default destructor.
- virtual ~NodeApp_Configurator (void) {}
+ virtual ~NodeApp_Configurator (void);
/**
* @brief "pre_orb_initialize" is called before ORB_init.
*/
- virtual int pre_orb_initialize (void) = 0;
+ virtual int pre_orb_initialize (void);
/**
* @brief "post_orb_initialize" is called after NodeApplication
* get a hold at this object.
*/
- virtual int post_orb_initialize (CORBA::ORB_ptr o) = 0;
+ virtual int post_orb_initialize (CORBA::ORB_ptr o);
/**
* @brief "init_resource_manager" is called by NodeApplication when
* it receives an "install" commands.
*/
virtual int
- init_resource_manager (const ::Deployment::Properties &properties) = 0;
+ init_resource_manager (const ::Deployment::Properties &properties);
/**
* @brief get a policyset by its name.
*/
virtual CORBA::PolicyList *
- find_container_policies (const ::Deployment::Properties &properties) = 0;
+ find_container_policies (const ::Deployment::Properties &properties);
/// @@ Perhaps we also need a finalizer method here. Perhaps we
/// even need to differentiate finalizer before ORB is destroyed
/// and the one after that.
+
+ void set_rt_support (void);
+
+ int create_config_managers (void);
+
+ bool
+ policy_exists (const char *policy_set_id);
+
+ CORBA::PolicyList *
+ find_policies_by_name (const char *name);
+
+ protected:
+
+ int rt_support_;
+
+ CORBA::ORB_var orb_;
+
+ auto_ptr<Config_Manager> rt_config_manager_;
+
+ auto_ptr<Config_Manager> na_config_manager_;
+
+ ACE_DLL config_dll_;
};
}