#define __DALI_CONNECTION_TRACKER_H__
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
// INTERNAL INCLUDES
#include <dali/public-api/common/dali-common.h>
-#include <dali/public-api/common/vector-wrapper.h>
+#include <dali/public-api/common/dali-vector.h>
#include <dali/public-api/signals/connection-tracker-interface.h>
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
+/**
+ * @addtogroup dali_core_signals
+ * @{
+ */
class CallbackBase;
class SlotObserver;
/**
* @brief Connection tracker concrete implementation
+ * @SINCE_1_0.0
*/
-class ConnectionTracker : public ConnectionTrackerInterface
+class DALI_IMPORT_API ConnectionTracker : public ConnectionTrackerInterface
{
public:
/**
* @brief Constructor.
+ * @SINCE_1_0.0
*/
ConnectionTracker();
/**
* @brief Virtual destructor.
+ * @SINCE_1_0.0
*/
virtual ~ConnectionTracker();
/**
* @brief Disconnect all signals from this object.
+ * @SINCE_1_0.0
*/
void DisconnectAll();
virtual void SignalDisconnected( SlotObserver* slotObserver, CallbackBase* callback );
/**
- * @copydoc ConnectionTrackerInterface::GetConnectionCount
+ * @brief returns the connection count
+ * @SINCE_1_0.0
+ * @return the connection count
*/
- virtual std::size_t GetConnectionCount() const;
+ std::size_t GetConnectionCount() const;
private:
- ConnectionTracker( const ConnectionTracker& ); ///< undefined copy constructor
- ConnectionTracker& operator=( const ConnectionTracker& ); ///< undefined assignment operator
+ ConnectionTracker( const ConnectionTracker& ); ///< undefined copy constructor @SINCE_1_0.0
+ ConnectionTracker& operator=( const ConnectionTracker& ); ///< undefined assignment operator @SINCE_1_0.0
private:
- std::vector< SlotConnection* > mConnections; ///< Vector of connection pointers
+ Dali::Vector< SlotConnection* > mConnections; ///< Vector of connection pointers
};
+/**
+ * @}
+ */
} // namespace Dali
#endif // __DALI_CONNECTION_TRACKER_H__