diff options
Diffstat (limited to 'examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c')
-rw-r--r-- | examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c new file mode 100644 index 000000000..b613131cc --- /dev/null +++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c @@ -0,0 +1,49 @@ +/** + * @author generated by eTrice + * + * this class contains the main function running component RemoveCommentSubSys + * it instantiates RemoveCommentSubSys and starts and ends the lifecycle + */ + + +#include "RemoveCommentSubSys.h" + +#include "debugging/etLogger.h" +#include "debugging/etMSCLogger.h" +#include "platform/etPlatform.h" + + +/** + * main function + * creates component and starts and stops the lifecycle + */ + +int main(void) { + etUserEntry(); /* platform specific */ + + etLogger_logInfo("*** T H E B E G I N ***"); + ET_MSC_LOGGER_OPEN("main"); + + /* startup sequence of lifecycle */ + RemoveCommentSubSys_init(); /* lifecycle init */ + RemoveCommentSubSys_start(); /* lifecycle start */ + + etUserPreRun(); /* platform specific */ + + /* run Scheduler */ + RemoveCommentSubSys_run(); + + etUserPostRun(); /* platform specific */ + + /* shutdown sequence of lifecycle */ + RemoveCommentSubSys_stop(); /* lifecycle stop */ + RemoveCommentSubSys_destroy(); /* lifecycle destroy */ + + ET_MSC_LOGGER_CLOSE + etLogger_logInfo("*** T H E E N D ***"); + + etUserExit(); /* platform specific */ + + return 0; +} + |