45 class MessageProcessorBase;
63 ZMQReceiver(
const std::string& address =
"tcp://127.0.0.1:51454",
80 std::runtime_error GetLastError();
83 void SetMessageProcessor(std::shared_ptr<MessageProcessorBase> processor);
88 const std::string address_;
90 std::shared_ptr<zmq::context_t> context_;
91 std::unique_ptr<zmq::socket_t> socket_;
95 std::atomic<bool> loop_running_;
96 std::atomic<int> mainloop_error_code_;
97 std::runtime_error mainloop_exception_;
98 std::shared_ptr<MessageProcessorBase> processor_;
bool SetMeshData(const std::string &path, int time, const std::string &layer, const core::Tensor &vertices, const std::map< std::string, core::Tensor > &vertex_attributes, const core::Tensor &faces, const std::map< std::string, core::Tensor > &face_attributes, const core::Tensor &lines, const std::map< std::string, core::Tensor > &line_attributes, const std::string &material, const std::map< std::string, float > &material_scalar_attributes, const std::map< std::string, std::array< float, 4 >> &material_vector_attributes, const std::map< std::string, t::geometry::Image > &texture_maps, const std::string &o3d_type, std::shared_ptr< ConnectionBase > connection)
Definition: RemoteFunctions.cpp:163
Definition: PinholeCameraIntrinsic.cpp:35
Definition: ConnectionBase.h:31
Class for the server side receiving requests from a client.
Definition: ZMQReceiver.h:58
bool SetTime(int time, std::shared_ptr< ConnectionBase > connection)
Definition: RemoteFunctions.cpp:371
bool SetActiveCamera(const std::string &path, std::shared_ptr< ConnectionBase > connection)
Definition: RemoteFunctions.cpp:388