diff options
Diffstat (limited to 'docs_oos/data/remote/remote_data.loopback.json')
| -rw-r--r-- | docs_oos/data/remote/remote_data.loopback.json | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/docs_oos/data/remote/remote_data.loopback.json b/docs_oos/data/remote/remote_data.loopback.json new file mode 100644 index 0000000..32786aa --- /dev/null +++ b/docs_oos/data/remote/remote_data.loopback.json @@ -0,0 +1,70 @@ +{ + "format": 1, + "id": "saw-remote_data-loopback", + "kind": "class", + "name": "remote_data", + "namespace": "saw", + "module": "remote", + "header": "modules/remote/c++/remote_loopback.hpp", + "is_special": true, + "specializes": "saw-remote_data", + "arguments": ["T", "Encoding", "rmt::Loopback"], + "brief_description": "Handle for data which is stored on an in process remote.", + "detailed_description": [ + [ + "The result of an rpc call. Resolving it goes back through the data layer rather than through the rpc layer, which is why the handle carries the data server and not the rpc server." + ], + [ + "This backend answers calls inline, so the data is already present whenever the call succeeded and waiting costs nothing." + ] + ], + "templates": [ + {"name": "T", "kind": "type"}, + {"name": "Encoding", "kind": "type"} + ], + "attributes": { + "saw-remote_data-loopback-id_": { + "id": "saw-remote_data-loopback-id_", + "name": "id_", + "type": ["id< T >"], + "visibility": "private" + }, + "saw-remote_data-loopback-srv_": { + "id": "saw-remote_data-loopback-srv_", + "name": "srv_", + "type": ["ptr<", {"name": "data_server", "id": "saw-data_server-loopback"}, "< T, Encoding, rmt::Loopback > >"], + "visibility": "private" + } + }, + "functions": { + "saw-remote_data-loopback-get_id": { + "id": "saw-remote_data-loopback-get_id", + "name": "get_id", + "type": ["const id< T > &"], + "const": true, + "brief_description": "Id of the data on the remote.", + "detailed_description": [ + ["Hand this to the next call to keep a result where it is instead of pulling it across."] + ] + }, + "saw-remote_data-loopback-wait": { + "id": "saw-remote_data-loopback-wait", + "name": "wait", + "type": ["error_or< data< T, Encoding > >"], + "brief_description": "Waits until the data arrives.", + "parameters": [ + { + "name": "wait", + "type": ["wait_scope &"], + "brief_description": "Unused here, since there is nothing to wait for." + } + ] + }, + "saw-remote_data-loopback-on_receive": { + "id": "saw-remote_data-loopback-on_receive", + "name": "on_receive", + "type": ["conveyor< data< T, Encoding > >"], + "brief_description": "Asynchronously waits for the result." + } + } +} |
