Class CVSSBSGenerator#
Defined in File vss_bs_generator.h
Inheritance Relationships#
Base Types#
public CCodeGeneratorBase
(Class CCodeGeneratorBase)private CVSSHelper
(Class CVSSHelper)
Class Documentation#
-
class CVSSBSGenerator : public CCodeGeneratorBase, private CVSSHelper#
Basic Service generator.
Public Functions
-
inline CVSSBSGenerator(const std::vector<SSignalBSDefinition> &signals, const std::vector<SSignalVDDefinition> &signalsVD, 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 (basic services)
signalsVD – [in] Reference to a vector containing all signals (vehicle device)
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
-
inline CVSSBSGenerator(const std::vector<SSignalBSDefinition> &signals, const std::vector<SSignalVDDefinition> &signalsVD, const std::filesystem::path &rpathOutputDir, const std::string &rsPrefix, const std::string &rsVersion, const bool enableComponentCreation)#