10#ifndef APPMODEL_INCLUDE_OBJECTFACTORY_HPP_
11#define APPMODEL_INCLUDE_OBJECTFACTORY_HPP_
40 create(
const std::string& class_name,
const std::string&
id)
const;
conffwk::ConfigObject create_queue_sid_obj(const QueueDescriptor *qdesc, uint32_t src_id) const
conffwk::ConfigObject create_net_obj(const NetworkConnectionDescriptor *ndesc, std::string uid) const
Helper function that gets a network connection config.
const T * get_dal(conffwk::ConfigObject &obj) const
ConfigObjectFactory(conffwk::Configuration *config, const std::string &dbfile, const std::string &app_uid)
const T * get_dal(std::string uid) const
conffwk::ConfigObject create_queue_obj(const QueueDescriptor *qdesc, std::string uid="") const
conffwk::ConfigObject create(const std::string &class_name, const std::string &id) const
conffwk::Configuration * m_config
void get(const std::string &class_name, const std::string &id, ConfigObject &object, unsigned long rlevel=0, const std::vector< std::string > *rclasses=0)
Get object by class name and object id (multi-thread safe).
The base class for any generated DAL object.