42 class ConnectionSettings;
44 class ConnectionParameters;
84 friend class ConnectionManager;
85 friend class RenderAreaImpl;
86 friend class ClientImpl;
87 friend class KeepFramesPerSecondPolicyImpl;
88 friend class KeepFrameQualityPolicyImpl;
199 std::shared_ptr<ConnectionImpl> getImpl()
const;
204 std::shared_ptr<ConnectionImpl> pImpl;
214 static std::shared_ptr<Connection> createInstance();
valueRef operator=(valueRef newValue)
Sets this field to newValue.
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
std::shared_ptr< RenderArea > getRenderArea() const
Gets the RenderArea associated with the connection.
const std::string & getId() const
Gets the id of the connection.
void close()
Closes the connection.
unsigned int getContainerWidth() const
Gets the client container width.
unsigned int getContainerHeight() const
Gets the client container height.
bool sendMessage(const std::vector< unsigned char > &buffer) const
Sends a binary message to the client.
std::shared_ptr< ConnectionSettings > getSettings() const
Gets the connection settings.
std::shared_ptr< Client > getClient() const
Gets the client associated with this connection.
bool sendMessage(const std::string &message) const
Sends a text message to the client.
bool isOpen() const
Gets the state of the Connection: open or closed.
unsigned int getRequestedHeight() const
Gets the last renderArea height requested by the client.
EncodedFrame getLastEncodedFrame() const
Gets the last encoded frame sent by the connection.
std::shared_ptr< const ConnectionParameters > getParameters() const
Gets the connection parameters.
unsigned int getRequestedWidth() const
Gets the last renderArea width requested by the client.
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
Class to render an OpenInventor scene in a Qt OpenGL window.
#define RENDERSERVICE_API