52 using Operation = std::function<Value(Device&,const Value&)>;
56 static const std::map<uint16_t,std::map<std::string,const Operation>>
operations;
60 static const std::map<uint16_t,std::map<std::string,const Value>>
constants;
64 static const bool debug =
false;
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 ...
This class profides static data related to CiA profiles. This includes profile-specific convenience o...
std::function< Value(Device &, const Value &)> Operation
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 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 > > ...