diff --git a/src/openlcb/BroadcastTime.hxx b/src/openlcb/BroadcastTime.hxx index d99de21c0..5b6f54a82 100644 --- a/src/openlcb/BroadcastTime.hxx +++ b/src/openlcb/BroadcastTime.hxx @@ -39,6 +39,7 @@ #include "openlcb/BroadcastTimeDefs.hxx" #include "openlcb/EventHandlerTemplates.hxx" +#include "utils/TimeBase.hxx" namespace openlcb { @@ -46,7 +47,7 @@ namespace openlcb /// Implementation of Broadcast Time Protocol. class BroadcastTime : public SimpleEventHandler , public StateFlowBase - , protected Atomic + , public TimeBase { public: typedef std::vector>::size_type UpdateSubscribeHandle; @@ -121,230 +122,6 @@ public: send_event(node_, eventBase_ | BroadcastTimeDefs::QUERY_EVENT_SUFFIX); } - /// Get the time as a value of seconds relative to the system epoch. At the - /// same time get an atomic matching pair of the rate - /// @return pair