Skip to content

Commit

Permalink
Merge pull request #1116 from IKhonakhbeeva/generation
Browse files Browse the repository at this point in the history
Fix problem with trik sensors code generation
  • Loading branch information
iakov committed Sep 24, 2020
1 parent a0b25e8 commit e4af6a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -75,6 +75,11 @@ TrikGeneratorFactory::~TrikGeneratorFactory()
{
}

void TrikGeneratorFactory::initDeviceVariables()
{
mDeviceVariables.reset(new trik::parts::TrikDeviceVariables());
}

AbstractSimpleGenerator *TrikGeneratorFactory::simpleGenerator(const qReal::Id &id
, GeneratorCustomizer &customizer)
{
Expand Down
Expand Up @@ -34,6 +34,7 @@ class TrikGeneratorFactory : public generatorBase::GeneratorFactoryBase
, generatorBase::GeneratorCustomizer &customizer) override;

QStringList pathsToTemplates() const override;
void initDeviceVariables() override;

private:
const QStringList mPathsToTemplates;
Expand Down

0 comments on commit e4af6a7

Please sign in to comment.