Psyllid
v1.12.4
Project 8 Data Acquisisition Software
|
#include <node_builder.hh>
Public Member Functions | |
_node_binding () | |
virtual | ~_node_binding () |
_node_binding< x_node_type, x_binding_type > & | operator= (const _node_binding< x_node_type, x_binding_type > &a_rhs) |
virtual node_binding * | clone () const |
virtual void | apply_config (midge::node *a_node, const scarab::param_node &a_config) const |
virtual void | dump_config (const midge::node *a_node, scarab::param_node &a_config) const |
virtual bool | run_command (midge::node *a_node, const std::string &a_cmd, const scarab::param_node &a_args) const |
![]() | |
node_binding () | |
virtual | ~node_binding () |
node_binding & | operator= (const node_binding &a_rhs) |
Private Member Functions | |
virtual void | do_apply_config (x_node_type *a_node, const scarab::param_node &a_config) const =0 |
virtual void | do_dump_config (const x_node_type *a_node, scarab::param_node &a_config) const =0 |
virtual bool | do_run_command (x_node_type *a_node, const std::string &a_cmd, const scarab::param_node &a_args) const |
in derived classes, should throw a std::exception if the command fails, and return false if the command is unrecognized More... | |
Definition at line 68 of file node_builder.hh.
_node_binding | ( | ) |
Definition at line 176 of file node_builder.hh.
|
virtual |
Definition at line 181 of file node_builder.hh.
|
virtual |
Applies the builder's configuration information to the given node Throws psyllid::error if the node is of the wrong type or if applying the configuration fails
Implements node_binding.
Definition at line 200 of file node_builder.hh.
|
virtual |
Implements node_binding.
Definition at line 192 of file node_builder.hh.
|
privatepure virtual |
Implemented in frequency_mask_trigger_binding, event_builder_binding, packet_receiver_fpa_binding, terminator_trigger_flag_binding, terminator_freq_data_binding, roach_freq_monitor_binding, tf_roach_receiver_binding, terminator_time_data_binding, triggered_writer_binding, frequency_transform_binding, streaming_frequency_writer_binding, streaming_writer_binding, egg3_reader_binding, packet_receiver_socket_binding, data_producer_binding, and roach_time_monitor_binding.
|
privatepure virtual |
Implemented in frequency_mask_trigger_binding, event_builder_binding, packet_receiver_fpa_binding, terminator_trigger_flag_binding, terminator_freq_data_binding, roach_freq_monitor_binding, tf_roach_receiver_binding, terminator_time_data_binding, triggered_writer_binding, frequency_transform_binding, streaming_frequency_writer_binding, streaming_writer_binding, egg3_reader_binding, packet_receiver_socket_binding, data_producer_binding, and roach_time_monitor_binding.
|
privatevirtual |
in derived classes, should throw a std::exception if the command fails, and return false if the command is unrecognized
Reimplemented in frequency_mask_trigger_binding, tf_roach_receiver_binding, and frequency_transform_binding.
Definition at line 256 of file node_builder.hh.
|
virtual |
Dumps the configuration from the given node and returns it to the caller; does not affect the builder's configuration information Throws psyllid::error if the node is the wrong type or if the extraction fails
Implements node_binding.
Definition at line 219 of file node_builder.hh.
_node_binding< x_node_type, x_node_binding > & operator= | ( | const _node_binding< x_node_type, x_node_binding< x_node_type, x_binding_type > > & | a_rhs | ) |
Definition at line 185 of file node_builder.hh.
|
virtual |
Calls a command on the given node Throws psyllid::error if the command fails, and returns false if the command is unrecognized
Implements node_binding.
Definition at line 238 of file node_builder.hh.