Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/IRTObject.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/IRTObject.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/IRTObject.h b/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/IRTObject.h
index e7168c948..8553052d6 100644
--- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/IRTObject.h
+++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/IRTObject.h
@@ -1,9 +1,14 @@
-/*
- * IRTObject.h
+/*******************************************************************************
+ * Copyright (c) 2012 Draeger Medical GmbH (http://www.draeger.com).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
*
- * Created on: 16.08.2012
- * Author: karlitsc
- */
+ * CONTRIBUTORS:
+ * Peter Karlitschek (initial contribution)
+ *
+ *******************************************************************************/
#ifndef IRTOBJECT_H_
#define IRTOBJECT_H_
@@ -21,8 +26,8 @@ public:
static const char PATHNAME_DELIM = '_';
static const std::string NO_NAME;
- virtual std::string getInstancePath() const = 0;
- virtual std::string getInstancePathName() const = 0;
+ virtual const std::string& getInstancePath() const = 0;
+ virtual const std::string& getInstancePathName() const = 0;
};
}

Back to the top