using namespace CORBA ;
-
+#define DynInvokeTrace 0
void GraphExecutor::InNode::DynInvoke(Engines::Component_ptr objComponent ,
const char *method ,
ServicesAnyData * inParams , int nInParams ,
ArgName = inParams[i].Name.c_str() ;
Type = data.type()->kind() ;
arguments->add_value( ArgName , data , CORBA::ARG_IN ) ;
-#if 0
+#if DynInvokeTrace
switch ( Type ) {
case CORBA::tk_string : {
char * t ;
ArgName = outParams[i].Name.c_str() ;
Type = data.type()->kind() ;
arguments->add_value( ArgName , data , CORBA::ARG_OUT ) ;
-#if 0
+#if DynInvokeTrace
switch ( Type ) {
case CORBA::tk_string : {
char * t ;
#endif
}
-#define SendEventTrace 0
+#define SendEventTrace 1
int GraphExecutor::InNode::SendEvent( const GraphExecutor::NodeEvent anEvent ) {
_CurrentEvent = (GraphExecutor::NodeEvent ) anEvent ;
}
-#define ActionsTrace 0
+#define ActionsTrace 1
// ReadyAction - RunningAction - DoneAction - SuspendedAction :
// for StateWait( ReadyW - RunningW - DoneW - SuspendedW )
void GraphExecutor::InNode::ReadyAction() {
return 1;
}
-#define SomeDataReadyActionTrace 0
+#define SomeDataReadyActionTrace 1
int GraphExecutor::InNode::DataWaiting_SomeDataReadyAction() {
#if SomeDataReadyActionTrace
cdebug_in << pthread_self() << "/" << ThreadNo() << " " << Name()
}
-#define TraceDataReadyAction 0
+#define TraceDataReadyAction 1
int GraphExecutor::InNode::DataUndef_NotAllDataReadyAction() {
//JR 15.04.2005 Debug PAL8624 RetroConception :
// CreateNewThreadIf( false ) ;
#include <CORBA.h>
-#define TraceDataReady_ExecuteAction 0
+#define TraceDataReady_ExecuteAction 1
int GraphExecutor::InNode::DataReady_ExecuteAction() {
#if TraceDataReady_ExecuteAction
return 1 ;
}
-#define SetWaitingStatesTrace 0
+#define SetWaitingStatesTrace 1
// Set SUPERV::WaitingState to all InPorts
void GraphExecutor::InNode::SetWaitingStates(GraphExecutor::InNode * EndNode ) {
int i ;
}
}
-#define SuccessActionTrace 0
+#define SuccessActionTrace 1
//JR Step B
int GraphExecutor::InNode::Successed_SuccessAction() {
#if SuccessActionTrace
return 1 ;
}
-#define SendSomeDataReadyTrace 0
+#define SendSomeDataReadyTrace 1
bool GraphExecutor::InNode::SendSomeDataReady( char * FromNodeName ) {
bool RetVal = false ;
if ( IsDataFlowNode() ) {
return 1 ;
}
-#define InParametersSetTrace 0
+#define InParametersSetTrace 1
void GraphExecutor::InNode::InParametersSet( bool & Err ,
int nInParams ,
ServicesAnyData * InParametersList ) {
}
}
-#define OutParametersSetTrace 0
+#define OutParametersSetTrace 1
bool GraphExecutor::InNode::OutParametersSet( bool Err ,
SUPERV::GraphState PortState ,
int nOutParams ,