Class CVSSVDGenerator#

Inheritance Relationships#

Base Types#

Class Documentation#

class CVSSVDGenerator : public CCodeGeneratorBase, private CVSSHelper#

Basic Service generator.

Public Functions

inline CVSSVDGenerator(const std::vector<SSignalVDDefinition> &signals, const std::filesystem::path &rpathOutputDir, const std::string &rsPrefix, const std::string &rsVersion, const bool enableComponentCreation)#

Constructor.

Parameters:
  • signals[in] Reference to a vector containing all signals

  • rpathOutputDir[in] Reference to the outpur directory.

  • rsPrefix[in] used by cmake library and signal definition in signal_identifier.h file

  • rsVersion[in] optional version tag, will be wriiten in header of the files

  • enableComponentCreation[in] optional version tag, will be wriiten in header of the files

bool GeneratedCode()#

Auto generate the Files.

Returns:

true on success, otherwise false