diff options
author | Ansgar Radermacher | 2015-06-09 08:26:19 +0000 |
---|---|---|
committer | Ansgar Radermacher | 2015-06-09 08:29:04 +0000 |
commit | 7e138d091f8c26cd16668618a4555b0ff4fd8058 (patch) | |
tree | 863b4254bf2c0baff7afb2e3821824169228a50a /extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceOTF.mtl | |
parent | 57717e9e3c920df737d09ac04e30eb241142b5c6 (diff) | |
download | org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.tar.gz org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.tar.xz org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.zip |
469617 - [QDesigner] code generation for tracing is broken (since relying on Acceleo templates)
Diffstat (limited to 'extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceOTF.mtl')
-rw-r--r-- | extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceOTF.mtl | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceOTF.mtl b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceOTF.mtl deleted file mode 100644 index a581265528c..00000000000 --- a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceOTF.mtl +++ /dev/null @@ -1,28 +0,0 @@ -[module traceOTF('http://www.eclipse.org/uml2/5.0.0/UML')/] - -[import org::eclipse::papyrus::qompass::designer::core::acceleo::UMLTool/] -[import org::eclipse::papyrus::qompass::designer::core::acceleo::utils_cpp/] - -[template public traceOp(operation: Operation)] - -// <instance>_<port>_<operation> -// easier: <component>_<port>_<operation> -updateTimestamp (); -if (!hasDeclaredFunctions) { - declareFunctions(); - hasDeclaredFunctions = true; -} -Tracing::TraceInit::wait(); -int processID = Tracing::TraceInit::getProcessID(); -OTF_Writer * writer = Tracing::TraceInit::getWriter(); -OTF_Writer_writeEnter (writer, timestamp.ticks(), <%enumSvcPrefix%>::id_<%owner.varName%>_<%varName%>, processID, 0); -OTF_Writer_writeEventComment (writer, timestamp.ticks(), processID, portName); -OTF_Writer_writeEventComment (writer, timestamp.ticks(), processID, instanceName); -Tracing::TraceInit::post(); -[if not (type = null)] [type.cppType()/] ret = [/if]rconn->[operation.cppCall()/]; -updateTimestamp (); -Tracing::TraceInit::wait(); -OTF_Writer_writeLeave (writer, timestamp.ticks(), <%enumSvcPrefix%>::id_<%owner.varName%>_<%varName%>, processID, 0); -Tracing::TraceInit::post(); -[if not (type = null)] return ret;[/if] -[/template]
\ No newline at end of file |