modm API documentation
|
Public Member Functions | |
virtual void | update () |
virtual void | sendPacket (const xpcc::Header &header, modm::SmartPointer payload=modm::SmartPointer ()) |
Send a Message. | |
virtual bool | isPacketAvailable () const |
Check if a new packet was received by the backend. | |
virtual const xpcc::Header & | getPacketHeader () const |
Access the packet. | |
virtual const modm::SmartPointer | getPacketPayload () const |
virtual void | dropPacket () |
Public Attributes | |
modm::LinkedList< Message > | messagesSend |
Messages send by the dispatcher via sendPacket. | |
modm::LinkedList< Message > | messagesToReceive |
modm::LinkedList<Message> FakeBackend::messagesToReceive |
Messages which should be received. isPacketAvailable(), getPacketHeader(), getPacketPayload() and dropPacket() operate on this list.