diff options
Diffstat (limited to 'include/command/IAmCommandReceive.h')
-rw-r--r-- | include/command/IAmCommandReceive.h | 22 |
1 files changed, 12 insertions, 10 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_) |