Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.xtend11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.xtend b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.xtend
index a742a7db4..f97c69698 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.xtend
@@ -43,7 +43,7 @@ class ActorClassGen extends GenericActorClassGenerator {
}
}
- def generateHeaderFile(Root root, ExpandedActorClass xpac, ActorClass ac) {
+ def private generateHeaderFile(Root root, ExpandedActorClass xpac, ActorClass ac) {
val ctor = ac.operations.filter(op|op.constructor).head
val dtor = ac.operations.filter(op|op.destructor).head
@@ -149,7 +149,7 @@ class ActorClassGen extends GenericActorClassGenerator {
«generateIncludeGuardEnd(ac.name)»
'''
}
- def generateConstructorInitalizerList(ActorClass ac) {
+ def private generateConstructorInitalizerList(ActorClass ac) {
var initializerList = new ArrayList<CharSequence>();
if (ac.base==null) {
initializerList.add('''ActorClassBase( parent, name, port_addr[0][0], peer_addr[0][0])''')
@@ -179,7 +179,7 @@ class ActorClassGen extends GenericActorClassGenerator {
}
- def generateSourceFile(Root root, ExpandedActorClass xpac, ActorClass ac) {
+ def private generateSourceFile(Root root, ExpandedActorClass xpac, ActorClass ac) {
val ctor = ac.operations.filter(op|op.constructor).head
val dtor = ac.operations.filter(op|op.destructor).head
val async = xpac.actorClass.commType==ActorCommunicationType::ASYNCHRONOUS
@@ -195,11 +195,6 @@ class ActorClassGen extends GenericActorClassGenerator {
#include "«ac.getCppHeaderFileName»"
#include "common/debugging/DebuggingService.h"
#include <iostream>
- «IF GeneratorOptions::useEtUnit»
- extern "C" {
- #include "etUnit.h"
- }
- «ENDIF»
using namespace etRuntime;

Back to the top