src/experiments/k4/K4GUI/src/mycommands.cc
int SendMessage(YAPOCMessage out_msg)
{
    outCommandPort.Content() = out_msg;
    outCommandPort.Write();
    
    printf("Sending command type = %d\n ",out_msg.type);
  

  return 1;
  }
/* utility function for sending command to the output port */
utility function for sending command to the output port
utility function for sending command to the output port
int SendMessage(YAPOCMessage out_msg)
{
    outCommandPort.Content() = out_msg;
    outCommandPort.Write();
    printf("Sending command type = %d\n ",out_msg.type);
  return 1;
  }
int SendMessage ( YAPOCMessage out_msg ) { outCommandPort . Content ( ) = out_msg ; outCommandPort . Write ( ) ; printf ( " \n " , out_msg . type ) ; return 1 ; }
utility function for sending command to the output port
utility function for sending command to the output port