diff options
Diffstat (limited to 'examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h')
-rw-r--r-- | examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h new file mode 100644 index 000000000..ba606608f --- /dev/null +++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h @@ -0,0 +1,76 @@ +/** + * @author generated by eTrice + * + * Instance File of SubSystemClass RemoveCommentSubSys + * - instantiation of all actor instances and port instances + * - configuration of data and connection of ports + */ + +#include "messaging/etMessageService.h" +#include "platform/etMemory.h" + +/* instantiation of message services */ + +/* MessageService for Thread1 */ +static uint8 msgBuffer_Thread1[MESSAGE_POOL_MAX*MESSAGE_BLOCK_SIZE]; +static etMessageService msgService_Thread1; + + +/* include all used ActorClasses */ +#include "ATop.h" +#include "ACParser.h" +#include "AFileReader.h" + +/* include all used ProtcolClasses */ +#include "FileReaderProtocol.h" + + +/* declarations of all ActorClass instances (const and variable structs) */ + +/* forward declaration of variable actor structs */ +static ATop _RemoveCommentSubSys_Topref; +static AFileReader _RemoveCommentSubSys_Topref_reader; +static ACParser _RemoveCommentSubSys_Topref_cParser; + +/* forward declaration of variable port structs */ +/*nothing to do */ + + +/* instance _RemoveCommentSubSys_Topref */ +/* no ports/saps/services - nothing to initialize statically */ + +/* instance _RemoveCommentSubSys_Topref_reader */ +static const AFileReader_const _RemoveCommentSubSys_Topref_reader_const = { + /* Ports: {varData, msgService, peerAddress, localId} */ + {0,&msgService_Thread1, 105, 1} /* Port outPort */ + + /* data receive ports */ +}; +static AFileReader _RemoveCommentSubSys_Topref_reader = { + &_RemoveCommentSubSys_Topref_reader_const, + + /* data send ports */ + + /* attributes */ + 0, + + /* state and history are initialized in init fuction */ +}; + +/* instance _RemoveCommentSubSys_Topref_cParser */ +static const ACParser_const _RemoveCommentSubSys_Topref_cParser_const = { + /* Ports: {varData, msgService, peerAddress, localId} */ + {0,&msgService_Thread1, 103, 1} /* Port readerPort */ + + /* data receive ports */ +}; +static ACParser _RemoveCommentSubSys_Topref_cParser = { + &_RemoveCommentSubSys_Topref_cParser_const, + + /* data send ports */ + + /* attributes */ + + /* state and history are initialized in init fuction */ +}; + |