DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <model_common_interface.hpp>
Public Member Functions | |
MODEL_COMMON_TYPES_TOPLEVEL_DEFINITIONS | model_common_async_operations () |
void | model_common_connections () |
Protected Member Functions | |
void | remove_object (type_object_info const &) |
void | create_object (type_object_info const &) |
void | rename_object (type_object_info const &) |
void | update_object (type_object_info const &) |
void | update_multiple_objects (std::vector< type_object_info > const &) |
Provides a unified manner to handle implemented methods in derived classes of model_common_slots::slot_... methods (e.g. defined with MODEL_COMMON_INTERFACE_SLOTS... macros ) by first looking up for the object at hand.
Each of the methods in this class are called from the derived class causing a call chain Derived::slot -> model_common_async_operations method -> implemented method in Derived class
e.g. for object deletion
T::slot_remove_object -> remove_object -> T::remove_deleted_object
Definition at line 254 of file model_common_interface.hpp.
|
inline |
Definition at line 119 of file model_common_operations.hpp.
|
inlineprotected |
Definition at line 107 of file model_common_operations.hpp.
|
inline |
Setup the necessary connections to signals from confaccessor to the derived object
THIS HAS TO BE CALLED FROM THE DERIVED CLASS otherwise it will have no effect
Needs be to called from the derived class constructor to setup the connection to slots defined in the derived class, since they cannot be know before.
Definition at line 25 of file model_common_operations.hpp.
|
inlineprotected |
Actually calls the derived class implementation of the prototype remove_deleted_object
the | object to be matched and removed from the index |
Definition at line 44 of file model_common_operations.hpp.
|
inlineprotected |
Definition at line 56 of file model_common_operations.hpp.
|
inlineprotected |
Definition at line 80 of file model_common_operations.hpp.
|
inlineprotected |
Definition at line 68 of file model_common_operations.hpp.