DAnCE
..
|
#include <ResourceCommitmentManager.h>
Public Member Functions | |
ResourceCommitmentManager_i (void) | |
Constructor. | |
virtual | ~ResourceCommitmentManager_i (void) |
Destructor. | |
virtual void | commitResources (const ::Deployment::ResourceAllocations &resources) |
Commits the resources. | |
virtual void | releaseResources (const ::Deployment::ResourceAllocations &resources) |
Private Member Functions | |
void | add_to_committed_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. | |
DAnCE::ResourceCommitmentManager_i::ResourceCommitmentManager_i | ( | void | ) |
Constructor.
|
virtual |
Destructor.
|
private |
This function adds the res to already commited resources. This is to be called from within commitResources.
|
virtual |
Commits the resources.
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
|
virtual |
|
private |
The commited resource.