diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-01-10 15:58:38 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-01-12 00:09:34 +0100 |
commit | 472d0762b68ce0f2a755b4215515a3e031831495 (patch) | |
tree | 276e811f00dfe17cba15c56092b33d67ba2793f6 /includes/command/CommandSendInterface.h | |
parent | 6ebae8c4d3a340c135ed2f5f611a0e1c31994164 (diff) | |
download | audiomanager-472d0762b68ce0f2a755b4215515a3e031831495.tar.gz |
* recreated the header files out of the model. Added versioning support in the headerfiles generated
* ensured compatibility with 64 bit systems while compiling dbus [ changed FindDBUS.cmake]
* updated the README to better support building
* updated typo in introspectable string of DBusWrapper
* reworked including strategie
* added getInterfafeVersion method on all interfaces
* added Interface Versioning support
* added version as part of .so ending
* it is no possible to set a vector of source and sink sound properties at a time
* added interface to ask for all loaded plugins on RoutingSender
* added first version of telnet server (not yet productive) - set to not active in CMakeLists.txt
* added changelog (created out of git commit log)
* added default values for all enum types to be save even on other if communication is on other domain
Diffstat (limited to 'includes/command/CommandSendInterface.h')
-rw-r--r-- | includes/command/CommandSendInterface.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/includes/command/CommandSendInterface.h b/includes/command/CommandSendInterface.h index 0da4d76..8ae8b50 100644 --- a/includes/command/CommandSendInterface.h +++ b/includes/command/CommandSendInterface.h @@ -22,22 +22,24 @@ *
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_D28BAC35_CEA8_4ec8_AF26_00050F6CD9FA__INCLUDED_)
-#define EA_D28BAC35_CEA8_4ec8_AF26_00050F6CD9FA__INCLUDED_
+#if !defined(EA_B654AC7A_A617_46d0_836D_36974F99E750__INCLUDED_)
+#define EA_B654AC7A_A617_46d0_836D_36974F99E750__INCLUDED_
#include <vector>
#include <string>
#include "../audiomanagertypes.h"
-#include "CommandReceiveInterface.h" - -#include "CommandReceiveInterface.h" +
+namespace am {
+class CommandReceiveInterface;
+} +#define CommandSendVersion 1 namespace am { /** * This interface handles all communication from the AudioManagerDaemon towards the system. It is designed in such a way that only callbacks with no return types are implemented. So when the CommandInterfacePlugins are designed in such a way that they broadcast signals to any node who is interested in the particular information (like signals on Dbus for example), more information can be retrieved via the CommandReceiveInterface. * @author christian * @version 1.0 - * @created 22-Dec-2011 12:55:17 AM + * @created 11-Jan-2012 9:19:58 PM */ class CommandSendInterface { @@ -139,13 +141,18 @@ namespace am { */ virtual void cbSystemPropertyChanged(const am_SystemProperty_s& systemProperty) =0; /** - * this callback is called when the timinginformation for a mainconnection has changed. + * CommandReceiveVer_0.0.9. * - * @param mainConnection * @param time + * @param mainConnectionID + */ + virtual void cbTimingInformationChanged(const am_timeSync_t time, const am_mainConnectionID_t mainConnectionID) =0; + /** + * This function returns the version of the interface
+ * returns E_OK, E_UNKOWN if version is unknown. */ - virtual void cbTimingInformationChanged(const am_mainConnectionID_t mainConnection, const am_timeSync_t time) =0; + virtual uint16_t getInterfaceVersion() const =0; }; } -#endif // !defined(EA_D28BAC35_CEA8_4ec8_AF26_00050F6CD9FA__INCLUDED_) +#endif // !defined(EA_B654AC7A_A617_46d0_836D_36974F99E750__INCLUDED_) |