Psyllid  v1.12.4
Project 8 Data Acquisisition Software
Public Member Functions | List of all members
node_binding Class Referenceabstract

Allows access to midge nodes. More...

#include <node_builder.hh>

Inheritance diagram for node_binding:
Inheritance graph

Public Member Functions

 node_binding ()
 
virtual ~node_binding ()
 
node_bindingoperator= (const node_binding &a_rhs)
 
virtual node_bindingclone () const =0
 
virtual void apply_config (midge::node *a_node, const scarab::param_node &a_config) const =0
 
virtual void dump_config (const midge::node *a_node, scarab::param_node &a_config) const =0
 
virtual bool run_command (midge::node *a_node, const std::string &a_cmd, const scarab::param_node &a_args) const =0
 

Detailed Description

Allows access to midge nodes.

Author
N. S. Oblath

Every midge node has a binding class that inherits from node_binding. An instance of these binding classes is created by the stream_manager who adds them to the midge object together with the node class. The binding classes allow to apply and dump node configurations and do run commands while the daq is activated.

Definition at line 38 of file node_builder.hh.

Constructor & Destructor Documentation

◆ node_binding()

Definition at line 16 of file node_builder.cc.

◆ ~node_binding()

~node_binding ( )
virtual

Definition at line 19 of file node_builder.cc.

Member Function Documentation

◆ apply_config()

virtual void apply_config ( midge::node *  a_node,
const scarab::param_node &  a_config 
) const
pure virtual

◆ clone()

virtual node_binding* clone ( ) const
pure virtual

◆ dump_config()

virtual void dump_config ( const midge::node *  a_node,
scarab::param_node &  a_config 
) const
pure virtual

◆ operator=()

node_binding & operator= ( const node_binding a_rhs)

Definition at line 22 of file node_builder.cc.

◆ run_command()

virtual bool run_command ( midge::node *  a_node,
const std::string &  a_cmd,
const scarab::param_node &  a_args 
) const
pure virtual

The documentation for this class was generated from the following files: