Exemplo n.º 1
0
// Now getting a message.  This is actually a part message, with the first
// part (the subsystem) already parsed off.
int DebugOsc_ReceiveMessage( int channel, char* message, int length )
{
  return Osc_IntReceiverHelper( channel, message, length, 
                                DebugOsc_Name,
                                DebugOsc_PropertySet, DebugOsc_PropertyGet, 
                                DebugOsc_PropertyNames );
}
Exemplo n.º 2
0
// Now getting a message.  This is actually a part message, with the first
// part (the subsystem) already parsed off.
int LedOsc_ReceiveMessage( int channel, char* message, int length )
{
  int status = Osc_IntReceiverHelper( channel, message, length, 
                                LedOsc_Name,
                                LedOsc_PropertySet, LedOsc_PropertyGet, 
                                LedOsc_PropertyNames );

  if ( status != CONTROLLER_OK )
    Osc_SendError( channel, LedOsc_Name, status );
  return CONTROLLER_OK;
}
Exemplo n.º 3
0
// Now getting a message.  This is actually a part message, with the first
// part (the subsystem) already parsed off.
int SerialOsc_ReceiveMessage( int channel, char* message, int length )
{
    int status = Osc_IntReceiverHelper( channel, message, length,
                                        SerialOsc_Name,
                                        SerialOsc_IntPropertySet, SerialOsc_IntPropertyGet,
                                        SerialOsc_IntPropertyNames );

    if ( status != CONTROLLER_OK )
        status = Osc_BlobReceiverHelper( channel, message, length,
                                         SerialOsc_Name,
                                         SerialOsc_BlobPropertySet, SerialOsc_BlobPropertyGet,
                                         SerialOsc_BlobPropertyNames );

    if ( status != CONTROLLER_OK )
        return Osc_SendError( channel, SerialOsc_Name, status );
    return CONTROLLER_OK;
}