#include <string>
+#if defined WNT && defined COMMUNICATION_EXPORTS
+#define COMMUNICATION_EXPORT __declspec( dllexport )
+#else
+#define COMMUNICATION_EXPORT
+#endif
-class MultiCommException {
+class COMMUNICATION_EXPORT MultiCommException {
private:
std::string _message;
public:
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_Comm)
+#if defined WNT && defined COMMUNICATION_EXPORTS
+#define COMMUNICATION_EXPORT __declspec( dllexport )
+#else
+#define COMMUNICATION_EXPORT
+#endif
+
/*!
Class is designed to ease the use of multi communication.\n
Simply inherite from it your servant class you want to emit data with senders.
*/
-class SALOMEMultiComm : public virtual POA_SALOME::MultiCommClass {
+class COMMUNICATION_EXPORT SALOMEMultiComm : public virtual POA_SALOME::MultiCommClass {
protected:
SALOME::TypeOfCommunication _type;
public:
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_Comm)
+#if defined WNT && defined COMMUNICATION_EXPORTS
+#define COMMUNICATION_EXPORT __declspec( dllexport )
+#else
+#define COMMUNICATION_EXPORT
+#endif
+
class SALOMEMultiComm;
class SALOME_SenderDouble_i;
/*!
This class implements the factory pattern of GoF by making a sender by giving an array and a communicator.It completely hides the type of sender from the user.
*/
-class SenderFactory
+class COMMUNICATION_EXPORT SenderFactory
{
public:
static SALOME::SenderDouble_ptr buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab=false) throw(MultiCommException);
PortableServer::POAManager_var pman = root_poa->the_POAManager();
// add new container to the kill list
+#ifndef WNT
char aCommand[40];
sprintf(aCommand, "addToKillList.py %d SALOME_Container", getpid());
system(aCommand);
+#endif
Engines_Container_i * myContainer
= new Engines_Container_i(orb, root_poa, containerName , argc , argv );