#include <DomainDataManager.h>
Collaboration diagram for CIAO::DomainDataManager:
Public Member Functions | |
int | update_domain (const ::CORBA::StringSeq &elements, const ::Deployment::Domain &domainSubset,::Deployment::DomainUpdateKind updateKind) |
This function is called by the other classes to update current domain data. | |
::Deployment::Domain * | get_initial_domain () |
This function is called the Executor code to get the Original Domain data. | |
::Deployment::Domain * | get_current_domain () |
This function is called the Executor code to get the Current Domain data. | |
DomainDataManager (CORBA::ORB_ptr orb,::Deployment::TargetManager_ptr target) | |
Protected Member Functions | |
int | readin_domain_data () |
It will read the initial Domain data from XML files. | |
int | call_all_node_managers () |
This function calls all NM and gives them the sub-domain. | |
Protected Attributes | |
CORBA::ORB_var | orb_ |
The ORB pointer. | |
CIAO::Deployment_Configuration | deployment_config_ |
The Deployment Configuration. | |
::Deployment::Domain | initial_domain_ |
::Deployment::Domain | current_domain_ |
::Deployment::TargetManager_var | target_mgr_ |
The Target Manager Context. |
It maintains both the Current Domain Information as well as the Initial domain at full capacity.
|
Constructor
|
|
This function calls all NM and gives them the sub-domain. call_all_node_managers |
|
This function is called the Executor code to get the Current Domain data. getCurrentDomain
|
|
This function is called the Executor code to get the Original Domain data. getInitialDomain
|
|
It will read the initial Domain data from XML files. readinDomainData |
|
This function is called by the other classes to update current domain data. updateDomain
|
|
The Current Domain - contains resources at current capacity |
|
The Deployment Configuration.
|
|
The Initial Domain - contains resources at total capacity |
|
The ORB pointer.
|
|
The Target Manager Context.
|