6 #ifndef CPPIPC_COMMON_OBJECT_FACTORY_IMPL_HPP 7 #define CPPIPC_COMMON_OBJECT_FACTORY_IMPL_HPP 8 #include <core/system/cppipc/common/object_factory_base.hpp> 9 #include <core/system/cppipc/server/comm_server.hpp> 13 #include <boost/algorithm/string/predicate.hpp> 28 std::map<std::string, std::function<std::shared_ptr<void>()> > constructors;
46 std::string
ping(std::string pingval);
58 void sync_objects(std::vector<size_t> object_ids,
bool input_sorted);
65 std::function<std::shared_ptr<void>()> constructor) {
66 constructors[object_type_name] = constructor;
void sync_objects(std::vector< size_t > object_ids, bool input_sorted)
std::string get_control_address()
std::string get_status_publish_address()
size_t make_object(std::string object_type_name)
void delete_object(size_t object_id)
std::string ping(std::string pingval)
void add_constructor(std::string object_type_name, std::function< std::shared_ptr< void >()> constructor)