1#ifndef VISTLE_RHRCONTROLLER_H
2#define VISTLE_RHRCONTROLLER_H
6#include <boost/asio/ip/address.hpp>
17 std::shared_ptr<RhrServer>
server()
const;
42 bool initializeServer();
44 bool sendConfigObject()
const;
51 const Port *m_currentClient =
nullptr;
52 int m_clientModuleId = 0;
54 IntParameter *m_rhrConnectionMethod;
55 StringParameter *m_rhrLocalEndpoint;
56 IntParameter *m_rhrBasePort;
57 unsigned short m_forwardPort;
58 StringParameter *m_rhrRemoteEndpoint;
59 IntParameter *m_rhrRemotePort;
60 StringParameter *m_rhrAutoRemoteEndpoint;
61 IntParameter *m_rhrAutoRemotePort;
63 IntParameter *m_rgbaEncoding;
64 CompressionParameters::ColorCodec m_rgbaCodec;
65 IntParameter *m_rgbaCompressMode;
66 message::CompressionMode m_rgbaCompress;
68 IntParameter *m_depthPrec;
70 IntParameter *m_depthCodecParam =
nullptr;
71 CompressionParameters::DepthCodec m_depthCodec = CompressionParameters::DepthRaw;
72 IntParameter *m_depthZfpMode;
73 CompressionParameters::ZfpMode m_zfpMode;
74 IntParameter *m_depthCompressMode;
75 message::CompressionMode m_depthCompress;
77 IntVectorParameter *m_sendTileSizeParam;
80 IntParameter *m_dumpImagesParam =
nullptr;
81 bool m_dumpImages =
false;
83 std::shared_ptr<RhrServer> m_rhr;
std::shared_ptr< Object > ptr
std::set< const Port *, detail::deref_compare< Port > > ConstPortSet
Definition: rhrcontroller.h:11
std::string connectHost() const
void tryConnect(double wait=1.)
void addClient(const Port *client)
bool handleParam(const vistle::Parameter *p)
std::string listenHost() const
Port * outputPort() const
RhrController(vistle::Module *module, int displayRank)
std::shared_ptr< RhrServer > server() const
void removeClient(const Port *client)
unsigned short listenPort() const
ConnectionDirection
Definition: rhrcontroller.h:25
@ Connect
Definition: rhrcontroller.h:27
@ Listen
Definition: rhrcontroller.h:28
@ None
Definition: rhrcontroller.h:26
unsigned short connectPort() const
bool hasConnection() const
ConnectionDirection connectionMethod() const