Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/DebuggingService.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/DebuggingService.h134
1 files changed, 67 insertions, 67 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/DebuggingService.h b/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/DebuggingService.h
index 1768584b2..872eabf6c 100644
--- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/DebuggingService.h
+++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/DebuggingService.h
@@ -1,67 +1,67 @@
-/*******************************************************************************
- * 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
- *
- * CONTRIBUTORS:
- * Peter Karlitschek (initial contribution)
- *
- *******************************************************************************/
-
-#ifndef DEBUGGINGSERVICE_H_
-#define DEBUGGINGSERVICE_H_
-
-#include "common/messaging/Address.h"
-#include "common/debugging/MSCLogger.h"
-#include "common/modelbase/PortBase.h"
-#include <string>
-#include <map>
-
-namespace etRuntime {
- class ActorClassBase;
-
-
-class DebuggingService {
-private:
- static DebuggingService* s_instance;
-
-public:
- virtual ~DebuggingService();
-
- static DebuggingService& getInstance() {
- if (s_instance == 0) {
- s_instance = new DebuggingService();
- }
- return *s_instance;
- }
-
- void addMessageAsyncOut(Address source, Address target, const std::string& msg);
- void addMessageAsyncIn(Address source, Address target, const std::string& msg);
- void addMessageSyncCall(Address source, Address target, const std::string& msg);
- void addMessageSyncReturn(Address source, Address target, const std::string& msg);
- void addActorState(const ActorClassBase& actor, const std::string& state);
- void addPortInstance(PortBase& port);
- MSCLogger& getSyncLogger();
- MSCLogger& getAsyncLogger();
-
-private:
-
- MSCLogger asyncLogger;
- MSCLogger syncLogger;
- std::map<Address, PortBase*> portInstances;
-
- DebuggingService();
- DebuggingService(const DebuggingService& right);
- DebuggingService& operator=(const DebuggingService& right);
-
-};
-
-} /* namespace etRuntime */
-#endif /* DEBUGGINGSERVICE_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
+ *
+ * CONTRIBUTORS:
+ * Peter Karlitschek (initial contribution)
+ *
+ *******************************************************************************/
+
+#ifndef DEBUGGINGSERVICE_H_
+#define DEBUGGINGSERVICE_H_
+
+#include "common/messaging/Address.h"
+#include "common/debugging/MSCLogger.h"
+#include "common/modelbase/PortBase.h"
+#include <string>
+#include <map>
+
+namespace etRuntime {
+ class ActorClassBase;
+
+
+class DebuggingService {
+private:
+ static DebuggingService* s_instance;
+
+public:
+ virtual ~DebuggingService();
+
+ static DebuggingService& getInstance() {
+ if (s_instance == 0) {
+ s_instance = new DebuggingService();
+ }
+ return *s_instance;
+ }
+
+ void addMessageAsyncOut(Address source, Address target, const std::string& msg);
+ void addMessageAsyncIn(Address source, Address target, const std::string& msg);
+ void addMessageSyncCall(Address source, Address target, const std::string& msg);
+ void addMessageSyncReturn(Address source, Address target, const std::string& msg);
+ void addActorState(const ActorClassBase& actor, const std::string& state);
+ void addPortInstance(PortBase& port);
+ MSCLogger& getSyncLogger();
+ MSCLogger& getAsyncLogger();
+
+private:
+
+ MSCLogger asyncLogger;
+ MSCLogger syncLogger;
+ std::map<Address, PortBase*> portInstances;
+
+ DebuggingService();
+ DebuggingService(const DebuggingService& right);
+ DebuggingService& operator=(const DebuggingService& right);
+
+};
+
+} /* namespace etRuntime */
+#endif /* DEBUGGINGSERVICE_H_ */
+
+
+
+
+

Back to the top