/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
WatchApplication& WatchApplication::operator=(const WatchApplication& rhs) = default;
-WatchApplication::WatchApplication(WatchApplication&& rhs) = default;
+WatchApplication::WatchApplication(WatchApplication&& rhs) noexcept = default;
-WatchApplication& WatchApplication::operator=(WatchApplication&& rhs) = default;
+WatchApplication& WatchApplication::operator=(WatchApplication&& rhs) noexcept = default;
WatchApplication::WatchTimeSignal& WatchApplication::TimeTickSignal()
{
Application& Application::operator=(const Application& rhs) = default;
-Application::Application(Application&& rhs) = default;
+Application::Application(Application&& rhs) noexcept = default;
-Application& Application::operator=(Application&& rhs) = default;
+Application& Application::operator=(Application&& rhs) noexcept = default;
void Application::MainLoop()
{
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- Application(Application&& rhs);
+ Application(Application&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- Application& operator=(Application&& rhs);
+ Application& operator=(Application&& rhs) noexcept;
/**
* @brief Destructor.
*/
// CLASS HEADER
-#include "encoded-image-buffer.h"
+#include <dali/public-api/adaptor-framework/encoded-image-buffer.h>
// INTERNAL INCLUDES
#include <dali/internal/imaging/common/encoded-image-buffer-impl.h>
EncodedImageBuffer& EncodedImageBuffer::operator=(const EncodedImageBuffer& handle) = default;
-EncodedImageBuffer::EncodedImageBuffer(EncodedImageBuffer&& handle) = default;
+EncodedImageBuffer::EncodedImageBuffer(EncodedImageBuffer&& handle) noexcept = default;
-EncodedImageBuffer& EncodedImageBuffer::operator=(EncodedImageBuffer&& handle) = default;
+EncodedImageBuffer& EncodedImageBuffer::operator=(EncodedImageBuffer&& handle) noexcept = default;
const EncodedImageBuffer::RawBufferType& EncodedImageBuffer::GetRawBuffer() const
{
#ifndef DALI_ENCODED_IMAGE_BUFFER_H
#define DALI_ENCODED_IMAGE_BUFFER_H
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/**
* @brief EncodedImageBuffer contains the large encoded raw buffer informations.
*
+ * @SINCE_2_0.34
* @note Object will copy raw buffer data.
*/
class DALI_ADAPTOR_API EncodedImageBuffer : public BaseHandle
/**
* @brief Create a new EncodedImageBuffer.
*
+ * @SINCE_2_0.34
* @param [in] buffer The encoded raw buffer
* @return A handle to a new EncodedImageBuffer.
*/
/**
* @brief Create an empty handle.
*
+ * @SINCE_2_0.34
* Calling member functions of an empty handle is not allowed.
*/
EncodedImageBuffer();
/**
* @brief Destructor.
+ *
+ * This is non-virtual since derived Handle types must not contain data or virtual methods.
+ * @SINCE_2_0.34
*/
~EncodedImageBuffer();
/**
* @brief This copy constructor is required for (smart) pointer semantics.
*
+ * @SINCE_2_0.34
* @param [in] handle A reference to the copied handle
*/
EncodedImageBuffer(const EncodedImageBuffer& handle);
/**
* @brief This assignment operator is required for (smart) pointer semantics.
*
+ * @SINCE_2_0.34
* @param [in] handle A reference to the copied handle
* @return A reference to this
*/
/**
* @brief This move constructor is required for (smart) pointer semantics.
*
+ * @SINCE_2_0.34
* @param [in] handle A reference to the moved handle
*/
- EncodedImageBuffer(EncodedImageBuffer&& handle);
+ EncodedImageBuffer(EncodedImageBuffer&& handle) noexcept;
/**
* @brief This move assignment operator is required for (smart) pointer semantics.
*
+ * @SINCE_2_0.34
* @param [in] handle A reference to the moved handle
* @return A reference to this
*/
- EncodedImageBuffer& operator=(EncodedImageBuffer&& handle);
+ EncodedImageBuffer& operator=(EncodedImageBuffer&& handle) noexcept;
/**
* @brief Get raw buffer data
+ *
+ * @SINCE_2_0.34
* @note this method return const value. Mean, you cannot change raw buffer
* @return A RawBufferType this buffer have
*/
/**
* @brief Get the hash value of raw buffer
*
+ * @SINCE_2_1.20
* @return A hash value of raw buffer.
*/
const std::size_t GetHash() const;
Timer& Timer::operator=(const Timer& rhs) = default;
-Timer::Timer(Timer&& rhs) = default;
+Timer::Timer(Timer&& rhs) noexcept = default;
-Timer& Timer::operator=(Timer&& rhs) = default;
+Timer& Timer::operator=(Timer&& rhs) noexcept = default;
Timer::~Timer()
{
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- Timer(Timer&& rhs);
+ Timer(Timer&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- Timer& operator=(Timer&& rhs);
+ Timer& operator=(Timer&& rhs) noexcept;
/**
* @brief Destructor.
TtsPlayer& TtsPlayer::operator=(const TtsPlayer& rhs) = default;
-TtsPlayer::TtsPlayer(TtsPlayer&& rhs) = default;
+TtsPlayer::TtsPlayer(TtsPlayer&& rhs) noexcept = default;
-TtsPlayer& TtsPlayer::operator=(TtsPlayer&& rhs) = default;
+TtsPlayer& TtsPlayer::operator=(TtsPlayer&& rhs) noexcept = default;
void TtsPlayer::Play(const std::string& text)
{
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- TtsPlayer(TtsPlayer&& rhs);
+ TtsPlayer(TtsPlayer&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- TtsPlayer& operator=(TtsPlayer&& rhs);
+ TtsPlayer& operator=(TtsPlayer&& rhs) noexcept;
/**
* @brief Starts playing the audio data synthesized from the specified text.
WidgetApplication& WidgetApplication::operator=(const WidgetApplication& rhs) = default;
-WidgetApplication::WidgetApplication(WidgetApplication&& rhs) = default;
+WidgetApplication::WidgetApplication(WidgetApplication&& rhs) noexcept = default;
-WidgetApplication& WidgetApplication::operator=(WidgetApplication&& rhs) = default;
+WidgetApplication& WidgetApplication::operator=(WidgetApplication&& rhs) noexcept = default;
void WidgetApplication::RegisterWidgetCreatingFunction(const std::string& widgetName, CreateWidgetFunction createFunction)
{
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- WidgetApplication(WidgetApplication&& rhs);
+ WidgetApplication(WidgetApplication&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- WidgetApplication& operator=(WidgetApplication&& rhs);
+ WidgetApplication& operator=(WidgetApplication&& rhs) noexcept;
/**
* @brief Destructor
Widget& Widget::operator=(const Widget& rhs) = default;
-Widget::Widget(Widget&& rhs) = default;
+Widget::Widget(Widget&& rhs) noexcept = default;
-Widget& Widget::operator=(Widget&& rhs) = default;
+Widget& Widget::operator=(Widget&& rhs) noexcept = default;
Widget::Widget(Internal::Adaptor::Widget* widget)
: BaseHandle(widget)
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- Widget(Widget&& rhs);
+ Widget(Widget&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- Widget& operator=(Widget&& rhs);
+ Widget& operator=(Widget&& rhs) noexcept;
/**
* @brief Destructor
Window& Window::operator=(const Window& rhs) = default;
-Window::Window(Window&& rhs) = default;
+Window::Window(Window&& rhs) noexcept = default;
-Window& Window::operator=(Window&& rhs) = default;
+Window& Window::operator=(Window&& rhs) noexcept = default;
Window Window::DownCast(BaseHandle handle)
{
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- Window(Window&& rhs);
+ Window(Window&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- Window& operator=(Window&& rhs);
+ Window& operator=(Window&& rhs) noexcept;
/**
* @brief Downcast sceneHolder to window
Capture& Capture::operator=(const Capture& rhs) = default;
-Capture::Capture(Capture&& rhs) = default;
+Capture::Capture(Capture&& rhs)noexcept = default;
-Capture& Capture::operator=(Capture&& rhs) = default;
+Capture& Capture::operator=(Capture&& rhs)noexcept = default;
void Capture::Start(Actor source, const Vector2& position, const Vector2& size, const std::string& path, const Vector4& clearColor)
{
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- Capture(Capture&& rhs);
+ Capture(Capture&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- Capture& operator=(Capture&& rhs);
+ Capture& operator=(Capture&& rhs) noexcept;
/**
* @brief Start capture and save the image as a file.
* @SINCE_1_9.24
* @param[in] rhs A reference to the moved handle
*/
- WatchApplication(WatchApplication&& rhs);
+ WatchApplication(WatchApplication&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- WatchApplication& operator=(WatchApplication&& rhs);
+ WatchApplication& operator=(WatchApplication&& rhs) noexcept;
/**
* @brief Destructor