SALOME documentation central

Engines::ContainerManager Interface Reference

Interface of the containerManager This interface is used for interaction with the unique instance of ContainerManager. More...

Public Member Functions

Container FindOrStartContainer (in MachineParameters params)
 Find an existing container satisfying the constraints given by input parameters or start a new one.
Container StartParallelContainer (in MachineParameters params)
 This operation launches a PaCO++ container.
Container StartContainer (in MachineParameters params)
 Start a new container satisfying the constraints given by input parameters.
Container GiveContainer (in MachineParameters params)
 Same as StartContainer except that in batch all containers have already been launched.
void ShutdownContainers ()
 Shutdown all containers that have been launched by the container manager.

Detailed Description

Interface of the containerManager This interface is used for interaction with the unique instance of ContainerManager.


Member Function Documentation

Container Engines::ContainerManager::FindOrStartContainer ( in MachineParameters  params  ) 

Find an existing container satisfying the constraints given by input parameters or start a new one.

Container Engines::ContainerManager::StartParallelContainer ( in MachineParameters  params  ) 

This operation launches a PaCO++ container.

Parameters:
Description of the container resquested.
List of computers ressources.
Returns:
Container's CORBA reference.
Container Engines::ContainerManager::StartContainer ( in MachineParameters  params  ) 

Start a new container satisfying the constraints given by input parameters.

Container Engines::ContainerManager::GiveContainer ( in MachineParameters  params  ) 

Same as StartContainer except that in batch all containers have already been launched.

We are in batch if environment variable SALOME_BATCH is 1. In this case, containers have been launched at the beginning of the Salome session and the container manager picks one in the pool of existing containers.

void Engines::ContainerManager::ShutdownContainers (  ) 

Shutdown all containers that have been launched by the container manager.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS