47 class ServiceSettings;
49 class ServiceListener;
51 class RenderAreaHardware;
89 friend class RenderAreaImpl;
90 friend class ConnectionImpl;
91 friend class ClientImpl;
92 friend class RenderAreaDeleter;
93 friend class MonitoringImpl;
94 friend class ServiceDeleter;
121 bool open(std::shared_ptr<const ServiceSettings> settings);
149 void createRenderArea(
const std::string&
id,
unsigned int width,
unsigned int height, std::shared_ptr<const RenderAreaHardware> renderAreaHardware);
207 std::shared_ptr<Client>
getClient(
const std::string&
id)
const;
215 std::shared_ptr<Client>
getClient(
unsigned int index)
const;
225 std::shared_ptr<ServiceImpl> getImpl()
const;
230 std::shared_ptr<ServiceImpl> pImpl;
valueRef operator=(valueRef newValue)
Sets this field to newValue.
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
void addListener(std::shared_ptr< ServiceListener > listener)
Adds a ServiceListener.
void createRenderArea(const std::string &id, unsigned int width, unsigned int height, std::shared_ptr< const RenderAreaHardware > renderAreaHardware)
Forces the creation of a renderArea.
bool close()
Closes the rendering service.
std::shared_ptr< RenderArea > getRenderArea(const std::string &id) const
Gets a RenderArea from id.
void removeListener(std::shared_ptr< ServiceListener > listener)
Removes a ServiceListener.
void removeAllListeners()
Removes all ServiceListeners.
std::shared_ptr< Client > getClient(unsigned int index) const
Gets a Client from index.
unsigned int getNumListeners() const
Gets the number of ServiceListener.
bool open(std::shared_ptr< const ServiceSettings > settings)
Opens the rendering service.
unsigned int getNumClients() const
Gets the number of clients.
std::shared_ptr< Client > getClient(const std::string &id) const
Gets a Client from id.
void dispatch() const
This method has to be used with the ServiceSettings::INVENTOR_SERVICE and ServiceSettings::INDEPENDEN...
std::shared_ptr< RenderArea > getRenderArea(unsigned int index) const
Gets a RenderArea from index.
bool isRunning() const
This method is used to know if the rendering service is running.
static Service * instance()
Renderering service instance (Singleton)
unsigned int getNumRenderAreas() const
Gets the number of renderAreas.
std::shared_ptr< const ServiceSettings > getSettings() const
Gets the settings of the service.
Class to render an OpenInventor scene in a Qt OpenGL window.
#define RENDERSERVICE_API