remove unused base class function
This commit is contained in:
parent
d87fbcf25d
commit
f5d99a03e6
|
@ -196,16 +196,6 @@ std::shared_ptr<Universe> Universe::sourceUniverse(const DATA::data_header& src)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Universe::addNewSource
|
||||
* @return
|
||||
*/
|
||||
std::shared_ptr<Universe> Universe::addNewSource(const DATA::data_header&)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Add a callback to be notified when the source list changes.
|
||||
* @param callback
|
||||
|
|
|
@ -49,6 +49,8 @@ public:
|
|||
explicit Universe(Source* = nullptr);
|
||||
virtual ~Universe();
|
||||
|
||||
/// The Tx capabilities of the universe are impimented
|
||||
/// in the helper class sACN::UniverseSender.
|
||||
friend class UniverseSender;
|
||||
|
||||
virtual std::shared_ptr<DATA::data_header> metadata() const;
|
||||
|
@ -67,7 +69,6 @@ public:
|
|||
virtual bool hasSources() const {return false;} //!< is not a poly-source universe @return
|
||||
virtual const std::vector<DATA::data_header> sources() const;
|
||||
virtual std::shared_ptr<Universe> sourceUniverse(const DATA::data_header&);
|
||||
virtual std::shared_ptr<Universe> addNewSource(const DATA::data_header&);
|
||||
virtual std::shared_ptr<void> onSourceListChange(const std::function<void(DMX::Universe*)>);
|
||||
virtual void setHoldLastLook(const bool);
|
||||
virtual bool getHoldLastLook() const;
|
||||
|
|
|
@ -61,6 +61,7 @@ public:
|
|||
|
||||
// Source universes:
|
||||
void deleteSourceUniverse(const DATA::data_header&);
|
||||
std::shared_ptr<Universe> addNewSource(const DATA::data_header&);
|
||||
|
||||
// DMX::Universe overrides:
|
||||
virtual uint8_t status() const override;
|
||||
|
@ -78,7 +79,6 @@ public:
|
|||
virtual bool hasSources() const override {return true;} //!< is a poly-source universe @return
|
||||
const std::vector<DATA::data_header> sources() const override;
|
||||
std::shared_ptr<Universe> sourceUniverse(const DATA::data_header&) override;
|
||||
std::shared_ptr<Universe> addNewSource(const DATA::data_header&) override;
|
||||
std::shared_ptr<void> onSourceListChange(const std::function<void(DMX::Universe*)>) override;
|
||||
virtual void setHoldLastLook(const bool) override;
|
||||
virtual bool getHoldLastLook() const override;
|
||||
|
|
Loading…
Reference in New Issue