COSA
An Object-Oriented Platform for Arduino Programming
|
#include <Registry.hh>
Public Member Functions | |
virtual int | run (void *buf, size_t size)=0 |
Registry Action handler. Must be sub-classed and the virtual member function run() must be implemented. Called after lookup by apply().
Definition at line 203 of file Registry.hh.
|
pure virtual |
Registry action function for given registry item. Should return number of bytes in buffer as return value or negative error code (EINVAL if illegal parameter, ENXIO if no object defined).
[in,out] | buf | pointer to parameter block. |
[in] | size | of parameter block. |