KaCanOpen
 All Classes Functions Variables Typedefs Enumerations Pages
Public Types | Static Public Attributes | List of all members
kaco::Profiles Struct Reference

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>

Collaboration diagram for kaco::Profiles:
Collaboration graph
[legend]

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 > >
 

Detailed Description

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.


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