src/GraphExecutor/DataFlowExecutor_DynInvoke.hxx

Go to the documentation of this file.
00001 //  SUPERV GraphExecutor : contains classes that permit execution of graphs and particularly the execution automaton
00002 //
00003 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
00005 // 
00006 //  This library is free software; you can redistribute it and/or 
00007 //  modify it under the terms of the GNU Lesser General Public 
00008 //  License as published by the Free Software Foundation; either 
00009 //  version 2.1 of the License. 
00010 // 
00011 //  This library is distributed in the hope that it will be useful, 
00012 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
00013 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00014 //  Lesser General Public License for more details. 
00015 // 
00016 //  You should have received a copy of the GNU Lesser General Public 
00017 //  License along with this library; if not, write to the Free Software 
00018 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
00019 // 
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 //
00023 //
00024 //  File   : DataFlowExecutor_DynInvoke.hxx
00025 //  Module : SUPERV
00026 
00027 #ifndef _DATAFLOWEXECUTOR_DYNINVOKE_
00028 #define _DATAFLOWEXECUTOR_DYNINVOKE_
00029 
00030 #include <SALOMEconfig.h>
00031 //#include CORBA_CLIENT_HEADER(SALOME_Component)
00032 //#include CORBA_CLIENT_HEADER(SUPERV)
00033 #include  <string>
00034 
00035 struct ServicesAnyData {
00036 
00037   string Name;
00038   CORBA::Any Value;
00039 
00040 };
00041 
00042 
00043 // dynamic call for function with list of in parameters, followed 
00044 // by out parameters with no return value
00045 
00046 void DynInvoke(Engines::Component_ptr obj,
00047             const char *method, 
00048             ServicesAnyData * inParams, int nInParams,
00049             ServicesAnyData * inParams, int nOutParams);
00050 void DynInvoke(Engines::Component_ptr obj,
00051             const char *method, 
00052             const char * aGraphName ,
00053             const char * aNodeName );
00054 
00055 #endif