15#ifndef PKG_RPC_OBJECTSERVER_REGISTRY_H_INCLUDED
16#define PKG_RPC_OBJECTSERVER_REGISTRY_H_INCLUDED
49 typedef std::pair<a_util::concurrency::shared_mutex*, IRPCObject*> tRPCRawItem;
87 operator bool()
const;
99 typedef std::map<std::string, tRPCItem> tRPCObjects;
100 tRPCObjects m_oRPCObjects;
Definition shared_mutex.h:26
Definition result_type_decl.h:34
Definition rpc_server.h:47
Definition rpc_server.h:64
Definition rpc_object_registry.h:48
cLockedRPCObject()=default
Default CTOR.
cLockedRPCObject(const cLockedRPCObject &other)
cLockedRPCObject(cLockedRPCObject &&)=default
Default move construction.
cLockedRPCObject & operator=(cLockedRPCObject &&)=default
Default move assignment.
cLockedRPCObject(const tRPCItem &oItem)
IRPCObject * operator->()
cLockedRPCObject & operator=(const cLockedRPCObject &other)
Definition rpc_object_registry.h:29
std::pair< std::unique_ptr< a_util::concurrency::shared_mutex >, IRPCObject * > tRPCItem
Type granting thread safe access to an object of type rpc::IRPCObject.
Definition rpc_object_registry.h:32
virtual a_util::result::Result RegisterRPCObject(const char *strName, IRPCObject *pObject)
virtual a_util::result::Result UnregisterRPCObject(const char *strName)
virtual cLockedRPCObject GetRPCObject(const char *strName) const
definition of the rpc namespace
Definition json_rpc_impl.h:20