./src/commands/hmi/tts_set_global_properties_response.cc
./src/commands/hmi/tts_get_capabilities_request.cc
./src/commands/hmi/tts_get_capabilities_response.cc
-./src/commands/hmi/tts_perform_interaction_request.cc
-./src/commands/hmi/tts_perform_interaction_response.cc
+./src/commands/hmi/vr_perform_interaction_request.cc
+./src/commands/hmi/vr_perform_interaction_response.cc
./src/commands/hmi/ui_add_command_request.cc
./src/commands/hmi/ui_add_command_response.cc
./src/commands/hmi/ui_delete_command_request.cc
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_TTS_PERFORM_INTERACTION_REQUEST_H_
-#define SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_TTS_PERFORM_INTERACTION_REQUEST_H_
+#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_VR_PERFORM_INTERACTION_REQUEST_H_
+#define SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_VR_PERFORM_INTERACTION_REQUEST_H_
#include "application_manager/commands/hmi/request_to_hmi.h"
namespace commands {
/**
- * @brief TTSPerformInteractionRequest command class
+ * @brief VRPerformInteractionRequest command class
**/
-class TTSPerformInteractionRequest : public RequestToHMI {
+class VRPerformInteractionRequest : public RequestToHMI {
public:
/**
- * @brief TTSPerformInteractionRequest class constructor
+ * @brief VRPerformInteractionRequest class constructor
*
* @param message Incoming SmartObject message
**/
- explicit TTSPerformInteractionRequest(const MessageSharedPtr& message);
+ explicit VRPerformInteractionRequest(const MessageSharedPtr& message);
/**
- * @brief TTSPerformInteractionRequest class destructor
+ * @brief VRPerformInteractionRequest class destructor
**/
- virtual ~TTSPerformInteractionRequest();
+ virtual ~VRPerformInteractionRequest();
/**
* @brief Execute command
virtual void Run();
private:
- DISALLOW_COPY_AND_ASSIGN(TTSPerformInteractionRequest);
+ DISALLOW_COPY_AND_ASSIGN(VRPerformInteractionRequest);
};
} // namespace commands
} // namespace application_manager
-#endif // SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_TTS_PERFORM_INTERACTION_REQUEST_H_
+#endif // SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_VR_PERFORM_INTERACTION_REQUEST_H_
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_TTS_PERFORM_INTERACTION_RESPONSE_H_
-#define SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_TTS_PERFORM_INTERACTION_RESPONSE_H_
+#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_VR_PERFORM_INTERACTION_RESPONSE_H_
+#define SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_VR_PERFORM_INTERACTION_RESPONSE_H_
#include "application_manager/commands/hmi/response_from_hmi.h"
/**
* @brief TTSPerformInteractionResponse command class
**/
-class TTSPerformInteractionResponse : public ResponseFromHMI {
+class VRPerformInteractionResponse : public ResponseFromHMI {
public:
/**
* @brief TTSPerformInteractionResponse class constructor
*
* @param message Incoming SmartObject message
**/
- explicit TTSPerformInteractionResponse(const MessageSharedPtr& message);
+ explicit VRPerformInteractionResponse(const MessageSharedPtr& message);
/**
* @brief TTSPerformInteractionResponse class destructor
**/
- virtual ~TTSPerformInteractionResponse();
+ virtual ~VRPerformInteractionResponse();
/**
* @brief Execute command
virtual void Run();
private:
- DISALLOW_COPY_AND_ASSIGN(TTSPerformInteractionResponse);
+ DISALLOW_COPY_AND_ASSIGN(VRPerformInteractionResponse);
};
} // namespace commands
} // namespace application_manager
-#endif // SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_TTS_PERFORM_INTERACTION_RESPONSE_H_
+#endif // SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_HMI_VR_PERFORM_INTERACTION_RESPONSE_H_
* @param app_id Application ID
*
*/
- void SendTTSPerformInteractionRequest(
+ void SendVRPerformInteractionRequest(
application_manager::ApplicationSharedPtr const app);
/*
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "application_manager/commands/hmi/tts_perform_interaction_request.h"
+#include "application_manager/commands/hmi/vr_perform_interaction_request.h"
namespace application_manager {
namespace commands {
-TTSPerformInteractionRequest::TTSPerformInteractionRequest(
+VRPerformInteractionRequest::VRPerformInteractionRequest(
const MessageSharedPtr& message)
: RequestToHMI(message) {
}
-TTSPerformInteractionRequest::~TTSPerformInteractionRequest() {
+VRPerformInteractionRequest::~VRPerformInteractionRequest() {
}
-void TTSPerformInteractionRequest::Run() {
- LOG4CXX_INFO(logger_, "TTSPerformInteractionRequest::Run");
+void VRPerformInteractionRequest::Run() {
+ LOG4CXX_INFO(logger_, "VRPerformInteractionRequest::Run");
SendRequest();
}
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "application_manager/commands/hmi/tts_perform_interaction_response.h"
+#include "application_manager/commands/hmi/vr_perform_interaction_response.h"
namespace application_manager {
namespace commands {
-TTSPerformInteractionResponse::TTSPerformInteractionResponse(
+VRPerformInteractionResponse::VRPerformInteractionResponse(
const MessageSharedPtr& message)
: ResponseFromHMI(message) {
}
-TTSPerformInteractionResponse::~TTSPerformInteractionResponse() {
+VRPerformInteractionResponse::~VRPerformInteractionResponse() {
}
-void TTSPerformInteractionResponse::Run() {
- LOG4CXX_INFO(logger_, "TTSPerformInteractionResponse::Run");
+void VRPerformInteractionResponse::Run() {
+ LOG4CXX_INFO(logger_, "VRPerformInteractionResponse::Run");
}
} // namespace commands
}
app->set_perform_interaction_active(correlation_id);
- SendTTSPerformInteractionRequest(app);
+ SendVRPerformInteractionRequest(app);
SendUIPerformInteractionRequest(app);
break;
}
}
app->set_perform_interaction_active(correlation_id);
- SendTTSPerformInteractionRequest(app);
+ SendVRPerformInteractionRequest(app);
SendUIPerformInteractionRequest(app);
break;
}
// TODO(DK): need to implement timeout
app->set_perform_interaction_active(correlation_id);
- SendTTSPerformInteractionRequest(app);
+ SendVRPerformInteractionRequest(app);
SendUIPerformInteractionRequest(app);
break;
}
ProcessAppUnregisteredNotification(event.smart_object());
break;
}
- case hmi_apis::FunctionID::TTS_PerformInteraction: {
+ case hmi_apis::FunctionID::VR_PerformInteraction: {
LOG4CXX_INFO(logger_, "Received TTS_PerformInteraction");
tts_perform_interaction_code_ = static_cast<mobile_apis::Result::eType>(
event.smart_object()[strings::params][hmi_response::code].asInt());
&msg_params, true);
}
-void PerformInteractionRequest::SendTTSPerformInteractionRequest(
+void PerformInteractionRequest::SendVRPerformInteractionRequest(
application_manager::ApplicationSharedPtr const app) {
smart_objects::SmartObject msg_params =
smart_objects::SmartObject(smart_objects::SmartType_Map);
msg_params[strings::timeout] = default_timeout_;
}
- SendHMIRequest(hmi_apis::FunctionID::TTS_PerformInteraction, &msg_params,
+ SendHMIRequest(hmi_apis::FunctionID::VR_PerformInteraction, &msg_params,
true);
}
#include "application_manager/commands/hmi/tts_set_global_properties_response.h"
#include "application_manager/commands/hmi/tts_get_capabilities_request.h"
#include "application_manager/commands/hmi/tts_get_capabilities_response.h"
-#include "application_manager/commands/hmi/tts_perform_interaction_request.h"
-#include "application_manager/commands/hmi/tts_perform_interaction_response.h"
+#include "application_manager/commands/hmi/vr_perform_interaction_request.h"
+#include "application_manager/commands/hmi/vr_perform_interaction_response.h"
#include "application_manager/commands/hmi/vi_is_ready_request.h"
#include "application_manager/commands/hmi/vi_is_ready_response.h"
#include "application_manager/commands/hmi/vi_read_did_request.h"
}
break;
}
- case hmi_apis::FunctionID::TTS_PerformInteraction: {
+ case hmi_apis::FunctionID::VR_PerformInteraction: {
if (is_response) {
- command.reset(new commands::TTSPerformInteractionResponse(message));
+ command.reset(new commands::VRPerformInteractionResponse(message));
} else {
- command.reset(new commands::TTSPerformInteractionRequest(message));
+ command.reset(new commands::VRPerformInteractionRequest(message));
}
break;
}