Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

FR: Add option to generate state chart interface methods as virtual methods.  #1666

Open
@terfloth

Description

@terfloth

based on a customer request (2017092037000015):

Is it currently possible to modify the C++ generation so that the inner classes for the state machine interfaces defined in the generated .h file have virtual methods? If not, could this be added in a future release? This allows mocking frameworks, such as GMock, to easily mock the state machine interfaces, which in turn allows users to easily test how their code interfaces with a state machine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions