modm API documentation
TestingComponent2 Class Reference
Inheritance diagram for TestingComponent2:
xpcc::AbstractComponent xpcc::Communicatable

Public Member Functions

 TestingComponent2 (xpcc::Dispatcher &communication, Timeline &timeline)
 
void update ()
 
void actionNoParameter (const xpcc::ResponseHandle &handle)
 
void actionUint16 (const xpcc::ResponseHandle &handle, const uint16_t *parameter)
 
void eventNoParameter (const xpcc::Header &header)
 
void responseNoParameter (const xpcc::Header &header)
 
void responseUint16 (const xpcc::Header &header, const uint16_t *parameter)
 
void responseCallAction (const xpcc::Header &header)
 
xpcc::CommunicatorgetCommunicator ()
 
void update (...)
 Update method. More...
 

Protected Member Functions

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)
 
template<typename T >
void sendNegativeResponse (const ResponseHandle &handle, const T &data)
 
void sendNegativeResponse (const ResponseHandle &handle)
 
void sendResponse (const ResponseHandle &handle)
 
template<typename T >
void sendResponse (const ResponseHandle &handle, const T &data)
 

Member Function Documentation

void xpcc::AbstractComponent::update (   ...)
inherited

Update method.

A component can feature an update method which might be called on every cycle of the main loop.

This method is used in our robot to implement the behaviour of the component. All other methods set some flags which are then evaluated by a statemachine here.


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