CIRCT 23.0.0git
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
RpcWire.h File Reference
#include <cstddef>
#include <cstdint>
#include <exception>
#include <mutex>
#include <string>
Include dependency graph for RpcWire.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esi::cosim::FaultStash
 Cross-thread error channel for the IXWebSocket network thread. More...
 

Namespaces

namespace  esi
 
namespace  esi::cosim
 

Functions

std::string esi::cosim::buildDataFrame (uint64_t channelId, const uint8_t *bytes, size_t size)
 Pack a cosim binary data frame: [u64 LE channel_id][payload].
 
bool esi::cosim::parseDataFrame (const std::string &data, uint64_t &channelId, const uint8_t *&payload, size_t &payloadSize)
 Parse a cosim binary data frame.
 

Variables

constexpr size_t esi::cosim::kDataFrameHeaderSize = 8
 Size of the binary data-frame header (LE channel_id).