* Standard Constructor for generic Component, used in derived class
* Connection to Registry and Notification
* \param orb Object Request broker given by Container
- * \parap poa Portable Object Adapter from Container (normally root_poa)
+ * \param poa Portable Object Adapter from Container (normally root_poa)
* \param contId container CORBA id inside the server
* \param instanceName unique instance name for this object (see Container_i)
* \param interfaceName component class name
* Standard constructor for parallel component
* Connection Notification (no connection to Registry !)
* \param orb Object Request broker given by Container
- * \parap poa Portable Object Adapter from Container (normally root_poa)
+ * \param poa Portable Object Adapter from Container (normally root_poa)
* \param contId container CORBA id inside the server
* \param instanceName unique instance name for this object (see Container_i)
* \param interfaceName component class name
#define CONTAINER_EXPORT
#endif
-#endif
\ No newline at end of file
+#endif
+
#define MODULECATALOG_EXPORT
#endif
-#endif
\ No newline at end of file
+#endif
+
* number of processors.
* If the NamingService is out, the exception ServiceUnreachable is thrown.
* \param hostname name of the machine on which the component is searched.
- * \param containername name of the container in which the component is
+ * \param containerName name of the container in which the component is
instanciated.
- * \param componentname name of the component we are looking for an existing
+ * \param componentName name of the component we are looking for an existing
instance.
* \param nbproc in case of multi processor machine, container name is
* suffixed with _nbproc.
* Build a string representing the absolute pathname of a container in
* SALOME_NamingService. This form gives a suffixed containerName in case of
* multi processor machine.
- * \param params struct from which we get container name (may be
- * empty), number of nodes and number of processor
- * per node.
+ * \param containerName name of the container in which the component is
+ instanciated.
* \param hostname name of the host of the container, without domain names.
* \return the path under the form /Containers/hostname/containerName
* \sa ContainerName(const Engines::MachineParameters& params)
* \param splitPath
* \param lengthResult
* \param contextToFind
- * \param _notFound
+ * \param notFound
*/
// ============================================================================
_builder->SetOnAddSObject(NULL);
_builder->SetOnRemoveSObject(NULL);
}
-}
\ No newline at end of file
+}
#define SALOMELOCALTRACE_EXPORT
#endif
-#endif
\ No newline at end of file
+#endif
+
MESSAGE("activate object");
_thisObj = this ;
_id = _poa->activate_object(_thisObj);
- SCRUTE(_pd_refCount);
+ //does not work with 4.0.6 (too bad)
+ //SCRUTE(_pd_refCount);
+ //SCRUTE(_refcount_value());
}
Engines_TestComponent_i::Engines_TestComponent_i()
{
char s[100];
sprintf(s, "TestComponent_i : L = %ld", (long) L);
- SCRUTE(_pd_refCount);
+ //does not work with 4.0.6 (too bad)
+ //SCRUTE(_pd_refCount);
+ //SCRUTE(_refcount_value());
return CORBA::string_dup(s);
}