Skip to content

Commit

Permalink
Add generation date/time and include guards
Browse files Browse the repository at this point in the history
  • Loading branch information
dziegel committed Jan 25, 2024
1 parent 1f9d1cc commit 1fd5155
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 1 deletion.
1 change: 1 addition & 0 deletions generator/src/generator/Declaration.egl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Statemachine [%=statemachine.name%] declaration
// Generated: [%=new Native("java.text.SimpleDateFormat").format(new Native("java.util.Date"))%]

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion generator/src/generator/Generator.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static void main(String[] args) throws Exception {
scxml.load();
scxml_module.getContext().getModelRepository().addModel(scxml);
scxml_module.getContext().setUserInput(new UserInput());

System.out.println("Generating SCXML model " + filename + " to " + out_path);

scxml_module.execute();
Expand Down
3 changes: 3 additions & 0 deletions generator/src/generator/Instance.egl
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Statemachine [%=statemachine.name%] instance
// Generated: [%=new Native("java.text.SimpleDateFormat").format(new Native("java.util.Date"))%]

#pragma once

// Override the following defines according to your needs if you are not using cpp_event_framework:

Expand Down
5 changes: 5 additions & 0 deletions generator/src/generator/Interface.egl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Statemachine [%=statemachine.name%] implementation interface
// Generated: [%=new Native("java.text.SimpleDateFormat").format(new Native("java.util.Date"))%]

#pragma once

class I[%=statemachine.name%]Impl
{
public:
Expand Down
5 changes: 5 additions & 0 deletions test/generated/IScXmlTestImpl.hxx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Statemachine ScXmlTest implementation interface
// Generated: 25.01.24, 21:47

#pragma once

class IScXmlTestImpl
{
public:
Expand Down
5 changes: 5 additions & 0 deletions test/generated/IXmiTestImpl.hxx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Statemachine XmiTest implementation interface
// Generated: 25.01.24, 21:47

#pragma once

class IXmiTestImpl
{
public:
Expand Down
1 change: 1 addition & 0 deletions test/generated/ScXmlTestDeclaration.hxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Statemachine ScXmlTest declaration
// Generated: 25.01.24, 21:47

#pragma once

Expand Down
3 changes: 3 additions & 0 deletions test/generated/ScXmlTestInstance.hxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Statemachine ScXmlTest instance
// Generated: 25.01.24, 21:47

#pragma once

// Override the following defines according to your needs if you are not using cpp_event_framework:

Expand Down
1 change: 1 addition & 0 deletions test/generated/XmiTestDeclaration.hxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Statemachine XmiTest declaration
// Generated: 25.01.24, 21:47

#pragma once

Expand Down
3 changes: 3 additions & 0 deletions test/generated/XmiTestInstance.hxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Statemachine XmiTest instance
// Generated: 25.01.24, 21:47

#pragma once

// Override the following defines according to your needs if you are not using cpp_event_framework:

Expand Down

0 comments on commit 1fd5155

Please sign in to comment.