1 // SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : DataFlowBase_StreamGraph.hxx
8 // Author : Jean Rahuel
12 #ifndef _DATAFLOWBASE_STREAMGRAPH_HXX
13 #define _DATAFLOWBASE_STREAMGRAPH_HXX
15 #include "DataFlowBase_Graph.hxx"
19 class StreamGraph : public Graph {
24 // The name is the name of the graph
26 SUPERV::KindOfDataStreamTrace _DataStreamTrace ;
29 // Total number of SubStreamGraphs
30 int _SubStreamGraphsNumber ;
38 StreamGraph( CORBA::ORB_ptr ORB ,
39 SALOME_NamingService* ptrNamingService ,
40 const char * DataFlowName ,
41 int * Graph_prof_debug ,
42 ofstream * Graph_fdebug ) ;
44 StreamGraph( CORBA::ORB_ptr ORB ,
45 SALOME_NamingService * ptrNamingService ,
46 const SALOME_ModuleCatalog::Service & DataFlowService ,
47 const char * DataFlowComponentName ,
48 const char * DataFlowInterfaceName ,
49 const char * DataFlowName ,
50 const SUPERV::KindOfNode DataFlowkind ,
51 const SUPERV::SDate DataFlowFirstCreation ,
52 const SUPERV::SDate DataFlowLastModification ,
53 const char * DataFlowEditorRelease ,
54 const char * DataFlowAuthor ,
55 const char * DataFlowComputer ,
56 const char * DataFlowComment ,
57 int * Graph_prof_debug ,
58 ofstream * Graph_fdebug ) ;
62 bool SetStreamParams( const long Timeout ,
63 const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
64 const double DeltaTime ) ;
65 void StreamParams( long & Timeout ,
66 SUPERV::KindOfDataStreamTrace & DataStreamTrace ,
67 double & DeltaTime ) const ;
69 bool CreateStreamTopology( const char * aDirectory ) ;
71 void SubStreamGraphsNumber( int SubStreamGraphsNumber ) {
72 _SubStreamGraphsNumber = SubStreamGraphsNumber ; } ;
73 long SubStreamGraphsNumber() const {
74 return _SubStreamGraphsNumber ; } ;
80 ostream & operator<< (ostream &,const SUPERV::KindOfDataStreamTrace &);