diff --git a/protocol/sacn/source.h b/protocol/sacn/source.h index a1d46df..be150c9 100644 --- a/protocol/sacn/source.h +++ b/protocol/sacn/source.h @@ -52,8 +52,10 @@ public: virtual void create(const uint16_t); virtual void terminate(const uint16_t); + std::shared_ptr universe(const uint16_t); + // from ACN::Component virtual void assignUserName(const std::string) override; @@ -67,9 +69,9 @@ protected: private: std::unordered_map > universes_; - mutable std::mutex universes_mutext_; + mutable std::mutex universes_mutext_; //!< thread safety protection for universes_ - /// > \cite 6.3.2 E1.31 Synchronization Packet: Sequence Number + /// > \cite sACN 6.3.2 E1.31 Synchronization Packet: Sequence Number /// > /// > Sources shall maintain a sequence for each universe they transmit. /// > The sequence number for a universe shall be incremented by one for