summaryrefslogtreecommitdiff
path: root/include/command
diff options
context:
space:
mode:
Diffstat (limited to 'include/command')
-rw-r--r--include/command/IAmCommandReceive.h22
-rw-r--r--include/command/IAmCommandSend.h18
2 files changed, 21 insertions, 19 deletions
diff --git a/include/command/IAmCommandReceive.h b/include/command/IAmCommandReceive.h
index 5a1a06c..c99fde6 100644
--- a/include/command/IAmCommandReceive.h
+++ b/include/command/IAmCommandReceive.h
@@ -19,8 +19,8 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_3888D932_2C16_4c2a_BD7C_E1F819C9A7F0__INCLUDED_)
-#define EA_3888D932_2C16_4c2a_BD7C_E1F819C9A7F0__INCLUDED_
+#if !defined(EA_52591199_D6BE_451e_92F8_032DA5493EF4__INCLUDED_)
+#define EA_52591199_D6BE_451e_92F8_032DA5493EF4__INCLUDED_
#include <vector>
#include <string>
@@ -47,7 +47,7 @@ namespace am {
* call pattern described on the wiki which also helps to implement calls that are forbidden.\n
* For more information, please check CAmSerializer
* @author Christian Mueller
- * @created 16-Dez-2012 15:58:14
+ * @created 17-Jan-2013 10:00:24
*/
class IAmCommandReceive
{
@@ -232,36 +232,38 @@ namespace am {
*/
virtual void confirmCommandRundown(const uint16_t handle, const am_Error_e error) =0;
/**
- * Rtrieves the list of MainNotifications for a sink.
+ * Retrieves the list of MainNotifications for a sink. Does not return the possible ones.
*
* @param sinkID The sinkID
* @param listMainNotificationConfigurations
*/
- virtual am_Error_e getListSinkMainNotificationConfigurations(const am_sinkID_t sinkID, std::vector<am_NotificationConfiguration_s>& listMainNotificationConfigurations) const =0;
+ virtual am_Error_e getListMainSinkNotificationConfigurations(const am_sinkID_t sinkID, std::vector<am_NotificationConfiguration_s>& listMainNotificationConfigurations) const =0;
/**
- * Rtrieves the list of MainNotifications for a source.
+ * Retrieves the list of MainNotifications for a source. Does not return the possible ones.
*
* @param sourceID The sourceID
* @param listMainNotificationConfigurations
*/
- virtual am_Error_e getListSourceMainNotificationConfigurations(const am_sourceID_t sourceID, std::vector<am_NotificationConfiguration_s>& listMainNotificationConfigurations) const =0;
+ virtual am_Error_e getListMainSourceNotificationConfigurations(const am_sourceID_t sourceID, std::vector<am_NotificationConfiguration_s>& listMainNotificationConfigurations) const =0;
/**
* sets a MainNotificationConfiuration. This can be used to turn on an off notifications an to change the mode of the
* configuration.
+ * @return E_OK on success, E_NON_EXISTENT if sinkID does not exists, E_DATABASE_ERROR on error
*
* @param sinkID The sinkID of the MainNotification to be changed
* @param mainNotificationConfiguration The MainNotifiication that needs to be set
*/
- virtual am_Error_e setSinkMainNotificationConfiguration(const am_sinkID_t sinkID, const am_NotificationConfiguration_s mainNotificationConfiguration) =0;
+ virtual am_Error_e setMainSinkNotificationConfiguration(const am_sinkID_t sinkID, const am_NotificationConfiguration_s& mainNotificationConfiguration) =0;
/**
* sets a MainNotificationConfiuration. This can be used to turn on an off notifications an to change the mode of the
* configuration.
+ * @return E_OK on success, E_NON_EXISTENT if sourceID does not exists, E_DATABASE_ERROR on error
*
* @param sourceID The sourceID of the MainNotification to be changed
* @param mainNotificationConfiguration The MainNotifiication that needs to be set
*/
- virtual am_Error_e setSourceMainNotificationConfiguration(const am_sourceID_t sourceID, const am_NotificationConfiguration_s mainNotificationConfiguration) =0;
+ virtual am_Error_e setMainSourceNotificationConfiguration(const am_sourceID_t sourceID, const am_NotificationConfiguration_s& mainNotificationConfiguration) =0;
};
}
-#endif // !defined(EA_3888D932_2C16_4c2a_BD7C_E1F819C9A7F0__INCLUDED_)
+#endif // !defined(EA_52591199_D6BE_451e_92F8_032DA5493EF4__INCLUDED_)
diff --git a/include/command/IAmCommandSend.h b/include/command/IAmCommandSend.h
index ce32131..15577ed 100644
--- a/include/command/IAmCommandSend.h
+++ b/include/command/IAmCommandSend.h
@@ -19,8 +19,8 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_B053C89D_3921_4e1a_836D_C3B98FAD2E36__INCLUDED_)
-#define EA_B053C89D_3921_4e1a_836D_C3B98FAD2E36__INCLUDED_
+#if !defined(EA_37AC20B5_5E6D_4a3f_BA5F_B3F3CBB21C36__INCLUDED_)
+#define EA_37AC20B5_5E6D_4a3f_BA5F_B3F3CBB21C36__INCLUDED_
#include <vector>
#include <string>
@@ -49,7 +49,7 @@ namespace am {
* call pattern described on the wiki which also helps to implement calls that are forbidden.\n
* For more information, please check CAmSerializer
* @author Christian Mueller
- * @created 16-Dez-2012 15:58:14
+ * @created 17-Jan-2013 10:00:24
*/
class IAmCommandSend
{
@@ -222,34 +222,34 @@ namespace am {
*/
virtual void cbSourceUpdated(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, const std::vector<am_MainSoundProperty_s>& listMainSoundProperties) =0;
/**
- * This callback is called when a notifcated value of a sink changes.
+ * This callback is called when a notificated value of a sink changes.
*
* @param sinkID The sinkID
* @param notification The payload of the notification
*/
- virtual void cbSinkNotification(const am_sinkID_t sinkID, const am_NotificationPayload_s notification) =0;
+ virtual void cbSinkNotification(const am_sinkID_t sinkID, const am_NotificationPayload_s& notification) =0;
/**
* This callback is called when a notifcated value of a source changes.
*
* @param sourceID The sourceID
* @param notification The payload of the notification
*/
- virtual void cbSourceNotification(const am_sourceID_t sourceID, const am_NotificationPayload_s notification) =0;
+ virtual void cbSourceNotification(const am_sourceID_t sourceID, const am_NotificationPayload_s& notification) =0;
/**
* This callback is triggered when a mainNotificationConfiguration is changed.
*
* @param sinkID
* @param mainNotificationConfiguration The MainNotificationConfiguration that changed
*/
- virtual void cbSinkMainNotificationConfigurationChanged(const am_sinkID_t sinkID, const am_NotificationConfiguration_s mainNotificationConfiguration) =0;
+ virtual void cbMainSinkNotificationConfigurationChanged(const am_sinkID_t sinkID, const am_NotificationConfiguration_s& mainNotificationConfiguration) =0;
/**
* This callback is triggered when a mainNotificationConfiguration is changed.
*
* @param sourceID
* @param mainNotificationConfiguration The MainNotificationConfiguration that changed
*/
- virtual void cbSourceMainNotificationConfigurationChanged(const am_sourceID_t sourceID, const am_NotificationConfiguration_s mainNotificationConfiguration) =0;
+ virtual void cbMainSourceNotificationConfigurationChanged(const am_sourceID_t sourceID, const am_NotificationConfiguration_s& mainNotificationConfiguration) =0;
};
}
-#endif // !defined(EA_B053C89D_3921_4e1a_836D_C3B98FAD2E36__INCLUDED_)
+#endif // !defined(EA_37AC20B5_5E6D_4a3f_BA5F_B3F3CBB21C36__INCLUDED_)