This class profides static data related to CiA profiles. This includes profile-specific convenience operations and constants. Names must be escaped using Utils::escape(). More...
#include <profiles.h>
Public Types | |
using | Operation = std::function< Value(Device &, const Value &)> |
Type of a convenience operation. Takes reference to device and a Value typed argument. Ignore, if you don't need it. Returns Value. Just return Value() if you don't need it. | |
Static Public Attributes | |
static const std::map < uint16_t, std::map < std::string, const Operation > > | operations |
Convenience operations for CiA profiles. Type: map < profile number , map < operation name , operation function object > > | |
static const std::map < uint16_t, std::map < std::string, const Value > > | constants |
Constants for CiA profiles. Type: map < profile number , map < operation name , constant value > > | |
This class profides static data related to CiA profiles. This includes profile-specific convenience operations and constants. Names must be escaped using Utils::escape().
Definition at line 47 of file profiles.h.