This is a package of interfaces used for connecting new components to %SALOME application. It also contains a set of interfaces used
for management of %MED component in %SALOME application.
*/
+
module Engines
{
interface Component ;
+ enum ContainerType { Undefined , Cpp , Python } ;
+
/*! \brief Interface of the %Container
This interface defines the process of loading and registration
of new components in %SALOME application
*/
+
+ interface Container ;
+
+ typedef sequence<Container> ListOfContainers ;
+
+ typedef sequence<Component> ListOfComponents ;
+
interface Container
{
/*!
\param ContainerName Name of the container
\return an initialized container
*/
- Container start_impl( in string ContainerName ) ;
+ Container start_impl( in string ContainerName , in Engines::ContainerType aContainerType ) ;
/*!
Loads into the container a new component, registers it and starts it's CORBA servant.
*/
void ping();
+/*!
+ Determines whether the type of container (C++ or Python).
+*/
+
+ Engines::ContainerType type();
/*!
Name of the %container
*/