3#ifndef _StorageDevice_0_dunedaq__confmodel_0_confmodel_H_
4#define _StorageDevice_0_dunedaq__confmodel_0_confmodel_H_
34 virtual
void init(
bool init_children);
52 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
96 std::lock_guard scoped_lock(
m_mutex);
112 std::lock_guard scoped_lock(
m_mutex);
123 inline std::ostream&
operator<<(std::ostream& s,
const StorageDevice& obj)
125 return obj.print_object(s);
void set_by_val(const std::string &name, T value)
Set attribute value.
The base class for any generated DAL object.
std::mutex m_mutex
Used to protect changes of DAL object.
ConfigObject p_obj
Config object used by given template object.
void check_init() const
Check and initialize object if necessary.
DalRegistry: A registry of DalObjects It provides a single interface to create, cache and manage DalO...
StorageDevice(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_storage(uint32_t value)
Set "storage" attribute value. Amount of disk storage available for output data on this host in GB.
virtual std::vector< const dunedaq::conffwk::DalObject * > get(const std::string &name, bool upcast_unregistered=true) const
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject...
static const std::string & __get_storage_str() noexcept
virtual void init(bool init_children)
friend class conffwk::DalFactory
static const std::string & s_class_name
friend class conffwk::DalObject
virtual ~StorageDevice() noexcept
static const std::string s_storage
uint32_t get_storage() const
Get "storage" attribute value. Amount of disk storage available for output data on this host in GB.
std::vector< constStorageDevice * >::const_iterator StorageDeviceIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)