modm API documentation

#include </tmp/tmp69zux5ln/stm32f048t6y6/modm-test/src/modm-test/communication/xpcc/fake_postman.hpp>

Inheritance diagram for FakePostman:
xpcc::Postman

Public Types

enum  DeliverInfo {
  OK = 0, ERROR, NO_COMPONENT, NO_ACTION,
  WRONG_ACTION_PARAMETER, NO_EVENT, WRONG_EVENT_PARAMETER, NOT_IMPLEMENTED_YET_ERROR
}
 

Public Member Functions

virtual DeliverInfo deliverPacket (const xpcc::Header &header, const modm::SmartPointer &payload)
 
virtual bool isComponentAvailable (uint8_t component) const
 Check if a component is available on this board. More...
 

Public Attributes

modm::LinkedList< MessagemessagesToDeliver
 
TestingComponent1component1
 must be created external!
 
TestingComponent2component2
 must be created external!
 

Detailed Description

Member Function Documentation

bool FakePostman::isComponentAvailable ( uint8_t  component) const
virtual

Check if a component is available on this board.

Parameters
componentId of the component
Returns
true if the postman is available to delivier messages to the given component, false otherwise.

Implements xpcc::Postman.


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