caremoli [Fri, 22 May 2009 08:53:41 +0000 (08:53 +0000)]
CCAR: add automatic management of GenericObj in study.
If a GenericObj id publish in study, its reference count must be incremented (call to Register()).
When it is unpublished, its reference count must be decremented (call to Destroy()).
This was not done when calling SetValue on a AttributeIOR so if someone manages
GenericObj in the right way, the references in study could be lost.
caremoli [Mon, 18 May 2009 17:11:32 +0000 (17:11 +0000)]
CCAR: add a python module for automatic management of genericobj
reference counting.
The module is not active by default.
It must be imported to activate the automatic reference counting
ouv [Wed, 6 May 2009 13:08:35 +0000 (13:08 +0000)]
Improvement of "setenv.py" script - setting of custom enviroment by those modules, which have it, is performed by their own "<module_name>_setenv.py" scripts situated in their "bin" folders.
CCAR: several changes in Container Manager and Resources Manager
1- remove unused members in MachineParameters, keep only members for requests
the members removed are : alias, protocol, username, applipath, mpiImpl, batch
2- remove the enum policy which is replaced by a new member in MachineParameters (policy)
3- add a new member computerList in MachineParameters structure to specify a list of machines
in a request to Container Manager
3- remove no more used parameters (policy, possibleComputers, componentList
in FindOrStartContainer, FindOrStarParallelContainer, StartContainer,
GiveContainer and GetFittingResources. These operations now take only
one argument : a MachineParameters structure.
4- adapt LifeCycle to these changes
CCAR:
1- add mode member to MachineParameters. This string member can be "start" or "get" or "getorstart"
if mode=="start" a new container is launched on each request.
if mode=="get" an old container with the requested parameters is used if it exists.
if mode=="getorstart" an old container is used or a new one if the old one does not exist.
2- add policy member to MachineParameters. This string member replaces the enum policy argument
of GiveContainer and StartContainer. This argument is left for compatibility but will be removed soon.
3- replace LoadRateManager methods by three objects. These objects are referenced in a map (_resourceManagerMap)
that can be extended without changing IDL interface.
4- add a Find method to ResourceManager IDL for testing purpose.
CCAR:
1- add a new type MachineDefinition in ContainerManager idl
to separate machine definition parameters and machine parameters for requests
to container manager (MachineParameters)
2- in Resource manager replace module by component. Selection of a resource is now
done with a component name and no more with a module name.
Now in CatalogResource.xml, we can specify for a resource that it supports
a list of components or modules.
Syntax for a component is:
<component name="xxxx" moduleName="yyy" />
Syntax for a module is:
<modules moduleName="yyyy"/>
When a module is added, a component with the same name is also added.
CCAR:
1- execute python script files (runSalome -u) in globals and not in globals,locals
as it was done before
2- don't use obsolete omniORB initref form in runRemote.sh
3- put _narrow (SALOMEDS_Study_i.cxx) into a try catch : _narrow can throw CORBA::Exception
caremoli [Fri, 13 Feb 2009 10:43:51 +0000 (10:43 +0000)]
CCAR: documentation update
Now user documentation is built in gui/KERNEL directory
and developer documentation is built in tui/KERNEL directory
They are installed in directories with same names (so GUI module must be changed to access it)
Old documentation files have been removed and new files have been added in gui and tui
directories except .dox files in salome directory.
Example files have been moved to salome/examples directory
User documentation is built with EXTRACT_ALL=NO doxygen option and no template parsing
to produce a smaller doc. Many source files have been modified to add descriptions (brief,
class, module, file) because of EXTRACT_ALL option.