Back to index

salome-kernel  6.5.0
Public Member Functions
Engines::ResourcesManager Interface Reference

Interface of the resourcesManager This interface is used for interaction with the unique instance of ResourcesManager. More...

import "SALOME_ContainerManager.idl";

List of all members.

Public Member Functions

string FindFirst (in ResourceList possibleResources)
 Find first available resource in a resources list.
string Find (in string policy, in ResourceList possibleResources)
 Find best available computer according to policy in a computers list.
ResourceList GetFittingResources (in ResourceParameters params) raises (SALOME::SALOME_Exception)
 Get a list of resources that are best suited to launch a container given constraints.
ResourceDefinition GetResourceDefinition (in string name)
 Get definition of a resource.
void AddResource (in ResourceDefinition new_resource, in boolean write, in string xml_file) raises (SALOME::SALOME_Exception)
 Add a new resource to the resource_manager.
void RemoveResource (in string resource_name, in boolean write, in string xml_file) raises (SALOME::SALOME_Exception)
 Remove a new resource to the resource_manager.

Detailed Description

Interface of the resourcesManager This interface is used for interaction with the unique instance of ResourcesManager.

Definition at line 261 of file SALOME_ContainerManager.idl.


Member Function Documentation

void Engines::ResourcesManager::AddResource ( in ResourceDefinition  new_resource,
in boolean  write,
in string  xml_file 
) raises (SALOME::SALOME_Exception)

Add a new resource to the resource_manager.

write -> true, resource manager will add it into a xml_file xml_file -> could be empty, in this case if write is true, resource manager will write the resource in its first ResourceCatalog file

string Engines::ResourcesManager::Find ( in string  policy,
in ResourceList  possibleResources 
)

Find best available computer according to policy in a computers list.

string Engines::ResourcesManager::FindFirst ( in ResourceList  possibleResources)

Find first available resource in a resources list.

Get a list of resources that are best suited to launch a container given constraints.

The constraints are resource constraints (params) and components constraints (componentList)

Get definition of a resource.

void Engines::ResourcesManager::RemoveResource ( in string  resource_name,
in boolean  write,
in string  xml_file 
) raises (SALOME::SALOME_Exception)

Remove a new resource to the resource_manager.

write -> true, resource manager will write a new xml_file xml_file -> could be empty, in this case if write is true, resource manager will write the resource in its first ResourceCatalog file


The documentation for this interface was generated from the following file: