|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the NetworkDevice 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.
|
|
const std::string & | get_pcie_addr () const |
| Get "pcie_addr" attribute value. PCIe address of NIC on readout host.
|
|
void | set_pcie_addr (const std::string &value) |
| Set "pcie_addr" attribute value. PCIe address of NIC on readout host.
|
|
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the NetworkDevice 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.
|
|
const std::string & | get_pcie_addr () const |
| Get "pcie_addr" attribute value. PCIe address of NIC on readout host.
|
|
void | set_pcie_addr (const std::string &value) |
| Set "pcie_addr" attribute value. PCIe address of NIC on readout host.
|
|
uint8_t | get_numa_id () const |
| Get "numa_id" attribute value.
|
|
void | set_numa_id (uint8_t value) |
| Set "numa_id" attribute value.
|
|
uint8_t | get_numa_id () const |
| Get "numa_id" attribute value.
|
|
void | set_numa_id (uint8_t value) |
| Set "numa_id" attribute value.
|
|
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.
|
|
const std::string & | get_mac_address () const |
| Get "mac_address" attribute value. Destination MAC address on readout host.
|
|
void | set_mac_address (const std::string &value) |
| Set "mac_address" attribute value. Destination MAC address on readout host.
|
|
const std::vector< std::string > & | get_ip_address () const |
| Get "ip_address" attribute value. IP address in form a.b.c.d.
|
|
void | set_ip_address (const std::vector< std::string > &value) |
| Set "ip_address" attribute value. IP address in form a.b.c.d.
|
|
const std::string & | get_interface_name () const |
| Get "interface_name" attribute value. Name of interface e.g. eth0 or eno1.
|
|
void | set_interface_name (const std::string &value) |
| Set "interface_name" attribute value. Name of interface e.g. eth0 or eno1.
|
|
const std::string & | get_network_mask () const |
| Get "network_mask" attribute value. Network mask in for a.b.c.d.
|
|
void | set_network_mask (const std::string &value) |
| Set "network_mask" attribute value. Network mask in for a.b.c.d.
|
|
const std::string & | get_network_name () const |
| Get "network_name" attribute value. Name of network on this interface Control or Data.
|
|
void | set_network_name (const std::string &value) |
| Set "network_name" attribute value. Name of network on this interface Control or Data.
|
|
const std::string & | get_mac_address () const |
| Get "mac_address" attribute value. Destination MAC address on readout host.
|
|
void | set_mac_address (const std::string &value) |
| Set "mac_address" attribute value. Destination MAC address on readout host.
|
|
const std::vector< std::string > & | get_ip_address () const |
| Get "ip_address" attribute value. IP address in form a.b.c.d.
|
|
void | set_ip_address (const std::vector< std::string > &value) |
| Set "ip_address" attribute value. IP address in form a.b.c.d.
|
|
const std::string & | get_interface_name () const |
| Get "interface_name" attribute value. Name of interface e.g. eth0 or eno1.
|
|
void | set_interface_name (const std::string &value) |
| Set "interface_name" attribute value. Name of interface e.g. eth0 or eno1.
|
|
const std::string & | get_network_mask () const |
| Get "network_mask" attribute value. Network mask in for a.b.c.d.
|
|
void | set_network_mask (const std::string &value) |
| Set "network_mask" attribute value. Network mask in for a.b.c.d.
|
|
const std::string & | get_network_name () const |
| Get "network_name" attribute value. Name of network on this interface Control or Data.
|
|
void | set_network_name (const std::string &value) |
| Set "network_name" attribute value. Name of network on this interface Control or Data.
|
|
|
| NetworkDevice (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~NetworkDevice () 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 |
|
| NetworkDevice (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~NetworkDevice () 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 |
|
| HostComponent (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~HostComponent () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| HostComponent (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~HostComponent () 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.
|
|
| NetworkInterface (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~NetworkInterface () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
| NetworkInterface (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept |
|
virtual | ~NetworkInterface () noexcept |
|
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
|
Definition at line 24 of file NetworkDevice.hpp.