32 class MetricsListener;
53 friend class ServiceSettingsImpl;
54 friend class ConnectionImpl;
55 friend class ServiceImpl;
56 friend class RenderAreaImpl;
68 NETWORK_LATENCY = 0x1,
78 NUM_CONNECTIONS = 0x20,
80 NUM_RENDERAREAS = 0x40,
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.
void removeListener(std::shared_ptr< MetricsListener > listener)
Removes a listener for metrics.
unsigned int getNumListeners() const
Return the number of listeners.
#define RENDERSERVICE_API