summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/audiomanagertypes.h304
-rw-r--r--includes/config.h25
-rw-r--r--includes/projecttypes.h160
3 files changed, 310 insertions, 179 deletions
diff --git a/includes/audiomanagertypes.h b/includes/audiomanagertypes.h
index e0a6c21..c29afd6 100644
--- a/includes/audiomanagertypes.h
+++ b/includes/audiomanagertypes.h
@@ -22,8 +22,8 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_2D7F1C82_8717_47ce_B755_51DDED15BC18__INCLUDED_)
-#define EA_2D7F1C82_8717_47ce_B755_51DDED15BC18__INCLUDED_
+#if !defined(EA_BB47505C_A541_4063_AF54_010D0AC22821__INCLUDED_)
+#define EA_BB47505C_A541_4063_AF54_010D0AC22821__INCLUDED_
#include <stdint.h>
#include "projecttypes.h"
@@ -124,56 +124,56 @@ namespace am {
* After the buildup of a connection the first timing information needs to be sent within 5 seconds, the timing information from the routing adaptors need to be sent via 4 seconds. If the latency for a connection is variable and changes over lifetime of the connection, the routing adaptors shall resend the value and the audiomanger will correct the over all latency.\n
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:00 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_domainID_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:00 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_sourceID_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:00 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_sinkID_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:00 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_gatewayID_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:00 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_crossfaderID_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:00 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_connectionID_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:00 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_mainConnectionID_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_speed_t;
@@ -181,7 +181,7 @@ namespace am {
* 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
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef int16_t am_volume_t;
@@ -190,21 +190,21 @@ namespace am {
* The range of this type is customer specific.
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef int16_t am_mainVolume_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_sourceClass_t;
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_sinkClass_t;
@@ -212,7 +212,7 @@ namespace am {
* time in ms!
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef uint16_t am_time_t;
@@ -220,7 +220,7 @@ namespace am {
* offset time that is introduced in milli seconds.
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
typedef int16_t am_timeSync_t;
@@ -228,197 +228,291 @@ namespace am {
* with the help of this enum, sinks and sources can report their availability state
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_Availablility_e
{
- A_AVAILABLE = 0,
- A_UNAVAILABLE = 1,
- A_UNKNOWN = 2,
- A_MAX = 3,
- A_MIN = A_AVAILABLE
+ /**
+ * default
+ */
+ A_UNKNOWN = 0,
+ /**
+ * The source / sink is available
+ */
+ A_AVAILABLE = 1,
+ /**
+ * the source / sink is not available
+ */
+ A_UNAVAILABLE = 2,
+ A_MAX
};
/**
* represents the connection state
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_ConnectionState_e
{
+ CS_UNKNOWN = 0,
/**
* This means the connection is just building up
*/
- CS_CONNECTING = 0,
+ CS_CONNECTING = 1,
/**
* the connection is ready to be used
*/
- CS_CONNECTED = 1,
+ CS_CONNECTED = 2,
/**
* the connection is in the course to be knocked down
*/
- CS_DISCONNECTING = 2,
+ CS_DISCONNECTING = 3,
/**
* only relevant for connectionStatechanged. Is send after the connection was removed
*/
- CS_DISCONNECTED = 3,
+ CS_DISCONNECTED = 4,
/**
* this means the connection is still build up but unused at the moment
*/
- CS_SUSPENDED = 4,
- CS_MAX = 5,
- CS_MIN = CS_CONNECTING
+ CS_SUSPENDED = 5,
+ CS_MAX
};
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_DomainState_e
{
- DS_CONTROLLED = 0,
+ /**
+ * default
+ */
+ DS_UNKNOWN = 0,
+ /**
+ * the domain is controlled by the daemon
+ */
+ DS_CONTROLLED = 1,
+ /**
+ * the domain is independent starting up
+ */
DS_INDEPENDENT_STARTUP = 1,
+ /**
+ * the domain is independent running down
+ */
DS_INDEPENDENT_RUNDOWN = 2,
- DS_MAX = 3,
- DS_MIN = DS_CONTROLLED
+ DS_MAX
};
/**
* This enum characterizes the data of the EarlyData_t
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_EarlyDataType_e
{
- ED_SOURCE_VOLUME = 0,
- ED_SINK_VOLUME = 1,
- ED_SOURCE_PROPERTY = 2,
- ED_SINK_PROPERTY = 3,
- ED_MAX = 4,
- ES_MIN = ED_SOURCE_VOLUME
+ /**
+ * default
+ */
+ ES_UNKNOWN = 0,
+ /**
+ * the source volume
+ */
+ ED_SOURCE_VOLUME = 1,
+ /**
+ * the sink volume
+ */
+ ED_SINK_VOLUME = 2,
+ /**
+ * a source property
+ */
+ ED_SOURCE_PROPERTY = 3,
+ /**
+ * a sink property
+ */
+ ED_SINK_PROPERTY = 4,
+ ED_MAX
};
/**
* the errors of the audiomanager. All possible errors are in here. This enum is used widely as return parameter.
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_Error_e
{
- E_OK = 0,
- E_UNKNOWN = 1,
+ /**
+ * default
+ */
+ E_UNKNOWN = 0,
+ /**
+ * no error - positive reply
+ */
+ E_OK = 1,
+ /**
+ * value out of range
+ */
E_OUT_OF_RANGE = 2,
+ /**
+ * not used
+ */
E_NOT_USED = 3,
+ /**
+ * a database error occurred
+ */
E_DATABASE_ERROR = 4,
+ /**
+ * the desired object already exists
+ */
E_ALREADY_EXISTS = 5,
+ /**
+ * there is no change
+ */
E_NO_CHANGE = 6,
+ /**
+ * the desired action is not possible
+ */
E_NOT_POSSIBLE = 7,
+ /**
+ * the desired object is non existent
+ */
E_NON_EXISTENT = 8,
+ /**
+ * the asynchronous action was aborted
+ */
E_ABORTED = 9,
/**
* This error is returned in case a connect is issued with a connectionFormat that cannot be selected for the connection. This could be either due to the capabilities of a source or a sink or gateway compatibilities for example
*/
E_WRONG_FORMAT = 10,
- E_MAX = 11,
- E_MIN = E_OK
+ E_MAX
};
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_MuteState_e
{
- MS_MUTED = 0,
- MS_UNMUTED = 1,
- MS_MAX = 2,
- MS_MIN = MS_MUTED
+ /**
+ * default
+ */
+ MS_UNKNOWN = 0,
+ /**
+ * the source / sink is muted
+ */
+ MS_MUTED = 1,
+ /**
+ * the source / sink is unmuted
+ */
+ MS_UNMUTED = 2,
+ MS_MAX
};
/**
* The source state reflects the state of the source
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_SourceState_e
{
+ SS_UNKNNOWN = 0,
/**
* The source can be activly heared
*/
- SS_ON = 0,
+ SS_ON = 1,
/**
* The source cannot be heared
*/
- SS_OFF = 1,
+ SS_OFF = 2,
/**
* The source is paused. Meaning it cannot be heared but should be prepared to play again soon.
*/
- SS_PAUSED = 2,
- SS_MAX = 3,
- SS_MIN = SS_ON
+ SS_PAUSED = 3,
+ SS_MAX
};
/**
* This enumeration is used to define the type of the action that is correlated to a handle.
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_Handle_e
{
- H_CONNECT = 0,
- H_DISCONNECT = 1,
- H_SETSOURCESTATE = 2,
- H_SETSINKVOLUME = 3,
- H_SETSOURCEVOLUME = 4,
- H_SETSINKSOUNDPROPERTY = 5,
- H_SETSOURCESOUNDPROPERTY = 6,
- H_SETSINKSOUNDPROPERTIES = 7,
- H_SETSOURCESOUNDPROPERTIES = 8,
- H_CROSSFADE = 9,
- H_MAX = 10,
- H_MIN = H_CONNECT
+ H_UNKNOWN = 0,
+ H_CONNECT = 1,
+ H_DISCONNECT = 2,
+ H_SETSOURCESTATE = 3,
+ H_SETSINKVOLUME = 4,
+ H_SETSOURCEVOLUME = 5,
+ H_SETSINKSOUNDPROPERTY = 6,
+ H_SETSOURCESOUNDPROPERTY = 7,
+ H_SETSINKSOUNDPROPERTIES = 8,
+ H_SETSOURCESOUNDPROPERTIES = 9,
+ H_CROSSFADE = 10,
+ H_MAX
};
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_InterruptState_e
{
- IS_OFF = 0,
- IS_INTERRUPTED = 1,
- IS_MAX = 2,
- IS_MIN = IS_OFF
+ /**
+ * default
+ */
+ IS_UNKNOWN = 0,
+ /**
+ * the interrupt state is off - no interrupt
+ */
+ IS_OFF = 1,
+ /**
+ * the interrupt state is interrupted - the interrupt is active
+ */
+ IS_INTERRUPTED = 2,
+ IS_MAX
};
/**
* describes the active sink of a crossfader.
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
enum am_HotSink_e
{
- HS_SINKA = 0,
- HS_SINKB = 1,
- HS_INTERMEDIATE = 2,
- HS_MAX = 3,
- HS_MIN = HS_SINKA
+ /**
+ * default
+ */
+ HS_UNKNOWN = 0,
+ /**
+ * sinkA is active
+ */
+ HS_SINKA = 1,
+ /**
+ * sinkB is active
+ */
+ HS_SINKB = 2,
+ /**
+ * the crossfader is in the transition state
+ */
+ HS_INTERMEDIATE = 3,
+ HS_MAX
};
/**
* this describes the availability of a sink or a source together with the latest change
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
struct am_Availability_s
{
@@ -438,7 +532,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:50 AM
*/
struct am_ClassProperty_s
{
@@ -452,7 +546,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_Crossfader_s
{
@@ -470,7 +564,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_Gateway_s
{
@@ -511,7 +605,7 @@ namespace am {
* This represents one "hopp" in a route
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:01 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_RoutingElement_s
{
@@ -527,7 +621,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:02 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_Route_s
{
@@ -542,7 +636,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:02 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_SoundProperty_s
{
@@ -556,7 +650,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:02 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_SystemProperty_s
{
@@ -576,7 +670,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:02 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_SinkClass_s
{
@@ -591,7 +685,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:02 PM
+ * @created 21-Feb-2012 10:06:51 AM
*/
struct am_SourceClass_s
{
@@ -610,7 +704,7 @@ namespace am {
* this type holds all information of sources relevant to the HMI
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:02 PM
+ * @created 21-Feb-2012 10:06:52 AM
*/
struct am_SourceType_s
{
@@ -627,7 +721,7 @@ namespace am {
* this type holds all information of sinks relevant to the HMI
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:02 PM
+ * @created 21-Feb-2012 10:06:52 AM
*/
struct am_SinkType_s
{
@@ -645,7 +739,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:03 PM
+ * @created 21-Feb-2012 10:06:52 AM
*/
struct am_Handle_s
{
@@ -659,7 +753,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:03 PM
+ * @created 21-Feb-2012 10:06:52 AM
*/
struct am_MainSoundProperty_s
{
@@ -674,7 +768,7 @@ namespace am {
* this type holds all information of connections relevant to the HMI
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:03 PM
+ * @created 21-Feb-2012 10:06:52 AM
*/
struct am_MainConnectionType_s
{
@@ -691,7 +785,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:03 PM
+ * @created 21-Feb-2012 10:06:52 AM
*/
struct am_MainConnection_s
{
@@ -715,7 +809,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:03 PM
+ * @created 21-Feb-2012 10:06:52 AM
*/
struct am_Sink_s
{
@@ -739,7 +833,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:03 PM
+ * @created 21-Feb-2012 10:06:53 AM
*/
struct am_Source_s
{
@@ -772,7 +866,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:03 PM
+ * @created 21-Feb-2012 10:06:53 AM
*/
struct am_Domain_s
{
@@ -791,7 +885,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:04 PM
+ * @created 21-Feb-2012 10:06:53 AM
*/
struct am_Connection_s
{
@@ -811,7 +905,7 @@ namespace am {
* soundProperty_t in case of ED_SOURCE_PROPERTY, ED_SINK_PROPERTY
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:04 PM
+ * @created 21-Feb-2012 10:06:53 AM
*/
union am_EarlyData_u
{
@@ -828,7 +922,7 @@ namespace am {
* sinkID in case of ED_SINK_VOLUME, ED_SINK_PROPERTY
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:04 PM
+ * @created 21-Feb-2012 10:06:53 AM
*/
union am_DataType_u
{
@@ -842,7 +936,7 @@ namespace am {
/**
* @author christian
* @version 1.0
- * @created 10-Feb-2012 1:31:04 PM
+ * @created 21-Feb-2012 10:06:53 AM
*/
struct am_EarlyData_s
{
@@ -854,4 +948,4 @@ namespace am {
};
}
-#endif // !defined(EA_2D7F1C82_8717_47ce_B755_51DDED15BC18__INCLUDED_)
+#endif // !defined(EA_BB47505C_A541_4063_AF54_010D0AC22821__INCLUDED_)
diff --git a/includes/config.h b/includes/config.h
deleted file mode 100644
index 6d89da4..0000000
--- a/includes/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef _CONFIG_H
-#define _CONFIG_H
-
-#define DAEMONVERSION "ver-0.0.9-29-gcc5ee70"
-
-#define WITH_DBUS_WRAPPER
-#define WITH_SOCKETHANDLER_LOOP
-/* #undef WITH_SIMPLEDBUS_LOOP */
-#define WITH_PPOLL
-#define WITH_TELNET
-#define GLIB_DBUS_TYPES_TOLERANT
-
-#define DEFAULT_PLUGIN_COMMAND_DIR "/home/christian/workspace/AudioManager/bin/plugins/command"
-#define DEFAULT_PLUGIN_ROUTING_DIR "/home/christian/workspace/AudioManager/bin/plugins/routing"
-#define CONTROLLER_PLUGIN "/home/christian/workspace/AudioManager/bin/plugins/control/libPluginControlInterface.so"
-
-#define DEFAULT_TELNETPORT 6060
-#define MAX_TELNETCONNECTIONS 3
-
-#define DBUS_SERVICE_PREFIX "org.genivi.audiomanager"
-#define DBUS_SERVICE_OBJECT_PATH "/org/genivi/audiomanager"
-
-#define INTROSPECTION_COMMAND_XML_FILE "/home/christian/workspace/AudioManager/includes/dbus/CommandInterface.xml"
-
-#endif /* _CONFIG_H */
diff --git a/includes/projecttypes.h b/includes/projecttypes.h
index 2f84f4c..792b0fe 100644
--- a/includes/projecttypes.h
+++ b/includes/projecttypes.h
@@ -22,61 +22,101 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_9A582C38_7B95_4ebf_B316_F765C90F29C5__INCLUDED_)
-#define EA_9A582C38_7B95_4ebf_B316_F765C90F29C5__INCLUDED_
+#if !defined(EA_3D55671A_C1DC_4042_9EBF_5738C754BF63__INCLUDED_)
+#define EA_3D55671A_C1DC_4042_9EBF_5738C754BF63__INCLUDED_
namespace am {
/**
* This enum classifies the format in which data is exchanged within a connection. The enum itself is project specific although there are some Genivi standard formats defined.
* @author christian
* @version 1.0
- * @created 26-Jan-2012 6:00:52 PM
+ * @created 21-Feb-2012 10:06:54 AM
*/
enum am_ConnectionFormat_e
{
- CF_STEREO = 0,
- CF_MONO = 1,
- CF_ANALOG = 2,
- CF_MAX = 3,
- CF_MIN = CF_STEREO
+ /**
+ * default
+ */
+ CF_UNKNOWN = 0,
+ /**
+ * plain mono
+ */
+ CF_GENIVI_MONO = 1,
+ /**
+ * stereo connection
+ */
+ CF_GENIVI_STEREO = 2,
+ /**
+ * analog connection
+ */
+ CF_GENIVI_ANALOG = 3,
+ /**
+ * automatic connection.
+ */
+ CF_GENIVI_AUTO = 4,
+ CF_MAX
};
/**
* This enum gives the information about reason for reason for Source/Sink change
* @author christian
* @version 1.0
- * @created 26-Jan-2012 6:00:52 PM
+ * @created 21-Feb-2012 10:06:54 AM
*/
enum am_AvailabilityReason_e
{
- AR_NEWMEDIA = 0,
- AR_SAMEMEDIA = 1,
- AR_NOMEDIA = 2,
- AR_UNKNOWN = 3,
- AR_TEMPERATURE = 4,
- AR_VOLTAGE = 5,
- AR_MAX = 6,
- AR_MIN = AR_NEWMEDIA
+ /**
+ * default
+ */
+ AR_UNKNOWN = 0,
+ /**
+ * the availability changed because an new media was entered
+ */
+ AR_GENIVI_NEWMEDIA = 1,
+ /**
+ * the availability changed because the same media was entered
+ */
+ AR_GENIVI_SAMEMEDIA = 2,
+ /**
+ * the availability changed because there is no media
+ */
+ AR_GENIVI_NOMEDIA = 3,
+ /**
+ * the availability changed because of a temperature event
+ */
+ AR_GENIVI_TEMPERATURE = 4,
+ /**
+ * the availability changed because of a voltage event
+ */
+ AR_GENIVI_VOLTAGE = 5,
+ /**
+ * the availability changed because of fatal errors reading or accessing media
+ */
+ AR_GENIVI_ERRORMEDIA = 6,
+ AR_MAX
};
/**
* product specific identifier of property
* @author christian
* @version 1.0
- * @created 26-Jan-2012 6:00:52 PM
+ * @created 21-Feb-2012 10:06:54 AM
*/
enum am_ClassProperty_e
{
/**
+ * default
+ */
+ CP_UNKNOWN = 0,
+ /**
* defines the source type of a source. Project specific, could be for example differentiation between interrupt source and main source.
*/
- CP_SOURCE_TYPE = 0,
+ CP_GENIVI_SOURCE_TYPE = 1,
/**
* defines the SINK_TYPE. Project specific
*/
- CP_SINK_TYPE = 1,
- CP_MAX = 2,
- CP_MIN = CP_SOURCE_TYPE
+ CP_GENIVI_SINK_TYPE = 2,
+ CP_MAX
};
/**
@@ -84,70 +124,92 @@ namespace am {
* It is in the responsibility of the product to make sure that the routing plugins are aware of the ramp types used.
* @author christian
* @version 1.0
- * @created 26-Jan-2012 6:00:52 PM
+ * @created 21-Feb-2012 10:06:54 AM
*/
enum am_RampType_e
{
+ RAMP_UNKNOWN = 0,
/**
* this ramp type triggers a direct setting of the value without a ramp
*/
- RAMP_DIRECT = 0,
+ RAMP_GENIVI_DIRECT = 1,
/**
* This ramp type will set the volume as fast as possible.
*/
- RAMP_NO_BLOB = 1,
- RAMP_LOG = 2,
- RAMP_STRAIGHT = 3,
- RAMP_MAX = 4,
- RAMP_MIN = RAMP_DIRECT
+ RAMP_GENIVI_NO_PLOB = 2,
+ RAMP_GENIVI_EXP_INV = 3,
+ RAMP_GENIVI_LINEAR = 4,
+ RAMP_GENIVI_EXP = 5,
+ RAMP_MAX
};
/**
* sound properties. Within genivi only the standard properties are defined, for products these need to be extended.
* @author christian
* @version 1.0
- * @created 26-Jan-2012 6:00:52 PM
+ * @created 21-Feb-2012 10:06:54 AM
*/
enum am_SoundPropertyType_e
{
- SP_TREBLE = 0,
- SP_MID = 1,
- SP_BASS = 2,
- SP_MAX = 3,
- SP_MIN = SP_TREBLE
+ /**
+ * default
+ */
+ SP_UNKNOWN = 0,
+ /**
+ * example treble value min =-10 max =10
+ */
+ SP_EXAMPLE_TREBLE = 1,
+ /**
+ * example mid value min =-10 max =10
+ */
+ SP_EXAMPLE_MID = 2,
+ /**
+ * example bass value min =-10 max =10
+ */
+ SP_EXAMPLE_BASS = 3,
+ SP_MAX
};
/**
* Here are all SoundProperties that can be set via the CommandInterface. Product specific
* @author christian
* @version 1.0
- * @created 26-Jan-2012 6:00:52 PM
+ * @created 21-Feb-2012 10:06:54 AM
*/
enum am_MainSoundPropertyType_e
{
/**
- * gives the navigation offset in percent
+ * default
+ */
+ MSP_UNKNOWN = 0,
+ /**
+ * example value between -10 and +10
+ */
+ MSP_EXAMPLE_TREBLE = 1,
+ /**
+ * example value between -10 and +10
+ */
+ MSP_EXAMPLE_MID = 2,
+ /**
+ * example value between -10 and +10
*/
- MSP_NAVIGATION_OFFSET = 0,
- MSP_TEST = 1,
- MSP_BASS = 2,
- MSP_TREBLE = 3,
- MSP_MID = 4,
- MSP_MAX = 5,
- MSP_MIN = MSP_NAVIGATION_OFFSET
+ MSP_EXAMPLE_BASS = 3,
+ MSP_MAX
};
/**
* describes the different system properties. Project specific
* @author christian
* @version 1.0
- * @created 26-Jan-2012 6:00:52 PM
+ * @created 21-Feb-2012 10:06:54 AM
*/
enum am_SystemPropertyType_e
{
- SYP_TEST = 0,
- SYP_MAX = 1,
- SYP_MIN = SYP_TEST
+ /**
+ * default
+ */
+ SYP_UNKNOWN = 0,
+ SYP_MAX
};
}
-#endif // !defined(EA_9A582C38_7B95_4ebf_B316_F765C90F29C5__INCLUDED_)
+#endif // !defined(EA_3D55671A_C1DC_4042_9EBF_5738C754BF63__INCLUDED_)