21 #ifndef _SCENERY3DREMOTECONTROLSERVICE_HPP_ 22 #define _SCENERY3DREMOTECONTROLSERVICE_HPP_ 24 #include "../../RemoteControl/include/RemoteControlServiceInterface.hpp" 25 #include "Scenery3d.hpp" 39 virtual QLatin1String
getPath()
const Q_DECL_OVERRIDE;
43 virtual void update(
double deltaTime) Q_DECL_OVERRIDE;
45 void performMove(
double x,
double y,
double z);
49 qint64 lastMoveUpdateTime;
53 #endif // _SCENERY3DREMOTECONTROLSERVICE_HPP_ virtual bool isThreadSafe() const Q_DECL_OVERRIDE
Return true if the service's get() and post() methods can safely be run in the HTTP handler thread...
virtual void update(double deltaTime) Q_DECL_OVERRIDE
Called in the main thread each frame.
Thread-safe version of HttpResponse that can be passed around through QMetaObject::invokeMethod.
virtual QLatin1String getPath() const Q_DECL_OVERRIDE
Returns the desired path mapping If there is a conflict, only the first object is mapped...
Main class of the module, inherits from StelModule.
QMultiMap< QByteArray, QByteArray > APIParameters
Defines the HTTP request parameters for the service.
virtual void post(const QByteArray &operation, const APIParameters ¶meters, const QByteArray &data, APIServiceResponse &response) Q_DECL_OVERRIDE
Implement this to define reactions to HTTP POST requests.
Interface for all Remote Control Plug-in services.
Provides a Scenery3d service for the Remote Control Plug-in plugin.
Scenery3dRemoteControlService()
Requires the Scenery3d module to be registered.