|
forb
|
Emulates a complete registry of all active remote objects that use this framework. More...
#include <remote_registry.hpp>
Classes | |
| struct | remote_obj_entry |
| The type that will store all information about a remote object that will be parsed from the JSON file. More... | |
Public Member Functions | |
| remote_registry (std::string conf_file_name) | |
| Constructs a new registry. | |
| ~remote_registry () noexcept | |
| Destructor. | |
| remote_registry (const remote_registry &other) | |
| This class does supports copy construction. | |
| remote_registry & | operator= (const remote_registry &other) |
| This class does supports copy assignment. | |
| remote_registry (remote_registry &&other) noexcept | |
| This class does supports move construction. | |
| remote_registry & | operator= (remote_registry &&other) noexcept |
| This class does supports move assignment. | |
| remote_var | get (const std::string &obj_name) const |
| Returns a reference to the object identified by the obj_name argument, a NIL pointer otherwise. | |
| remote_var | get (const std::string &obj_name, base_stub::buffer_size_t buffer_size) |
| Returns a reference to the object identified by the obj_name argument, a NIL pointer otherwise. More... | |
| remote_var | get_force_socket (const std::string &obj_name) const |
| Returns a reference to the object identified by the obj_name argument, a NIL pointer otherwise. More... | |
Emulates a complete registry of all active remote objects that use this framework.
The list of all known objects is obtained by parsing a JSON file, whose name is given as input to the constructor.
|
inline |
Returns a reference to the object identified by the obj_name argument, a NIL pointer otherwise.
The buffer_size argument can be used to force the size of the buffer that will be used in case a shared memory area will be allocated to exchange data between components.
|
inline |
Returns a reference to the object identified by the obj_name argument, a NIL pointer otherwise.
This method is the same as get, but forces the new handle to use of sockets for data exchange even when the two hosts are on the same machine.
1.8.12