Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/modelbase/ReplicatedInterfaceItemBase.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.cpp/src/common/modelbase/ReplicatedInterfaceItemBase.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/modelbase/ReplicatedInterfaceItemBase.h b/runtime/org.eclipse.etrice.runtime.cpp/src/common/modelbase/ReplicatedInterfaceItemBase.h
index 4738382da..bf1447154 100644
--- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/modelbase/ReplicatedInterfaceItemBase.h
+++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/modelbase/ReplicatedInterfaceItemBase.h
@@ -15,9 +15,8 @@
#include "common/modelbase/IInterfaceItemOwner.h"
#include "common/modelbase/InterfaceItemBase.h"
#include "common/modelbase/IReplicatedInterfaceItem.h"
-#include <queue>
-#include <string>
-#include <vector>
+#include "common/containers/String.h"
+#include "common/containers/Vector.h"
namespace etRuntime {
@@ -45,23 +44,23 @@ public:
virtual IEventReceiver* getEventReceiver() const;
virtual IReplicatedInterfaceItem* getSystemPort() const;
- std::string toString() const;
+ String toString() const;
virtual IInterfaceItem* connectWith(IInterfaceItem* peer);
protected:
- ReplicatedInterfaceItemBase(IInterfaceItemOwner* owner, const std::string& name, int localId);
+ ReplicatedInterfaceItemBase(IInterfaceItemOwner* owner, const String& name, int localId);
- std::vector<InterfaceItemBase*>& getItems() {
+ Vector<InterfaceItemBase*>& getItems() {
return m_items;
}
- virtual InterfaceItemBase* createInterfaceItem(IInterfaceItemOwner* rcv, const std::string& name, int lid, int idx) = 0;
+ virtual InterfaceItemBase* createInterfaceItem(IInterfaceItemOwner* rcv, const String& name, int lid, int idx) = 0;
private:
int m_localId;
- std::vector<InterfaceItemBase*> m_items;
- std::queue<int> m_releasedIndices;
+ Vector<InterfaceItemBase*> m_items;
+ Vector<int> m_releasedIndices;
int getFreeIndex();

Back to the top