1 #ifndef _SALOME_CONTAINERMANAGER_IDL_
2 #define _SALOME_CONTAINERMANAGER_IDL_
4 #include "SALOME_Exception.idl"
5 #include "SALOME_Component.idl"
11 Type to describe properties of wanted resource.
13 struct MachineParameters
15 string container_name;
20 long nb_proc_per_node;
26 Type to transmit list of machines.
28 typedef sequence<string> MachineList;
31 exception thrown if a computer is not found in the catalog
33 exception NotFound {};
36 /*! \brief Interface of the %containerManager
37 This interface is used for interaction with the unique instance
40 interface ContainerManager
42 Container FindOrStartContainer( in MachineParameters params,
43 in MachineList possibleComputers);
45 string FindBest(in MachineList possibleComputers);
47 MachineList GetFittingResources( in MachineParameters params,
48 in string componentName )
49 raises (SALOME::SALOME_Exception);
53 void ShutdownContainers();