candlewick 0.7.0-59-g23c6
A tiny cross-platform renderer based on SDL3
Loading...
Searching...
No Matches
Messages.h File Reference
#include <vector>
#include <string>
#include <zmq.hpp>
#include <msgpack.hpp>
#include <Eigen/Core>

Go to the source code of this file.

Classes

struct  candlewick::runtime::ArrayMessage
 Message for intermediate representation of a vector or matrix. More...
 

Namespaces

namespace  candlewick
 
namespace  candlewick::runtime
 
namespace  candlewick::runtime::detail
 

Typedefs

template<typename S, typename T>
using candlewick::runtime::detail::add_const_if_const_t
 

Functions

msgpack::object_handle candlewick::runtime::get_handle_from_zmq_msg (zmq::message_t &&msg)
 Convert a ZMQ message (by move) to to a msgpack object.
 
template<typename MatrixType>
Eigen::Map< MatrixType > candlewick::runtime::detail::get_eigen_view_msg_impl (const ArrayMessage &spec, add_const_if_const_t< MatrixType, typename MatrixType::Scalar > *data)
 
template<typename MatrixType>
Eigen::Map< MatrixType > candlewick::runtime::get_eigen_view_from_spec (ArrayMessage &spec)
 Convert ArrayMessage to a mutable Eigen::Matrix view.
 
template<typename MatrixType>
Eigen::Map< const MatrixType > candlewick::runtime::get_eigen_view_from_spec (const ArrayMessage &spec)
 Convert ArrayMessage to a mutable Eigen::Matrix view.