modm API documentation
Inheritance diagram for FakeBackend:
xpcc::BackendInterface

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::HeadergetPacketHeader () const
 Access the packet.
 
virtual const modm::SmartPointer getPacketPayload () const
 
virtual void dropPacket ()
 

Public Attributes

modm::LinkedList< MessagemessagesSend
 Messages send by the dispatcher via sendPacket.
 
modm::LinkedList< MessagemessagesToReceive
 

Member Data Documentation

modm::LinkedList<Message> FakeBackend::messagesToReceive

Messages which should be received. isPacketAvailable(), getPacketHeader(), getPacketPayload() and dropPacket() operate on this list.


The documentation for this class was generated from the following files: