namespace Dali
{
+/**
+ * @addtogroup dali_core_signals
+ * @{
+ */
/**
* @brief SlotDelegates can be used to connect member functions to signals, without inheriting from SlotDelegateInterface.
* };
*
* @endcode
+ * @SINCE_1_0.0
*/
template <typename Slot>
class SlotDelegate
/**
* @brief Constructor.
*
- * @param[in] slot The object with a callback.
+ * @SINCE_1_0.0
+ * @param[in] slot The object with a callback
*/
SlotDelegate( Slot* slot )
: mSlot( slot )
/**
* @brief Non-virtual destructor.
*
+ * @SINCE_1_0.0
*/
~SlotDelegate()
{
}
/**
- * @brief Disconnect all signals from this object.
+ * @brief Disconnects all signals from this object.
*
+ * @SINCE_1_0.0
*/
void DisconnectAll()
{
}
/**
- * @brief Retrieve the slot object.
+ * @brief Retrieves the slot object.
*
- * @return The object with a callback.
+ * @SINCE_1_0.0
+ * @return The object with a callback
*/
Slot* GetSlot()
{
}
/**
- * @brief Retrieve the connection tracker component.
+ * @brief Retrieves the connection tracker component.
*
- * @return The connection tracker component.
+ * @SINCE_1_0.0
+ * @return The connection tracker component
*/
ConnectionTracker* GetConnectionTracker()
{
private:
- SlotDelegate( const SlotDelegate& ); ///< undefined copy constructor
- SlotDelegate& operator=( const SlotDelegate& ); ///< undefined assignment operator
+ SlotDelegate( const SlotDelegate& ); ///< undefined copy constructor @SINCE_1_0.0
+ SlotDelegate& operator=( const SlotDelegate& ); ///< undefined assignment operator @SINCE_1_0.0
private:
ConnectionTracker mConnectionTracker; ///< A connection tracker
};
+/**
+ * @}
+ */
} // namespace Dali
#endif // __DALI_SLOT_DELEGATE_H__