|
|
@@ -46,21 +46,6 @@ public:
|
|
|
/*! @brief Unsigned integer type. */
|
|
|
using size_type = std::size_t;
|
|
|
|
|
|
- /*! @brief Default constructor, explicit on purpose. */
|
|
|
- explicit Bus() noexcept = default;
|
|
|
- /*! @brief Default destructor. */
|
|
|
- ~Bus() noexcept = default;
|
|
|
-
|
|
|
- /*! @brief Default copy constructor. */
|
|
|
- Bus(const Bus &) = default;
|
|
|
- /*! @brief Default move constructor. */
|
|
|
- Bus(Bus &&) = default;
|
|
|
-
|
|
|
- /*! @brief Default copy assignment operator. @return This bus. */
|
|
|
- Bus & operator=(const Bus &) = default;
|
|
|
- /*! @brief Default move assignment operator. @return This bus. */
|
|
|
- Bus & operator=(Bus &&) = default;
|
|
|
-
|
|
|
/**
|
|
|
* @brief Unregisters all the member functions of an instance.
|
|
|
*
|
|
|
@@ -117,7 +102,7 @@ public:
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @brief Returns false is at least a listener is connected to the bus.
|
|
|
+ * @brief Returns false if at least a listener is connected to the bus.
|
|
|
* @return True if the bus has no listeners connected, false otherwise.
|
|
|
*/
|
|
|
bool empty() const noexcept {
|
|
|
@@ -203,21 +188,6 @@ public:
|
|
|
/*! @brief Unsigned integer type. */
|
|
|
using size_type = typename signal_type::size_type;
|
|
|
|
|
|
- /*! @brief Default constructor, explicit on purpose. */
|
|
|
- explicit Bus() noexcept = default;
|
|
|
- /*! @brief Default destructor. */
|
|
|
- virtual ~Bus() noexcept = default;
|
|
|
-
|
|
|
- /*! @brief Default copy constructor. */
|
|
|
- Bus(const Bus &) = default;
|
|
|
- /*! @brief Default move constructor. */
|
|
|
- Bus(Bus &&) = default;
|
|
|
-
|
|
|
- /*! @brief Default copy assignment operator. @return This bus. */
|
|
|
- Bus & operator=(const Bus &) = default;
|
|
|
- /*! @brief Default move assignment operator. @return This bus. */
|
|
|
- Bus & operator=(Bus &&) = default;
|
|
|
-
|
|
|
/**
|
|
|
* @brief Unregisters member functions of instances.
|
|
|
*
|
|
|
@@ -259,7 +229,7 @@ public:
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @brief Returns false is at least a listener is connected to the bus.
|
|
|
+ * @brief Returns false if at least a listener is connected to the bus.
|
|
|
* @return True if the bus has no listeners connected, false otherwise.
|
|
|
*/
|
|
|
bool empty() const noexcept {
|