Class CCanDataLinkGen#
Defined in File can_dl.h
Inheritance Relationships#
Base Type#
public CCodeGeneratorBase
(Class CCodeGeneratorBase)
Class Documentation#
-
class CCanDataLinkGen : public CCodeGeneratorBase#
CAN data link generator class.
Public Functions
-
CCanDataLinkGen(const std::filesystem::path &rpathOutputDir, const dbc::CDbcParser &rparser, const std::string &rssVersion, const std::string &rssIfcName, size_t nIfcIdx, const std::vector<std::string> &rvecNodes)#
Constructor.
- Parameters:
rpathOutputDir – [in] Reference to the outpur directory.
rparser – [in] Reference to the DBC parser containing the definitions.
rssVersion – [in] Reference to a string representing a version of the dbc file (could be empty).
rssIfcName – [in] Reference to the string holding the interface name (could be empty).
nIfcIdx – [in] The interface index (valid if no name is provided).
rvecNodes – [in] Reference to a list of nodes this data link object is representing. An empty list will implement sending and receiving functions for all nodes.
-
CCanDataLinkGen(const std::filesystem::path &rpathOutputDir, const dbc::CDbcParser &rparser, const std::string &rssVersion, const std::string &rssIfcName, size_t nIfcIdx, const std::vector<std::string> &rvecNodes)#