summaryrefslogtreecommitdiff
path: root/PluginCommandInterfaceCAPI/src-gen/org/genivi/audiomanager/CommandInterfaceStubDefault.h
diff options
context:
space:
mode:
Diffstat (limited to 'PluginCommandInterfaceCAPI/src-gen/org/genivi/audiomanager/CommandInterfaceStubDefault.h')
-rw-r--r--PluginCommandInterfaceCAPI/src-gen/org/genivi/audiomanager/CommandInterfaceStubDefault.h124
1 files changed, 124 insertions, 0 deletions
diff --git a/PluginCommandInterfaceCAPI/src-gen/org/genivi/audiomanager/CommandInterfaceStubDefault.h b/PluginCommandInterfaceCAPI/src-gen/org/genivi/audiomanager/CommandInterfaceStubDefault.h
new file mode 100644
index 0000000..a2610c2
--- /dev/null
+++ b/PluginCommandInterfaceCAPI/src-gen/org/genivi/audiomanager/CommandInterfaceStubDefault.h
@@ -0,0 +1,124 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (c) 2012 BMW
+ *
+ * \author Aleksandar Donchev, aleksander.donchev@partner.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/.
+*/
+#ifndef ORG_GENIVI_AUDIOMANAGER_Command_Interface_STUB_DEFAULT_H_
+#define ORG_GENIVI_AUDIOMANAGER_Command_Interface_STUB_DEFAULT_H_
+
+#include <org/genivi/audiomanager/CommandInterfaceStub.h>
+
+namespace org {
+namespace genivi {
+namespace audiomanager {
+
+/**
+ * Provides a default implementation for CommandInterfaceStubRemoteEvent and
+ * CommandInterfaceStub. Method callbacks have an empty implementation,
+ * remote set calls on attributes will always change the value of the attribute
+ * to the one received.
+ *
+ * Override this stub if you only want to provide a subset of the functionality
+ * that would be defined for this service, and/or if you do not need any non-default
+ * behaviour.
+ */
+class CommandInterfaceStubDefault : public CommandInterfaceStub {
+ public:
+ CommandInterfaceStubDefault();
+
+ CommandInterfaceStubRemoteEvent* initStubAdapter(const std::shared_ptr<CommandInterfaceStubAdapter>& stubAdapter);
+
+
+ virtual void Connect(CommandInterface::am_sourceID_t sourceID, CommandInterface::am_sinkID_t sinkID, CommandInterface::am_Error_e& result, CommandInterface::am_mainConnectionID_t& mainConnectionID);
+
+ virtual void Disconnect(CommandInterface::am_mainConnectionID_t mainConnectionID, CommandInterface::am_Error_e& result);
+
+ virtual void SetVolume(CommandInterface::am_sinkID_t sinkID, CommandInterface::am_mainVolume_t volume, CommandInterface::am_Error_e& result);
+
+ virtual void VolumeStep(CommandInterface::am_sinkID_t sinkID, CommandInterface::am_mainVolume_t volumeStep, CommandInterface::am_Error_e& result);
+
+ virtual void SetSinkMuteState(CommandInterface::am_sinkID_t sinkID, CommandInterface::am_MuteState_e muteState, CommandInterface::am_Error_e& result);
+
+ virtual void SetMainSinkSoundProperty(CommandInterface::am_sinkID_t sinkID, CommandInterface::am_MainSoundProperty_s soundProperty, CommandInterface::am_Error_e& result);
+
+ virtual void SetMainSourceSoundProperty(CommandInterface::am_sourceID_t sourceID, CommandInterface::am_MainSoundProperty_s soundProperty, CommandInterface::am_Error_e& result);
+
+ virtual void SetSystemProperty(CommandInterface::am_SystemProperty_s soundProperty, CommandInterface::am_Error_e& result);
+
+ virtual void GetListMainConnections(CommandInterface::am_Error_e& result, CommandInterface::am_MainConnectionType_l& listConnections);
+
+ virtual void GetListMainSinks(CommandInterface::am_Error_e& result, CommandInterface::am_SinkType_l& listMainSinks);
+
+ virtual void GetListMainSources(CommandInterface::am_Error_e& result, CommandInterface::am_SourceType_l& listMainSources);
+
+ virtual void GetListMainSinkSoundProperties(CommandInterface::am_sinkID_t sinkID, CommandInterface::am_Error_e& result, CommandInterface::am_MainSoundProperty_l& listSoundProperties);
+
+ virtual void GetListMainSourceSoundProperties(CommandInterface::am_sourceID_t sourceID, CommandInterface::am_Error_e& result, CommandInterface::am_MainSoundProperty_l& listSourceProperties);
+
+ virtual void GetListSourceClasses(CommandInterface::am_Error_e& result, CommandInterface::am_SourceClass_l& listSourceClasses);
+
+ virtual void GetListSinkClasses(CommandInterface::am_Error_e& result, CommandInterface::am_SinkClass_l& listSinkClasses);
+
+ virtual void GetListSystemProperties(CommandInterface::am_Error_e& result, CommandInterface::am_SystemProperty_l& listSystemProperties);
+
+ virtual void GetTimingInformation(CommandInterface::am_mainConnectionID_t mainConnectionID, CommandInterface::am_Error_e& result, CommandInterface::am_timeSync_t& delay);
+
+
+ virtual void fireNumberOfMainConnectionsChangedEvent();
+ virtual void fireMainConnectionStateChangedEvent(const CommandInterface::am_mainConnectionID_t& connectionID, const CommandInterface::am_ConnectionState_e& connectionState);
+ virtual void fireNumberOfSourceClassesChangedEvent();
+ virtual void fireSourceAddedEvent(const CommandInterface::am_SourceType_s& newSource);
+ virtual void fireSourceRemovedEvent(const CommandInterface::am_sourceID_t& removedSourceID);
+ virtual void fireMainSourceSoundPropertyChangedEvent(const CommandInterface::am_sourceID_t& sourceID, const CommandInterface::am_MainSoundProperty_s& SoundProperty);
+ virtual void fireSourceAvailabilityChangedEvent(const CommandInterface::am_sourceID_t& sourceID, const CommandInterface::am_Availability_s& availability);
+ virtual void fireNumberOfSinkClassesChangedEvent();
+ virtual void fireSinkAddedEvent(const CommandInterface::am_SinkType_s& newSink);
+ virtual void fireSinkRemovedEvent(const CommandInterface::am_sinkID_t& removedSinkID);
+ virtual void fireMainSinkSoundPropertyChangedEvent(const CommandInterface::am_sinkID_t& sinkID, const CommandInterface::am_MainSoundProperty_s& SoundProperty);
+ virtual void fireSinkAvailabilityChangedEvent(const CommandInterface::am_sinkID_t& sinkID, const CommandInterface::am_Availability_s& availability);
+ virtual void fireVolumeChangedEvent(const CommandInterface::am_sinkID_t& sinkID, const CommandInterface::am_mainVolume_t& volume);
+ virtual void fireSinkMuteStateChangedEvent(const CommandInterface::am_sinkID_t& sinkID, const CommandInterface::am_MuteState_e& muteState);
+ virtual void fireSystemPropertyChangedEvent(const CommandInterface::am_SystemProperty_s& SystemProperty);
+ virtual void fireTimingInformationChangedEvent(const CommandInterface::am_mainConnectionID_t& mainConnection, const CommandInterface::am_timeSync_t& time);
+ virtual void fireSinkUpdatedEvent(const CommandInterface::am_sinkID_t& sinkID, const CommandInterface::am_sinkClass_t& sinkClassID, const CommandInterface::am_MainSoundProperty_l& listMainSoundProperties);
+ virtual void fireSourceUpdatedEvent(const CommandInterface::am_sourceID_t& sourceID, const CommandInterface::am_sourceClass_t& sourceClassID, const CommandInterface::am_MainSoundProperty_l& listMainSoundProperties);
+ virtual void fireSinkNotificationEvent(const CommandInterface::am_sinkID_t& sinkID, const CommandInterface::am_NotificationPayload_s& notification);
+ virtual void fireSourceNotificationEvent(const CommandInterface::am_sourceID_t& sourceID, const CommandInterface::am_NotificationPayload_s& notification);
+ virtual void fireMainSinkNotificationConfigurationChangedEvent(const CommandInterface::am_sinkID_t& sinkID, const am::am_NotificationConfiguration_s& mainNotificationConfiguration);
+ virtual void fireMainSourceNotificationConfigurationChangedEvent(const CommandInterface::am_sourceID_t& sourceID, const am::am_NotificationConfiguration_s& mainNotificationConfiguration);
+
+ protected:
+
+ private:
+ class RemoteEventHandler: public CommandInterfaceStubRemoteEvent {
+ public:
+ RemoteEventHandler(CommandInterfaceStubDefault* defaultStub);
+
+
+ private:
+ CommandInterfaceStubDefault* defaultStub_;
+ };
+
+ RemoteEventHandler remoteEventHandler_;
+ std::shared_ptr<CommandInterfaceStubAdapter> stubAdapter_;
+
+};
+
+} // namespace audiomanager
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AUDIOMANAGER_Command_Interface_STUB_DEFAULT_H_