Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Karlitschek2012-08-24 09:46:15 +0000
committerPeter Karlitschek2012-08-24 09:46:15 +0000
commit679e0c2c17c0044448910fcf16359fd9d38693da (patch)
treeea8ed1984703c4644dc486bda63c5f1096df4f2a /runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Message.cpp
parent3aade696859d47a9fc454b32dd8a3a91752aa03c (diff)
downloadorg.eclipse.etrice-679e0c2c17c0044448910fcf16359fd9d38693da.tar.gz
org.eclipse.etrice-679e0c2c17c0044448910fcf16359fd9d38693da.tar.xz
org.eclipse.etrice-679e0c2c17c0044448910fcf16359fd9d38693da.zip
cpp runtime continued
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Message.cpp')
-rw-r--r--runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Message.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Message.cpp b/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Message.cpp
index bec6d7708..708de7f2b 100644
--- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Message.cpp
+++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Message.cpp
@@ -7,11 +7,19 @@
#include "Message.h"
+#include <sstream>
+
namespace etRuntime {
Message::~Message() {
- // TODO Auto-generated destructor stub
+ m_next = 0;
+}
+
+std::string Message::toString(){
+ std::stringstream strm;
+ strm << "Message(" << m_address.toString() << ")";
+ return strm.str();
}
} /* namespace etRuntime */

Back to the top