45 virtual int work(
Worker& worker, uint32_t size,
const void* data) = 0;
70 bool schedule(uint32_t size,
const void* data);
76 bool respond(uint32_t size,
const void* data);
virtual int work(Worker &worker, uint32_t size, const void *data)=0
virtual int work_response(uint32_t size, const void *data)=0
PBD::RingBuffer< uint8_t > * _requests
PBD::RingBuffer< uint8_t > * _responses
Worker(Workee *workee, uint32_t ring_size, bool threaded=true)
void set_synchronous(bool synchronous)
bool schedule(uint32_t size, const void *data)
bool verify_message_completeness(PBD::RingBuffer< uint8_t > *rb)
bool respond(uint32_t size, const void *data)