Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2017-01-04 20:07:12 +0000
committerHenrik Rentz-Reichert2017-01-09 16:41:16 +0000
commit9b02d5a62ea41136b46b744f7b2c1cf50f30a888 (patch)
treed7473847da1a9e3a470195f384f62322b48057db /tests/org.eclipse.etrice.runtime.cpp.tests/src/messaging/MessageDispatcherTest.h
parentb8fd69cd558c0673971bcdaea495131bc4d7cd82 (diff)
downloadorg.eclipse.etrice-9b02d5a62ea41136b46b744f7b2c1cf50f30a888.tar.gz
org.eclipse.etrice-9b02d5a62ea41136b46b744f7b2c1cf50f30a888.tar.xz
org.eclipse.etrice-9b02d5a62ea41136b46b744f7b2c1cf50f30a888.zip
Bug 509875 - [runtime.cpp] replace STL containers with own containers that are more light weight
* replaced streaming code with (s)printf constructs * added String, Vector, Set, Pair and Map with tests * using new String class in * Address * Message * MSCFilter * MSCLogger * RTObject * and affected classes * using new Vector class in * RTObject * MSCLogger * MessageServiceController * ReplicatedActorClassBase * ReplicatedInterfaceItemBase * and affected classes * using new Set class in * MessageDispatcher * using new Map class in * SubSystemClassBase * DebuggingService * adjusted cpp generator Change-Id: I9c91289057185e6e36b9453ecf03f6f6d3834ec6
Diffstat (limited to 'tests/org.eclipse.etrice.runtime.cpp.tests/src/messaging/MessageDispatcherTest.h')
-rw-r--r--tests/org.eclipse.etrice.runtime.cpp.tests/src/messaging/MessageDispatcherTest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.etrice.runtime.cpp.tests/src/messaging/MessageDispatcherTest.h b/tests/org.eclipse.etrice.runtime.cpp.tests/src/messaging/MessageDispatcherTest.h
index 072eb4f35..beab56e2a 100644
--- a/tests/org.eclipse.etrice.runtime.cpp.tests/src/messaging/MessageDispatcherTest.h
+++ b/tests/org.eclipse.etrice.runtime.cpp.tests/src/messaging/MessageDispatcherTest.h
@@ -34,9 +34,9 @@ protected:
class SimpleMessageReceiver: public etRuntime::RTObject,
public etRuntime::IMessageReceiver {
public:
- SimpleMessageReceiver(IRTObject *parent, const std::string& name,
+ SimpleMessageReceiver(IRTObject *parent, const etRuntime::String& name,
const etRuntime::Address& address) :
- RTObject(parent, name), m_address(address), m_lastMessage(NULL) {
+ RTObject(parent, name), m_address(address), m_lastMessage(NULL) {
}
void receive(const etRuntime::Message* msg) {

Back to the top