summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp')
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp116
1 files changed, 96 insertions, 20 deletions
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp
index ab69bbb..b3bec03 100644
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp
@@ -1,28 +1,26 @@
/*
-* This file was generated by the CommonAPI Generators.
-*
-* This file was generated by the CommonAPI Generators.
-*
-* This file was generated by the CommonAPI Generators.
-*
-* Copyright (C) 2012, BMW AG
-*
-* This file is part of GENIVI Project AudioManager.
-*
-* 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/.
-*
+* This file was generated by the CommonAPI Generators.
+* Used org.genivi.commonapi.core 2.1.1.201309251246.
+* Used org.franca.core 0.8.9.201308271211.
*
+* Copyright (c) 2012 BMW
+*
* \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
-* \author Christian Linke christian.linke@bmw.de BMW 2013
-*
+*
+* \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/.
*/
+/**
+ * @author Christian Linke
+ */
#include "am.h"
@@ -30,6 +28,59 @@ namespace org {
namespace genivi {
namespace am {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
am_Route_s::am_Route_s(const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_RoutingElement_L& routeValue):
sourceID(sourceIDValue),
sinkID(sinkIDValue),
@@ -60,6 +111,7 @@ void am_Route_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) cons
outputStream << sinkID;
outputStream << route;
}
+
am_Availability_s::am_Availability_s(const am_Availability_e& availabilityValue, const am_AvailabilityReason_pe& availabilityReasonValue):
availability(availabilityValue),
availabilityReason(availabilityReasonValue)
@@ -86,6 +138,7 @@ void am_Availability_s::writeToOutputStream(CommonAPI::OutputStream& outputStrea
outputStream << availability;
outputStream << availabilityReason;
}
+
am_ClassProperty_s::am_ClassProperty_s(const am_ClassProperty_pe& classPropertyValue, const int16_t& valueValue):
classProperty(classPropertyValue),
value(valueValue)
@@ -112,6 +165,7 @@ void am_ClassProperty_s::writeToOutputStream(CommonAPI::OutputStream& outputStre
outputStream << classProperty;
outputStream << value;
}
+
am_Crossfader_s::am_Crossfader_s(const am_crossfaderID_t& crossfaderIDValue, const std::string& nameValue, const am_sinkID_t& sinkID_AValue, const am_sinkID_t& sinkID_BValue, const am_sourceID_t& sourceIDValue, const am_HotSink_e& hotSinkValue):
crossfaderID(crossfaderIDValue),
name(nameValue),
@@ -154,6 +208,7 @@ void am_Crossfader_s::writeToOutputStream(CommonAPI::OutputStream& outputStream)
outputStream << sourceID;
outputStream << hotSink;
}
+
am_Gateway_s::am_Gateway_s(const am_gatewayID_t& gatewayIDValue, const std::string& nameValue, const am_sinkID_t& sinkIDValue, const am_sourceID_t& sourceIDValue, const am_domainID_t& domainSinkIDValue, const am_domainID_t& domainSourceIDValue, const am_domainID_t& controlDomainIDValue, const am_ConnectionFormat_L& listSourceFormatsValue, const am_ConnectionFormat_L& listSinkFormatsValue, const am_Convertion_L& convertionMatrixValue):
gatewayID(gatewayIDValue),
name(nameValue),
@@ -212,6 +267,7 @@ void am_Gateway_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) co
outputStream << listSinkFormats;
outputStream << convertionMatrix;
}
+
am_RoutingElement_s::am_RoutingElement_s(const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_domainID_t& domainIDValue, const am_ConnectionFormat_pe& connectionFormatValue):
sourceID(sourceIDValue),
sinkID(sinkIDValue),
@@ -246,6 +302,7 @@ void am_RoutingElement_s::writeToOutputStream(CommonAPI::OutputStream& outputStr
outputStream << domainID;
outputStream << connectionFormat;
}
+
am_SoundProperty_s::am_SoundProperty_s(const am_SoundPropertyType_pe& typeValue, const int16_t& valueValue):
type(typeValue),
value(valueValue)
@@ -272,6 +329,7 @@ void am_SoundProperty_s::writeToOutputStream(CommonAPI::OutputStream& outputStre
outputStream << type;
outputStream << value;
}
+
am_SystemProperty_s::am_SystemProperty_s(const am_SystemPropertyType_pe& typeValue, const int16_t& valueValue):
type(typeValue),
value(valueValue)
@@ -298,6 +356,7 @@ void am_SystemProperty_s::writeToOutputStream(CommonAPI::OutputStream& outputStr
outputStream << type;
outputStream << value;
}
+
am_SinkClass_s::am_SinkClass_s(const am_sinkClass_t& sinkClassIDValue, const std::string& nameValue, const am_ClassProperty_L& listClassPropertiesValue):
sinkClassID(sinkClassIDValue),
name(nameValue),
@@ -328,6 +387,7 @@ void am_SinkClass_s::writeToOutputStream(CommonAPI::OutputStream& outputStream)
outputStream << name;
outputStream << listClassProperties;
}
+
am_SourceClass_s::am_SourceClass_s(const am_sourceClass_t& sourceClassIDValue, const std::string& nameValue, const am_ClassProperty_L& listClassPropertiesValue):
sourceClassID(sourceClassIDValue),
name(nameValue),
@@ -358,6 +418,7 @@ void am_SourceClass_s::writeToOutputStream(CommonAPI::OutputStream& outputStream
outputStream << name;
outputStream << listClassProperties;
}
+
am_SourceType_s::am_SourceType_s(const am_sourceID_t& sourceIDValue, const std::string& nameValue, const am_Availability_s& availabilityValue, const am_sourceClass_t& sourceClassIDValue):
sourceID(sourceIDValue),
name(nameValue),
@@ -392,6 +453,7 @@ void am_SourceType_s::writeToOutputStream(CommonAPI::OutputStream& outputStream)
outputStream << availability;
outputStream << sourceClassID;
}
+
am_SinkType_s::am_SinkType_s(const am_sinkID_t& sinkIDValue, const std::string& nameValue, const am_Availability_s& availabilityValue, const am_mainVolume_t& volumeValue, const am_MuteState_e& muteStateValue, const am_sinkClass_t& sinkClassIDValue):
sinkID(sinkIDValue),
name(nameValue),
@@ -434,6 +496,7 @@ void am_SinkType_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) c
outputStream << muteState;
outputStream << sinkClassID;
}
+
am_Handle_s::am_Handle_s(const am_Handle_e& handleTypeValue, const uint16_t& handleValue):
handleType(handleTypeValue),
handle(handleValue)
@@ -460,6 +523,7 @@ void am_Handle_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) con
outputStream << handleType;
outputStream << handle;
}
+
am_MainSoundProperty_s::am_MainSoundProperty_s(const am_MainSoundPropertyType_pe& typeValue, const int16_t& valueValue):
type(typeValue),
value(valueValue)
@@ -486,6 +550,7 @@ void am_MainSoundProperty_s::writeToOutputStream(CommonAPI::OutputStream& output
outputStream << type;
outputStream << value;
}
+
am_MainConnectionType_s::am_MainConnectionType_s(const am_mainConnectionID_t& mainConnectionIDValue, const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_timeSync_t& delayValue, const am_ConnectionState_e& connectionStateValue):
mainConnectionID(mainConnectionIDValue),
sourceID(sourceIDValue),
@@ -524,6 +589,7 @@ void am_MainConnectionType_s::writeToOutputStream(CommonAPI::OutputStream& outpu
outputStream << delay;
outputStream << connectionState;
}
+
am_MainConnection_s::am_MainConnection_s(const am_mainConnectionID_t& mainConnectionIDValue, const am_ConnectionState_e& connectionStateValue, const am_sinkID_t& sinkIDValue, const am_sourceID_t& sourceIDValue, const am_timeSync_t& delayValue, const am_ConnectionID_L& listConnectionIDValue):
mainConnectionID(mainConnectionIDValue),
connectionState(connectionStateValue),
@@ -566,6 +632,7 @@ void am_MainConnection_s::writeToOutputStream(CommonAPI::OutputStream& outputStr
outputStream << delay;
outputStream << listConnectionID;
}
+
am_NotificationPayload_s::am_NotificationPayload_s(const am_NotificationType_pe& typeValue, const int16_t& valueValue):
type(typeValue),
value(valueValue)
@@ -592,6 +659,7 @@ void am_NotificationPayload_s::writeToOutputStream(CommonAPI::OutputStream& outp
outputStream << type;
outputStream << value;
}
+
am_NotificationConfiguration_s::am_NotificationConfiguration_s(const am_NotificationType_pe& typeValue, const am_NotificationStatus_e& statusValue, const int16_t& parameterValue):
type(typeValue),
status(statusValue),
@@ -622,6 +690,7 @@ void am_NotificationConfiguration_s::writeToOutputStream(CommonAPI::OutputStream
outputStream << status;
outputStream << parameter;
}
+
am_Sink_s::am_Sink_s(const am_sinkID_t& sinkIDValue, const std::string& nameValue, const am_domainID_t& domainIDValue, const am_sinkClass_t& sinkClassIDValue, const am_volume_t& volumeValue, const bool& visibleValue, const am_Availability_s& availableValue, const am_MuteState_e& muteStateValue, const am_mainVolume_t& mainVolumeValue, const am_SoundProperty_L& listSoundPropertiesValue, const am_ConnectionFormat_L& listConnectionFormatsValue, const am_MainSoundProperty_L& listMainSoundPropertiesValue, const am_NotificationConfiguration_L& listMainNotificationConfigurationsValue, const am_NotificationConfiguration_L& listNotificationConfigurationsValue):
sinkID(sinkIDValue),
name(nameValue),
@@ -696,6 +765,7 @@ void am_Sink_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const
outputStream << listMainNotificationConfigurations;
outputStream << listNotificationConfigurations;
}
+
am_Source_s::am_Source_s(const am_sourceID_t& sourceIDValue, const am_domainID_t& domainIDValue, const std::string& nameValue, const am_sourceClass_t& sourceClassIDValue, const am_SourceState_e& sourceStateValue, const am_volume_t& volumeValue, const bool& visibleValue, const am_Availability_s& availableValue, const am_InterruptState_e& interruptStateValue, const am_SoundProperty_L& listSoundPropertiesValue, const am_ConnectionFormat_L& listConnectionFormatsValue, const am_MainSoundProperty_L& listMainSoundPropertiesValue, const am_NotificationConfiguration_L& listMainNotificationConfigurationsValue, const am_NotificationConfiguration_L& listNotificationConfigurationsValue):
sourceID(sourceIDValue),
domainID(domainIDValue),
@@ -770,6 +840,7 @@ void am_Source_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) con
outputStream << listMainNotificationConfigurations;
outputStream << listNotificationConfigurations;
}
+
am_Domain_s::am_Domain_s(const am_domainID_t& domainIDValue, const std::string& nameValue, const std::string& busnameValue, const std::string& nodenameValue, const bool& earlyValue, const bool& completeValue, const am_DomainState_e& stateValue):
domainID(domainIDValue),
name(nameValue),
@@ -816,6 +887,7 @@ void am_Domain_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) con
outputStream << complete;
outputStream << state;
}
+
am_EarlyData_s::am_EarlyData_s(const am_EarlyDataType_e& typeValue, const am_DataType_u& sinksourceValue, const am_EarlyData_u& dataValue):
type(typeValue),
sinksource(sinksourceValue),
@@ -846,6 +918,7 @@ void am_EarlyData_s::writeToOutputStream(CommonAPI::OutputStream& outputStream)
outputStream << sinksource;
outputStream << data;
}
+
am_Connection_s::am_Connection_s(const am_connectionID_t& connectionIDValue, const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_timeSync_t& delayValue, const am_ConnectionFormat_pe& connectionFormatValue):
connectionID(connectionIDValue),
sourceID(sourceIDValue),
@@ -884,6 +957,7 @@ void am_Connection_s::writeToOutputStream(CommonAPI::OutputStream& outputStream)
outputStream << delay;
outputStream << connectionFormat;
}
+
am_Volumes_s::am_Volumes_s(const am_VolumeType_e& volumeTypeValue, const am_DataType_u& volumeIDValue, const am_volume_t& volumeValue, const am_RampType_pe& rampValue, const am_time_t& timeValue):
volumeType(volumeTypeValue),
volumeID(volumeIDValue),
@@ -923,6 +997,8 @@ void am_Volumes_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) co
outputStream << time;
}
+
+
} // namespace am
} // namespace genivi
} // namespace org