C++ interface to cisRpc_t client-side functionality. The CisRpcClient class is a basic wrapper around the C cisRpc_t structure and associated client-side functions from the CisInterface.h header. It provides the user with C++ style access to basic RPC client operations.
More...
#include <CisInterface.hpp>
C++ interface to cisRpc_t client-side functionality. The CisRpcClient class is a basic wrapper around the C cisRpc_t structure and associated client-side functions from the CisInterface.h header. It provides the user with C++ style access to basic RPC client operations.
◆ CisRpcClient()
CisRpcClient::CisRpcClient |
( |
const char * |
name, |
|
|
const char * |
outFormat, |
|
|
const char * |
inFormat |
|
) |
| |
|
inline |
Constructor for CisRpcClient.
- Parameters
-
[in] | name | constant character pointer name used for input and output queues. |
[in] | outFormat | character pointer to format that should be used for formatting output. |
[in] | inFormat | character pointer to format that should be used for parsing input. |
◆ call()
int CisRpcClient::call |
( |
const int |
nargs, |
|
|
|
... |
|
) |
| |
|
inline |
Send request to an RPC server from the client and wait for a response. See rpcCall in CisInterface.h for details.
- Parameters
-
[in] | nargs | int Number of arguments being passed. |
[in,out] | ... | mixed arguments that include those that should be formatted using the output format string, followed by those that should be assigned parameters extracted using the input format string. These that will be assigned should be pointers to memory that has already been allocated. |
- Returns
- integer specifying if the receive was succesful. Values >= 0 indicate success.
The documentation for this class was generated from the following file: