modm API documentation

A adapter class which can be obtained from a AbstractComponent. More...

#include <modm/communication/xpcc/communicator.hpp>

Inheritance diagram for xpcc::Communicator:
xpcc::Communicatable

Public Member Functions

uint8_t getIdentifier () const
 
void callAction (uint8_t receiver, uint8_t actionIdentifier)
 
void callAction (uint8_t receiver, uint8_t actionIdentifier, ResponseCallback &responseCallback)
 
template<typename T >
void callAction (uint8_t receiver, uint8_t actionIdentifier, const T &data)
 
template<typename T >
void callAction (uint8_t receiver, uint8_t actionIdentifier, const T &data, ResponseCallback &responseCallback)
 
void publishEvent (uint8_t eventIdentifier)
 
template<typename T >
void publishEvent (uint8_t eventIdentifier, const T &data)
 
void sendResponse (const ResponseHandle &handle)
 
template<typename T >
void sendResponse (const ResponseHandle &handle, const T &data)
 
template<typename T >
void sendNegativeResponse (const ResponseHandle &handle, const T &data)
 
void sendNegativeResponse (const ResponseHandle &handle)
 

Friends

class AbstractComponent
 

Detailed Description

A adapter class which can be obtained from a AbstractComponent.

Use it to enable communication for a group of classes. The component identifier will be taken from the AbstractComponent.

This class is just a forwarder to the Dispatcher like AbstractComponent it also does.


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