OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
app_pipeline.h File Reference

Detailed Description

Controls how the application modules are combined.

These #defines decouple modules from each other and enable us to unit test each module in isolation.

Go to the source code of this file.

Macros

#define PIPELINE_TRANSPORT_TX(token, command, rc, iov, iov_count)   USBTransport_SendResponse(token, command, rc, iov, iov_count);
 
#define PIPELINE_TRANSPORT_RX(data, size)   StreamDecoder_Process(data, size);
 
#define PIPELINE_HANDLE_MESSAGE(message)   MessageHandler_HandleMessage(message);
 
#define PIPELINE_LOG_WRITE(message)   USBConsole_Log(message);
 
#define PIPELINE_TRANSCEIVER_TX_EVENT(event)   MessageHandler_TransceiverEvent(event);
 
#define PIPELINE_TRANSCEIVER_RX_EVENT(event)   Responder_Receive(event);
 
#define PIPELINE_RDMRESPONDER_SEND(include_break, iov, iov_len)   Transceiver_QueueRDMResponse(include_break, iov, iov_len);