#include <ResourceCommitmentManager.h>
Public Member Functions | |
ResourceCommitmentManager_i (void) | |
virtual | ~ResourceCommitmentManager_i (void) |
virtual void | commitResources (const ::Deployment::ResourceAllocations &resources) |
Commits the resources. | |
virtual void | releaseResources (const ::Deployment::ResourceAllocations &resources) |
Private Member Functions | |
int | add_to_commited_resource (::Deployment::ResourceAllocations res) |
This function adds the res to already commited resources. This is to be called from within commitResources. | |
Private Attributes | |
::Deployment::ResourceAllocations | resources_ |
The commited resource. |
CIAO::ResourceCommitmentManager_i::ResourceCommitmentManager_i | ( | void | ) |
CIAO::ResourceCommitmentManager_i::~ResourceCommitmentManager_i | ( | void | ) | [virtual] |
void CIAO::ResourceCommitmentManager_i::commitResources | ( | const ::Deployment::ResourceAllocations & | resources | ) | [virtual] |
Commits the resources.
commitResources This function makes a call to the DomainDataManager in order to commit the resources mentioned in the ResourceAllocation sequence. If the resource cannot be allocated throws a ResourceCommitmentFailed exception
void CIAO::ResourceCommitmentManager_i::releaseResources | ( | const ::Deployment::ResourceAllocations & | resources | ) | [virtual] |
int CIAO::ResourceCommitmentManager_i::add_to_commited_resource | ( | ::Deployment::ResourceAllocations | res | ) | [private] |
This function adds the res to already commited resources. This is to be called from within commitResources.
add_to_commited_resource
The commited resource.