|
TeensyNanoExoCode
|
Functions | |
| BleMessage | pop () |
| Pop a message off of the FIFO queue. | |
| void | push (BleMessage *msg) |
| Put a message on the FIFO queue. | |
| int | size () |
| Check the size of the FIFO queue. | |
| int | check_for (BleMessage msg) |
| Search the queue for a matching message. | |
| void | clear () |
| Forcibly empty the queue. | |
| int ble_queue::check_for | ( | BleMessage | msg | ) |
Search the queue for a matching message.
| msg | Message to search for. |
| void ble_queue::clear | ( | ) |
Forcibly empty the queue.
| BleMessage ble_queue::pop | ( | ) |
Pop a message off of the FIFO queue.
| void ble_queue::push | ( | BleMessage * | msg | ) |
Put a message on the FIFO queue.
| msg | Pointer to message you would like to place on the queue. You do not need to maintain the lifetime of msg. |
| int ble_queue::size | ( | ) |
Check the size of the FIFO queue.