DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <config_reference_copy.hpp>
Public Types | |
typedef T | t_extractor |
typedef std::function< void(dref const) > | config_action_notifiable |
Public Member Functions | |
bool | is_null () const |
void | notify (config_action_notifiable tele) |
Private Types | |
typedef std::deque< t_extractor > | type_extractor_stack |
typedef std::vector< dbe::tref > | type_ref_container |
Private Member Functions | |
tref | rebuild () |
void | record (tref const &obj) |
void | post () |
Private Attributes | |
type_extractor_stack | this_remove_stack |
type_ref_container | this_notify_stack |
Friends | |
class | inner::dbcontroller |
Holds a graph copy of the subgraph associated with the referenced object, which is the result of a deletion operation in dbcontroller. It can only be used to attempt reviving the object
The object copy can only be used for passing it to a dbcontroller for recreation of the associated objects. A gref does not support querying the underlying copy.
std::function<void ( dref const ) > dbe::inner::configobject::gref< typename >::config_action_notifiable |
Definition at line 71 of file config_reference_copy.hpp.
T dbe::inner::configobject::gref< typename >::t_extractor |
Definition at line 70 of file config_reference_copy.hpp.
|
private |
Definition at line 90 of file config_reference_copy.hpp.
|
private |
Definition at line 91 of file config_reference_copy.hpp.
bool dbe::inner::configobject::gref< T >::is_null | ( | ) | const |
Checks if the front of the queue is valid
Definition at line 131 of file dbcontroller.cpp.
void dbe::inner::configobject::gref< T >::notify | ( | config_action_notifiable | tele | ) |
Passing a notifiable to permits to make a callback with the object and notify of it having been in different states in the the program structure. The notifiable actually determines what type of modification may be sent.
tele | is a notifiable that receives an object descriptor |
Definition at line 91 of file dbcontroller.cpp.
|
private |
Filtering function checks after deletion of objects and keep only those that have been removed
Definition at line 73 of file dbcontroller.cpp.
|
private |
Create the objects in the in the queue and return the last object created , i.e. the bottom of the queue.
Definition at line 109 of file dbcontroller.cpp.
|
private |
Include a ConfigObject and all its descendants
obj |
Definition at line 60 of file dbcontroller.cpp.
|
friend |
Definition at line 118 of file config_reference_copy.hpp.
|
private |
Definition at line 116 of file config_reference_copy.hpp.
|
private |
Definition at line 115 of file config_reference_copy.hpp.