DAnCE  ..
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DAnCE::ResourceCommitmentManager_i Class Reference

#include <ResourceCommitmentManager.h>

Inheritance diagram for DAnCE::ResourceCommitmentManager_i:
Inheritance graph
Collaboration diagram for DAnCE::ResourceCommitmentManager_i:
Collaboration graph

Public Member Functions

 ResourceCommitmentManager_i (void)
 Constructor. More...
 
virtual ~ResourceCommitmentManager_i (void)
 Destructor. More...
 
virtual void commitResources (const ::Deployment::ResourceAllocations &resources)
 Commits the resources. More...
 
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. More...
 

Private Attributes

::Deployment::ResourceAllocations resources_
 The commited resource. More...
 

Constructor & Destructor Documentation

DAnCE::ResourceCommitmentManager_i::ResourceCommitmentManager_i ( void  )

Constructor.

DAnCE::ResourceCommitmentManager_i::~ResourceCommitmentManager_i ( void  )
virtual

Destructor.

Member Function Documentation

void DAnCE::ResourceCommitmentManager_i::add_to_committed_resource ( ::Deployment::ResourceAllocations  res)
private

This function adds the res to already commited resources. This is to be called from within commitResources.

void DAnCE::ResourceCommitmentManager_i::commitResources ( const ::Deployment::ResourceAllocations resources)
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

void DAnCE::ResourceCommitmentManager_i::releaseResources ( const ::Deployment::ResourceAllocations resources)
virtual

Member Data Documentation

::Deployment::ResourceAllocations DAnCE::ResourceCommitmentManager_i::resources_
private

The commited resource.


The documentation for this class was generated from the following files: