|
WPILibC++
2020.3.2
|
NetworkTables Remote Procedure Call (Server Side) More...
#include <ntcore_cpp.h>
Public Member Functions | |
| RpcAnswer (NT_Entry entry_, NT_RpcCall call_, StringRef name_, StringRef params_, const ConnectionInfo &conn_) | |
| operator bool () const | |
| Determines if the native handle is valid. More... | |
| bool | PostResponse (StringRef result) const |
| Post RPC response (return value) for a polled RPC. More... | |
Public Attributes | |
| NT_Entry | entry |
| Entry handle. | |
| NT_RpcCall | call |
| Call handle. | |
| std::string | name |
| Entry name. | |
| std::string | params |
| Call raw parameters. | |
| ConnectionInfo | conn |
| Connection that called the RPC. | |
Friends | |
| void | swap (RpcAnswer &first, RpcAnswer &second) |
NetworkTables Remote Procedure Call (Server Side)
|
inlineexplicit |
Determines if the native handle is valid.
|
inline |
Post RPC response (return value) for a polled RPC.
| result | result raw data that will be provided to remote caller |