summaryrefslogtreecommitdiff
path: root/include/audiomanagertypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/audiomanagertypes.h')
-rw-r--r--include/audiomanagertypes.h131
1 files changed, 67 insertions, 64 deletions
diff --git a/include/audiomanagertypes.h b/include/audiomanagertypes.h
index b16b637..c4a5954 100644
--- a/include/audiomanagertypes.h
+++ b/include/audiomanagertypes.h
@@ -1,24 +1,27 @@
-/** Copyright (c) 2012 GENIVI Alliance
- * Copyright (c) 2012 BMW
+/**
+ * Copyright (C) 2012, GENIVI Alliance, Inc.
+ * Copyright (C) 2012, BMW AG
*
- * \author Christian Mueller, christian.ei.mueller@bmw.de BMW 2011,2012
+ * This file is part of GENIVI Project AudioManager.
*
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
- * For further information see http://www.genivi.org/.
+ * Contributions are licensed to the GENIVI Alliance under one or more
+ * Contribution License Agreements.
+ *
+ * \copyright
+ * This Source Code Form is subject to the terms of the
+ * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
+ * this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ *
+ * \author Christian Mueller, christian.ei.mueller@bmw.de BMW 2011,2012
+ *
+ * \file CAmCommandReceiver.h
+ * For further information see http://www.genivi.org/.
*
- *
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_FF16184D_524E_4747_8AC7_DD40DA868A0E__INCLUDED_)
-#define EA_FF16184D_524E_4747_8AC7_DD40DA868A0E__INCLUDED_
+#if !defined(EA_F324BBAC_CA26_4b9b_8BE7_166AB6A61889__INCLUDED_)
+#define EA_F324BBAC_CA26_4b9b_8BE7_166AB6A61889__INCLUDED_
#include <stdint.h>
#include "projecttypes.h"
@@ -31,63 +34,63 @@ namespace am {
/**
* a domain ID
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_domainID_t;
/**
* a source ID
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_sourceID_t;
/**
* a sink ID
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_sinkID_t;
/**
* a gateway ID
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_gatewayID_t;
/**
* a crossfader ID
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_crossfaderID_t;
/**
* a connection ID
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_connectionID_t;
/**
* a mainConnection ID
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_mainConnectionID_t;
/**
* speed
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_speed_t;
/**
* The unit is 0.1 db steps,The smallest value -3000 (=AM_MUTE). The minimum and maximum can be limited by actual project.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef int16_t am_volume_t;
@@ -95,40 +98,40 @@ namespace am {
* This is the volume presented on the command interface. It is in the duty of the Controller to change the volumes given here into meaningful values on the routing interface.
* The range of this type is customer specific.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef int16_t am_mainVolume_t;
/**
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_sourceClass_t;
/**
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_sinkClass_t;
/**
* time in ms!
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef uint16_t am_time_t;
/**
* offset time that is introduced in milli seconds.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
typedef int16_t am_timeSync_t;
/**
* with the help of this enum, sinks and sources can report their availability state
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_Availablility_e
{
@@ -150,7 +153,7 @@ namespace am {
/**
* represents the connection state
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_ConnectionState_e
{
@@ -180,7 +183,7 @@ namespace am {
/**
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_DomainState_e
{
@@ -206,7 +209,7 @@ namespace am {
/**
* This enum characterizes the data of the EarlyData_t
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_EarlyDataType_e
{
@@ -236,7 +239,7 @@ namespace am {
/**
* the errors of the audiomanager. All possible errors are in here. This enum is used widely as return parameter.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_Error_e
{
@@ -289,7 +292,7 @@ namespace am {
/**
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_MuteState_e
{
@@ -311,7 +314,7 @@ namespace am {
/**
* The source state reflects the state of the source
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_SourceState_e
{
@@ -334,7 +337,7 @@ namespace am {
/**
* This enumeration is used to define the type of the action that is correlated to a handle.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_Handle_e
{
@@ -354,7 +357,7 @@ namespace am {
/**
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_InterruptState_e
{
@@ -376,7 +379,7 @@ namespace am {
/**
* describes the active sink of a crossfader.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
enum am_HotSink_e
{
@@ -402,7 +405,7 @@ namespace am {
/**
* this describes the availability of a sink or a source together with the latest change
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
struct am_Availability_s
{
@@ -422,7 +425,7 @@ namespace am {
/**
* describes class properties
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:44 AM
*/
struct am_ClassProperty_s
{
@@ -442,7 +445,7 @@ namespace am {
/**
* This struct describes the attribiutes of a crossfader.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:45 AM
*/
struct am_Crossfader_s
{
@@ -482,7 +485,7 @@ namespace am {
/**
* This struct describes the attributes of a gateway.
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:04 PM
+ * @created 06-Mar-2012 9:46:45 AM
*/
struct am_Gateway_s
{
@@ -549,7 +552,7 @@ namespace am {
/**
* This represents one "hopp" in a route
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:45 AM
*/
struct am_RoutingElement_s
{
@@ -577,7 +580,7 @@ namespace am {
/**
* a list of routing elements that lead from source to sink
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:45 AM
*/
struct am_Route_s
{
@@ -601,7 +604,7 @@ namespace am {
/**
* struct describing the sound property
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:45 AM
*/
struct am_SoundProperty_s
{
@@ -621,7 +624,7 @@ namespace am {
/**
* struct describing system properties
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:45 AM
*/
struct am_SystemProperty_s
{
@@ -641,7 +644,7 @@ namespace am {
/**
* struct describing sinkclasses
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:45 AM
*/
struct am_SinkClass_s
{
@@ -665,7 +668,7 @@ namespace am {
/**
* struct describing source classes
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_SourceClass_s
{
@@ -689,7 +692,7 @@ namespace am {
/**
* this type holds all information of sources relevant to the HMI
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_SourceType_s
{
@@ -717,7 +720,7 @@ namespace am {
/**
* this type holds all information of sinks relevant to the HMI
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_SinkType_s
{
@@ -753,7 +756,7 @@ namespace am {
/**
* a handle is used for asynchronous operations and is uniquely assigned for each of this operations
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:05 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_Handle_s
{
@@ -773,7 +776,7 @@ namespace am {
/**
* struct describung mainsound property
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:06 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_MainSoundProperty_s
{
@@ -793,7 +796,7 @@ namespace am {
/**
* this type holds all information of connections relevant to the HMI
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:06 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_MainConnectionType_s
{
@@ -825,7 +828,7 @@ namespace am {
/**
* struct that holds attribiutes of a mainconnection
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:06 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_MainConnection_s
{
@@ -861,7 +864,7 @@ namespace am {
/**
* This struct describes the attribiutes of a sink
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:06 PM
+ * @created 06-Mar-2012 9:46:46 AM
*/
struct am_Sink_s
{
@@ -924,7 +927,7 @@ namespace am {
/**
* This struct describes the attribiutes of a source
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:06 PM
+ * @created 06-Mar-2012 9:46:47 AM
*/
struct am_Source_s
{
@@ -994,7 +997,7 @@ namespace am {
/**
* This struct describes the attribiutes of a domain
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:06 PM
+ * @created 06-Mar-2012 9:46:47 AM
*/
struct am_Domain_s
{
@@ -1034,7 +1037,7 @@ namespace am {
/**
* a connection
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:06 PM
+ * @created 06-Mar-2012 9:46:47 AM
*/
struct am_Connection_s
{
@@ -1068,7 +1071,7 @@ namespace am {
* volume_t in case of ED_SOURCE_VOLUME, ED_SINK_VOLUME
* soundProperty_t in case of ED_SOURCE_PROPERTY, ED_SINK_PROPERTY
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:07 PM
+ * @created 06-Mar-2012 9:46:47 AM
*/
union am_EarlyData_u
{
@@ -1084,7 +1087,7 @@ namespace am {
* sourceID in case of ED_SOURCE_VOLUME, ED_SOURCE_PROPERTY
* sinkID in case of ED_SINK_VOLUME, ED_SINK_PROPERTY
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:07 PM
+ * @created 06-Mar-2012 9:46:47 AM
*/
union am_DataType_u
{
@@ -1097,7 +1100,7 @@ namespace am {
/**
* @author Christian Mueller
- * @created 05-Mar-2012 9:02:07 PM
+ * @created 06-Mar-2012 9:46:47 AM
*/
struct am_EarlyData_s
{
@@ -1109,4 +1112,4 @@ namespace am {
};
}
-#endif // !defined(EA_FF16184D_524E_4747_8AC7_DD40DA868A0E__INCLUDED_)
+#endif // !defined(EA_F324BBAC_CA26_4b9b_8BE7_166AB6A61889__INCLUDED_)