1#ifndef DBE_DBCONTROLLER_H_
2#define DBE_DBCONTROLLER_H_
17#include <unordered_map>
43 static std::vector<configobject::tref>
gets ( std::string
const & cname,
44 std::string
const & query =
"" );
99 std::string
const & destfile );
111 std::string
const & newname );
122 typedef std::unordered_map<t_object_key, t_object_handle, configobject::refhasher>
176 std::string
const & name =
"*",
177 bool check_composite_only =
true );
std::function< void(dref const) > config_action_notifiable
std::unordered_map< t_object_key, t_object_handle, configobject::refhasher > t_object_map
std::recursive_mutex t_mutex
std::lock_guard< t_mutex > locker
configobject::tref rename(configobject::tref objref, std::string const &aname)
static dbcontroller & ref()
configobject::gref< T > remove(dbe::tref ref)
static configobject::gref< T > delete_object_request(configobject::tref const &obj)
t_object_map this_allobjects
static std::vector< configobject::tref > gets(std::string const &cname, std::string const &query="")
dbcontroller & operator=(dbcontroller const &)=delete
configobject::tref insert(dunedaq::conffwk::ConfigObject const &)
std::vector< configobject::tref > referenced_by(configobject::tref objref, std::string const &name="*", bool check_composite_only=true)
std::shared_ptr< configobject::oref > t_object_handle
static configobject::tref move_object_request(configobject::tref objref, std::string const &destfile)
configobject::tref lookup(dbe::cokey const &desc)
static configobject::tref get(dbe::cokey const &desc)
static configobject::tref rename_object_request(configobject::tref objref, std::string const &newname)
static configobject::tref create_object_request(dbe::t_config_object_preimage const &rep)
dbcontroller(dbcontroller const &)=delete
Represents database objects.