| 
    modm API documentation
    
   | 
 
#include </tmp/tmpdtzkzmgn/stm32f217zgt6/modm-test/src/modm-test/communication/xpcc/fake_postman.hpp>
  
 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< Message > | messagesToDeliver | 
| TestingComponent1 * | component1 | 
| must be created external!  | |
| TestingComponent2 * | component2 | 
| must be created external!  | |
      
  | 
  virtual | 
Check if a component is available on this board.
| component | Id of the component | 
true if the postman is available to delivier messages to the given component, false otherwise. Implements xpcc::Postman.