diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-21 18:21:51 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-21 18:21:51 +0100 |
commit | 817b5ead32bb080bd5a6fff26b3957d400ba598c (patch) | |
tree | 8a9ee999711a1fc2300b086d2acab558da6fded9 /includes/routing | |
parent | e2773d0816b538c241d63054e2850e215ac96f97 (diff) | |
download | audiomanager-817b5ead32bb080bd5a6fff26b3957d400ba598c.tar.gz |
* [ GAM-18 ] Add cancel rundown messages to interfaces: added possbility for controller to call rundown on command and routing interfaces
* beautified EA generated code in comments
Diffstat (limited to 'includes/routing')
-rw-r--r-- | includes/routing/RoutingReceiveInterface.h | 21 | ||||
-rw-r--r-- | includes/routing/RoutingSendInterface.h | 21 |
2 files changed, 24 insertions, 18 deletions
diff --git a/includes/routing/RoutingReceiveInterface.h b/includes/routing/RoutingReceiveInterface.h index 00e4666..f9df264 100644 --- a/includes/routing/RoutingReceiveInterface.h +++ b/includes/routing/RoutingReceiveInterface.h @@ -10,7 +10,7 @@ *
* \section License
* GNU Lesser General Public License, version 2.1, with special exception (GENIVI clause)
-* Copyright (C) 2011, BMW AG Christian M?ller Christian.ei.mueller@bmw.de
+* Copyright (C) 2011, BMW AG Christian Mueller Christian.ei.mueller@bmw.de
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 2.1, as published by the Free Software Foundation.
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License, version 2.1, for more details.
@@ -22,8 +22,8 @@ *
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_C1FDE688_5CB0_42b2_B2CC_C407D50C2D87__INCLUDED_)
-#define EA_C1FDE688_5CB0_42b2_B2CC_C407D50C2D87__INCLUDED_
+#if !defined(EA_3F1137F5_C65B_42b9_A805_A65B61A04AA1__INCLUDED_)
+#define EA_3F1137F5_C65B_42b9_A805_A65B61A04AA1__INCLUDED_
#include <vector>
#include <string>
@@ -35,13 +35,16 @@ class SocketHandler; }
-#define RoutingReceiveVersion 1 +#define RoutingReceiveVersion 1.0 namespace am { /** - * Routing Receive sendInterface description. This class implements everything from RoutingAdapter -> Audiomanager - * @author christian - * @version 1.0 - * @created 10-Feb-2012 1:31:06 PM + * Routing Receive sendInterface description. This class implements everything from RoutingAdapter -> Audiomanager
+ * There are two rules that have to be kept in mind when implementing against this interface:
+ * 1. CALLS TO THIS INTERFACE ARE NOT THREAD SAFE !!!!
+ * 2. YOU MAY NOT THE CALLING INTERFACE DURING AN SYNCHRONOUS OR ASYNCHRONOUS CALL THAT EXPECTS A RETURN VALUE.
+ * Violation these rules may lead to unexpected behavior! Nevertheless you can implement thread safe by using the deferred-call pattern described on the wiki which also helps to implement calls that are forbidden. + * @author Christian Mueller + * @created 21-Feb-2012 4:58:37 PM */ class RoutingReceiveInterface { @@ -332,4 +335,4 @@ namespace am { }; } -#endif // !defined(EA_C1FDE688_5CB0_42b2_B2CC_C407D50C2D87__INCLUDED_) +#endif // !defined(EA_3F1137F5_C65B_42b9_A805_A65B61A04AA1__INCLUDED_) diff --git a/includes/routing/RoutingSendInterface.h b/includes/routing/RoutingSendInterface.h index 35c07cd..b126c56 100644 --- a/includes/routing/RoutingSendInterface.h +++ b/includes/routing/RoutingSendInterface.h @@ -10,7 +10,7 @@ *
* \section License
* GNU Lesser General Public License, version 2.1, with special exception (GENIVI clause)
-* Copyright (C) 2011, BMW AG Christian M?ller Christian.ei.mueller@bmw.de
+* Copyright (C) 2011, BMW AG Christian Mueller Christian.ei.mueller@bmw.de
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 2.1, as published by the Free Software Foundation.
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License, version 2.1, for more details.
@@ -22,8 +22,8 @@ *
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_E1ED14D4_6A57_4661_8587_FA302E2A9951__INCLUDED_)
-#define EA_E1ED14D4_6A57_4661_8587_FA302E2A9951__INCLUDED_
+#if !defined(EA_E6EBF9D0_B241_44f2_AABB_8DAE02D74E88__INCLUDED_)
+#define EA_E6EBF9D0_B241_44f2_AABB_8DAE02D74E88__INCLUDED_
#include <vector>
#include <string>
@@ -35,13 +35,16 @@ class RoutingReceiveInterface; #include "RoutingReceiveInterface.h" -#define RoutingSendVersion 1 +#define RoutingSendVersion 1.0 namespace am { /** - * This class implements everything from Audiomanager -> RoutingAdapter - * @author christian - * @version 1.0 - * @created 10-Feb-2012 1:31:06 PM + * This class implements everything from Audiomanager -> RoutingAdapter
+ * There are two rules that have to be kept in mind when implementing against this interface:
+ * 1. CALLS TO THIS INTERFACE ARE NOT THREAD SAFE !!!!
+ * 2. YOU MAY NOT THE CALLING INTERFACE DURING AN SYNCHRONOUS OR ASYNCHRONOUS CALL THAT EXPECTS A RETURN VALUE.
+ * Violation these rules may lead to unexpected behavior! Nevertheless you can implement thread safe by using the deferred-call pattern described on the wiki which also helps to implement calls that are forbidden. + * @author Christian Mueller + * @created 21-Feb-2012 4:58:37 PM */ class RoutingSendInterface { @@ -196,4 +199,4 @@ namespace am { }; } -#endif // !defined(EA_E1ED14D4_6A57_4661_8587_FA302E2A9951__INCLUDED_) +#endif // !defined(EA_E6EBF9D0_B241_44f2_AABB_8DAE02D74E88__INCLUDED_) |