the status byte can be private
This commit is contained in:
parent
c00e0e1d9a
commit
d41ecc65bc
|
@ -82,13 +82,14 @@ class Universe {
|
|||
std::vector<std::weak_ptr<DataHandler>> callbacks_; //!< list of calback functions
|
||||
void doDataCallbacks(); //!< execute valid callbacks
|
||||
|
||||
uint8_t status_; //!< the operating state of the universe
|
||||
|
||||
private:
|
||||
std::queue<std::chrono::time_point<std::chrono::system_clock>> rx_times_;
|
||||
|
||||
void rx_timeout_(bool add_now = false);
|
||||
const int rx_timeout_period_;
|
||||
|
||||
uint8_t status_; //!< the operating state of the universe
|
||||
};
|
||||
|
||||
} // namespace DMX
|
||||
|
|
Loading…
Reference in New Issue