18#ifndef MBED_OPERATION_LIST_BASE_H
19#define MBED_OPERATION_LIST_BASE_H
21#include "usb/internal/LinkedListBase.h"
Base class for asynchronous operations in the USB stack.
void process()
Process the operation list.
bool empty()
Check if the list is empty.
void remove(AsyncOp *op)
Remove an operation from the list.
void remove_all()
Abort all operations.
OperationListBase()
Create a new empty operation list.
void add(AsyncOp *op)
Add an operation to the list.
AsyncOp * dequeue_raw()
Dequeue the head of the list.
~OperationListBase()
Destroy this object and abort all operations.