// SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
//
-// Copyright (C) 2003 CEA/DEN, EDF R&D
-//
-//
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// File : CNode_Impl.hxx
// Author : Jean Rahuel
// Module : SUPERV
-// $Header:
#ifndef _CNODE_IMPL_HXX_
#define _CNODE_IMPL_HXX_
const char * NodeName = NULLSTRING ,
const SUPERV::KindOfNode NodeKindOfNode = SUPERV::ComputingNode ,
const char * aFuncName = NULLSTRING ,
- const SUPERV::ListOfStrings & aPythonFunction = SUPERV::ListOfStrings() ) ;
+ const SUPERV::ListOfStrings & aPythonFunction = SUPERV::ListOfStrings() ,
+ bool isCimpl = true ) ; // mkr : PAL11273 : C++ implementation by default
CNode_Impl( CORBA::ORB_ptr orb ,
PortableServer::POA_ptr poa ,
PortableServer::ObjectId * contId ,
}
} ;
- virtual void Coords( const long X , const long Y ) ;
- virtual long X() ;
- virtual long Y() ;
+ virtual void Coords( CORBA::Long X , CORBA::Long Y ) ;
+ virtual CORBA::Long X() ;
+ virtual CORBA::Long Y() ;
virtual SUPERV::Port_ptr Port( const char * aParameterName ) ;
virtual bool IsFlowMacro() ;
virtual bool IsStreamMacro() ;
virtual bool IsHeadGraph() ;
- virtual long GraphLevel() ;
+ virtual CORBA::Long GraphLevel() ;
virtual bool IsComputing() ;
virtual bool IsFactory() ;
virtual bool IsInLine() ;
virtual bool IsSwitch() ;
virtual bool IsEndSwitch() ;
- virtual long SubGraph() ;
- virtual long SubStreamGraph() ;
+ virtual CORBA::Long SubGraph() ;
+ virtual CORBA::Long SubStreamGraph() ;
- virtual bool IsLinked(const char * ToServiceParameterName ) ;
+ // mkr : PAL8060 : this method is not used
+ //virtual bool IsLinked(const char * ToServiceParameterName ) ;
virtual bool HasInput(const char * ToServiceParameterName ) ;
// virtual SUPERV::Link_ptr GetLink(const char * ToServiceParameterName ) ;
virtual SUPERV::ControlState Control() ;
virtual void ControlClear() ;
- virtual long Thread() ;
+ virtual CORBA::Long Thread() ;
GraphExecutor::AutomatonState AutoState() ;
virtual bool SuspendDone() ;
virtual bool Resume() ;
- virtual bool Run() ;
- virtual bool ReRun() ;
- virtual bool ReRunAt( const char * aNodeName ) ;
- virtual bool ReStart() ;
- virtual bool ReStartAt( const char * aNodeName ) ;
-
- virtual long CpuUsed() ;
+ virtual CORBA::Long CpuUsed() ;
- virtual bool IsExecuting();
+ virtual CORBA::Boolean IsExecuting();
} ;