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

Public Member Functions

 TestingComponent1 (xpcc::Dispatcher &communication, Timeline &timeline)
 
void update ()
 
void actionNoParameter (const xpcc::ResponseHandle &handle)
 
void actionUint16 (const xpcc::ResponseHandle &handle, const uint16_t *parameter)
 
void actionDirectResponse (const xpcc::ResponseHandle &handle)
 
void actionDelayedResponse (const xpcc::ResponseHandle &handle)
 
void actionUint16CallAction (const xpcc::ResponseHandle &handle, const uint16_t *parameter)
 
void eventNoParameter (const xpcc::Header &header)
 
void eventUint32 (const xpcc::Header &header, const uint32_t *parameter)
 
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: