//#include CORBA_SERVER_HEADER(SUPERV)
#include <SALOME_LifeCycleCORBA.hxx>
+class Graph_Impl ;
+
namespace GraphBase {
class Graph ;
}
GraphExecutor::StateEventAction _ActionTable[ GraphExecutor::NumberOfAutomatonStates ]
[ GraphExecutor::NumberOfEvents ] ;
-#if omniORB_4_0_5
- SUPERV::SuperG_var _SuperVisionComponent ;
-#endif
-
pthread_mutex_t _MutexPythonWait ;
bool _MutexPythonLocked ;
// Map between FuncName and corresponding Python Object Function
pthread_cond_t _JoinWait ;
list< pthread_t > _ThreadList ;
+ Graph_Impl * _GraphImpl ;
+
public :
FiniteStateMachine() ;
virtual ~FiniteStateMachine() {} ;
-#if omniORB_4_0_5
- void SuperVisionComponent( SUPERV::SuperG_var mySuperVision ) {
- _SuperVisionComponent = mySuperVision ; } ;
- SUPERV::SuperG_var SuperVisionComponent() {
- return _SuperVisionComponent ; } ;
-#endif
-
int ExecNumber() ;
void Executed() ;
void PyInitModule(bool) ;
const GraphExecutor::StateEventAction NextAction( const GraphExecutor::AutomatonState & aState ,
const GraphExecutor::NodeEvent & anEvent ) const {
return _ActionTable[ aState ][ anEvent ] ; } ;
+
+ void GraphImpl( Graph_Impl * aGraphImpl ) {// For GraphMNode ...
+ _GraphImpl = aGraphImpl ; } ;
+ Graph_Impl * GraphImpl() {
+ return _GraphImpl ; } ;
};
};