3#ifndef _FSMCommand_0_dunedaq__confmodel_0_confmodel_H_
4#define _FSMCommand_0_dunedaq__confmodel_0_confmodel_H_
31 virtual
void init(
bool init_children);
49 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
79 inline static const
std::
string s_cmd = "cmd";
95 std::lock_guard scoped_lock(
m_mutex);
110 std::lock_guard scoped_lock(
m_mutex);
126 std::lock_guard scoped_lock(
m_mutex);
141 std::lock_guard scoped_lock(
m_mutex);
152 inline std::ostream&
operator<<(std::ostream& s,
const FSMCommand& obj)
154 return obj.print_object(s);
void set_by_val(const std::string &name, T value)
Set attribute value.
void set_by_ref(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...
static const std::string & __get_optional_str() noexcept
void set_cmd(const std::string &value)
Set "cmd" attribute value.
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...
virtual ~FSMCommand() noexcept
static const std::string s_cmd
static const std::string & __get_cmd_str() noexcept
static const std::string & s_class_name
virtual void init(bool init_children)
friend class conffwk::DalFactory
bool get_optional() const
Get "optional" attribute value.
const std::string & get_cmd() const
Get "cmd" attribute value.
void set_optional(bool value)
Set "optional" attribute value.
friend class conffwk::DalObject
FSMCommand(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string s_optional
std::vector< constFSMCommand * >::const_iterator FSMCommandIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)