1 #ifndef __SALOMECONTAINER_HXX__
2 #define __SALOMECONTAINER_HXX__
4 #include "Container.hxx"
6 #include <SALOMEconfig.h>
7 #include CORBA_CLIENT_HEADER(SALOME_Component)
13 class SalomeComponent;
15 class SalomeContainer : public Container
17 friend class SalomeComponent;
20 SalomeContainer(const SalomeContainer& other);
21 //! For thread safety for concurrent load operation on same Container.
23 //! For thread safety for concurrent load operation on same Container.
25 bool isAlreadyStarted() const;
26 void start() throw (Exception);
27 Container *clone() const;
28 std::string getPlacementId() const;
29 void checkCapabilityToDealWith(const ComponentInstance *inst) const throw (Exception);
31 virtual ~SalomeContainer();
33 //! thread safety in Salome ???
34 YACS::BASES::Mutex _mutex;
35 Engines::Container_var _trueCont;