31 #ifndef REALTIME_TOOLS__REALTIME_BOX_H__
32 #define REALTIME_TOOLS__REALTIME_BOX_H__
49 explicit RealtimeBox(
const T & initial = T()) : thing_(initial) {}
51 void set(
const T & value)
53 std::lock_guard<std::mutex> guard(thing_lock_RT_);
59 std::lock_guard<std::mutex> guard(thing_lock_RT_);
72 std::mutex thing_lock_RT_;