21#ifndef LOCKABLE_DOBJECT_H
22#define LOCKABLE_DOBJECT_H
Defines the DObject class, a universal data container for the project.
A universal data container class.
void unlock()
Unlocks the mutex after thread-safe access.
DObject object_
The underlying DObject instance.
std::mutex mutex_
Mutex for thread-safe access.
DObject & get()
Access the underlying DObject.
void lock()
Locks the mutex to ensure thread-safe access.
LockableDObject()=default
Default constructor.