]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/CORBAComponent.cxx
Salome HOME
Modification of API of ComponentInstance::load to give information of which node...
[modules/yacs.git] / src / runtime / CORBAComponent.cxx
index 93c265121fbafd0cc92136b4c7ed025b22d70eb4..538eebe146b9cd048ebfde1a03d3dcadbd1eed2c 100644 (file)
@@ -69,7 +69,7 @@ std::string CORBAComponent::getKind() const
 }
 
 //! Unload the component 
-void CORBAComponent::unload()
+void CORBAComponent::unload(ServiceNode *askingNode)
 {
   //Not implemented
   std::cerr << "CORBAComponent::unload : not implemented " << std::endl;
@@ -84,7 +84,7 @@ CORBA::Object_ptr CORBAComponent::getCompoPtr()
 }
 
 //! Is the component instance already loaded ?
-bool CORBAComponent::isLoaded()
+bool CORBAComponent::isLoaded(ServiceNode *askingNode)
 {
   if(CORBA::is_nil(_objComponent))
     return false;
@@ -93,7 +93,7 @@ bool CORBAComponent::isLoaded()
 }
 
 //! Load the component 
-void CORBAComponent::load()
+void CORBAComponent::load(ServiceNode *askingNode)
 {
   DEBTRACE( "CORBAComponent::load" );
   CORBA::ORB_ptr orb;