Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
DccAccyProducer.cxx
Go to the documentation of this file.
1
37
38namespace openlcb
39{
40
45
46} // namespace openlcb
Lightweight locking class for protecting small critical sections.
Definition Atomic.hxx:130
This class provides support for one time initialization.
Definition OS.hxx:206
static OSThreadOnce once_
one time execution helper
static uninitialized< BitRangeNonAuthoritativeEventP > eventProducer_
Singleton instance of a BitRangeNonAuthoritativeEventP for the DCC accessory address Well-Known Event...
static uninitialized< std::vector< DccAccyProducer * > > instances_
Vector of all the subscribers to the DCC accessory address Well-Known Event ID Range.
static void once_routine()
Called once.
static Atomic instancesLock_
This lock protects the instances_ vector;.
Template class that allows allocating storage for an object but not calling its constructor.