23#include <Inventor/sys/port.h>
50 class RENDERSERVICE_API Monitoring
53 friend class ServiceSettingsImpl;
54 friend class ConnectionImpl;
55 friend class ServiceImpl;
56 friend class RenderAreaImpl;
125 std::shared_ptr<MonitoringImpl> getImpl()
const;
133 std::shared_ptr<MonitoringImpl> pImpl;
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
void addListener(std::shared_ptr< MetricsListener > listener)
Adds a listener for metrics.
void enableMetrics(unsigned int mask)
Enable metrics By default, all metrics are disabled.
bool isMetricEnabled(MetricType metric) const
Check if a metric is enabled.
MetricType
Types of metrics.
@ RENDERING_TIME
Rendering time: Reported each time a frame is rendered.
@ NUM_CLIENTS
Number of clients: Reported when a client is added or removed.
@ NETWORK_LATENCY
Network latency: Reported every 1 second.
@ ENCODING_TIME
Encoding time: Reported each time a frame is sent to the client.
@ NUM_RENDERAREAS
Number of render areas: Reported when a render area is added or removed.
@ DECODING_TIME
Decoding time: Reported each time a frame is sent to the client.
@ NUM_CONNECTIONS
Number of connections: Reported when a connection is added or removed.
void removeListener(std::shared_ptr< MetricsListener > listener)
Removes a listener for metrics.
unsigned int getNumListeners() const
Return the number of listeners.
This namespace manages the server-side rendering mechanism.