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/command/CommandReceiveInterface.h | |
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/command/CommandReceiveInterface.h')
-rw-r--r-- | includes/command/CommandReceiveInterface.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/includes/command/CommandReceiveInterface.h b/includes/command/CommandReceiveInterface.h index 257d5d9..b07ef2e 100644 --- a/includes/command/CommandReceiveInterface.h +++ b/includes/command/CommandReceiveInterface.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_C6A85AF3_95A7_4c37_90ED_CA847BA7F31D__INCLUDED_)
-#define EA_C6A85AF3_95A7_4c37_90ED_CA847BA7F31D__INCLUDED_
+#if !defined(EA_241FAB0A_6108_4f68_8AAD_F2218B1C41D9__INCLUDED_)
+#define EA_241FAB0A_6108_4f68_8AAD_F2218B1C41D9__INCLUDED_
#include <vector>
#include <string>
@@ -34,13 +34,16 @@ class SocketHandler; }
-#define CommandReceiveVersion 1 +#define CommandReceiveVersion 1.0 namespace am { /** - * The interface towards the Controlling Instance (e.g HMI). It handles the communication towards the HMI and other system components who need to interact with the audiomanagement. - * @author christian - * @version 1.0 - * @created 10-Feb-2012 1:31:04 PM + * The interface towards the Controlling Instance (e.g HMI). It handles the communication towards the HMI and other system components who need to interact with the audiomanagement.
+ * 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:35 PM */ class CommandReceiveInterface { @@ -204,4 +207,4 @@ namespace am { }; } -#endif // !defined(EA_C6A85AF3_95A7_4c37_90ED_CA847BA7F31D__INCLUDED_) +#endif // !defined(EA_241FAB0A_6108_4f68_8AAD_F2218B1C41D9__INCLUDED_) |