summaryrefslogtreecommitdiff
path: root/includes/command/CommandReceiveInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/command/CommandReceiveInterface.h')
-rw-r--r--includes/command/CommandReceiveInterface.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/includes/command/CommandReceiveInterface.h b/includes/command/CommandReceiveInterface.h
index 13c2144..b363bd3 100644
--- a/includes/command/CommandReceiveInterface.h
+++ b/includes/command/CommandReceiveInterface.h
@@ -22,13 +22,16 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_774DDC80_E4EF_41c2_846F_FFC9FB85C2E8__INCLUDED_)
-#define EA_774DDC80_E4EF_41c2_846F_FFC9FB85C2E8__INCLUDED_
+#if !defined(EA_2C18A494_5252_4d1b_A0B0_FAE151B68AEA__INCLUDED_)
+#define EA_2C18A494_5252_4d1b_A0B0_FAE151B68AEA__INCLUDED_
#include <vector>
#include <string>
#include "../audiomanagertypes.h"
+namespace am {
class DBusWrapper;
+class SocketHandler;
+}
namespace am {
@@ -36,7 +39,7 @@ 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 12-Dec-2011 8:33:24 PM
+ * @created 22-Dec-2011 12:55:17 AM
*/
class CommandReceiveInterface
{
@@ -173,12 +176,19 @@ namespace am {
virtual am_Error_e getTimingInformation(const am_mainConnectionID_t mainConnectionID, am_timeSync_t& delay) const =0;
/**
* this function is used to retrieve a pointer to the dBusConnectionWrapper
- * @return E_OK if pointer is valid, E_UKNOWN on error
+ * @return E_OK if pointer is valid, E_UKNOWN if AudioManager was compiled without DBus Support
*
* @param dbusConnectionWrapper This is a wrapper class that is needed to keep dbus inclusions away from the interface. The DBusWrapperClass will return the pointer to the DbusConnection call (getDBusConnection)
*/
virtual am_Error_e getDBusConnectionWrapper(DBusWrapper*& dbusConnectionWrapper) const =0;
+ /**
+ * This function returns the pointer to the socketHandler. This can be used to integrate socket-based activites like communication with the mainloop of the AudioManager.
+ * returns E_OK if pointer is valid, E_UNKNOWN in case AudioManager was compiled without socketHandler support,
+ *
+ * @param socketHandler
+ */
+ virtual am_Error_e getSocketHandler(SocketHandler*& socketHandler) const =0;
};
}
-#endif // !defined(EA_774DDC80_E4EF_41c2_846F_FFC9FB85C2E8__INCLUDED_)
+#endif // !defined(EA_2C18A494_5252_4d1b_A0B0_FAE151B68AEA__INCLUDED_)