|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the CTBMonitorSocket object.
|
|
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 pointers.
|
|
bool | get_enable () const |
| Get "enable" attribute value.
|
|
void | set_enable (bool value) |
| Set "enable" attribute value.
|
|
uint64_t | get_port () const |
| Get "port" attribute value.
|
|
void | set_port (uint64_t value) |
| Set "port" attribute value.
|
|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the CTBMonitorSocket object.
|
|
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 pointers.
|
|
bool | get_enable () const |
| Get "enable" attribute value.
|
|
void | set_enable (bool value) |
| Set "enable" attribute value.
|
|
uint64_t | get_port () const |
| Get "port" attribute value.
|
|
void | set_port (uint64_t value) |
| Set "port" attribute value.
|
|
const std::string & | get_host () const |
| Get "host" attribute value.
|
|
void | set_host (const std::string &value) |
| Set "host" attribute value.
|
|
nlohmann::json | get_ctb_json (std::optional< std::string > socket_host=std::nullopt) const |
|
const std::string & | get_host () const |
| Get "host" attribute value.
|
|
void | set_host (const std::string &value) |
| Set "host" attribute value.
|
|
nlohmann::json | get_ctb_json (std::optional< std::string > socket_host=std::nullopt) const |
|
nlohmann::json | to_json (bool direct=false, bool skip_name=false) const |
|
nlohmann::json | to_json (bool direct=false, bool skip_name=false) const |
|
const std::string & | UID () const noexcept |
|
const std::string & | class_name () const noexcept |
|
bool | castable (const std::string &target) const noexcept |
|
bool | castable (const std::string *target) const noexcept |
|
template<class TARGET > |
const TARGET * | cast () const noexcept |
| Casts object to different class.
|
|
std::string | full_name () const noexcept |
|
const ConfigObject & | config_object () const |
|
DalRegistry & | registry () const noexcept |
|
Configuration & | configuration () const noexcept |
|
void | unread () |
|
void | set (const ConfigObject &o) noexcept |
|
void | move (const std::string &at) |
|
void | rename (const std::string &new_id) |
|
void | p_hdr (std::ostream &s, unsigned int indent, const std::string &cl, const char *nm=nullptr) const |
| print object headers
|
|
std::ostream & | print_object (std::ostream &s) const |
| print object details
|
|
void | throw_init_ex (dunedaq::conffwk::Exception &ex) |
| throw object initialisation exception (i.e.
|
|
|
static const std::string & | __get_enable_str () noexcept |
|
static const std::string & | __get_port_str () noexcept |
|
static const std::string & | __get_enable_str () noexcept |
|
static const std::string & | __get_port_str () noexcept |
|
static const std::string & | __get_host_str () noexcept |
|
static const std::string & | __get_host_str () noexcept |
|
static void | p_null (std::ostream &s) |
| print "(null)"
|
|
static void | p_rm (std::ostream &s) |
| print "(deleted object)"
|
|
static void | p_error (std::ostream &s, dunedaq::conffwk::Exception &ex) |
| print error text
|
|
static void | throw_get_ex (const std::string &what, const std::string &class_name, const DalObject *obj) |
| throw exception in generated get method (i.e.
|
|
static bool | is_null (const DalObject *ref) noexcept |
| check a pointer on DAL object is null
|
|
|
| CTBMonitorSocket (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~CTBMonitorSocket () noexcept |
|
virtual void | init (bool init_children) |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| CTBMonitorSocket (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~CTBMonitorSocket () noexcept |
|
virtual void | init (bool init_children) |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| CTBSocket (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~CTBSocket () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| CTBSocket (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~CTBSocket () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| Jsonable (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~Jsonable () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| Jsonable (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~Jsonable () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| DalObject (DalRegistry &db, const ConfigObject &o) noexcept |
|
virtual | ~DalObject () |
|
void | clear () noexcept |
|
void | check () const |
|
bool | is_deleted () const |
|
void | increment_created () noexcept |
|
void | increment_read () noexcept |
|
void | check_init () const |
| Check and initialize object if necessary.
|
|
template<typename T > |
void | _set_object (const std::string &name, const T *value) |
| Helper method for generated set single-value relationship methods.
|
|
template<typename T > |
void | _set_objects (const std::string &name, const std::vector< const T * > &value) |
| Helper method for generated set multi-value relationship methods.
|
|
bool | get_rel_objects (const std::string &name, bool upcast_unregistered, std::vector< const DalObject * > &objs) const |
| Read relationship values as DAL objects using DAL factory.
|
|
bool | get_algo_objects (const std::string &name, std::vector< const DalObject * > &objs) const |
| Run algorithm and return result as DAL objects using DAL factory.
|
|
Socket to send a copy of the CTB data. Not implemented yet
Definition at line 27 of file CTBMonitorSocket.hpp.