DAVID4 SDK
1.8.7
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
TurntableJsonRpc.h
1
//=============================================================================
2
// See License in Related Pages
3
//=============================================================================
4
5
#pragma once
6
7
#ifndef DAVID_SDK_TURNTABLE_JSON_RPC_H
8
#define DAVID_SDK_TURNTABLE_JSON_RPC_H
9
10
#include "davidSDK/ClientJsonRpc.h"
11
12
//=============================================================================
13
// Turntable
14
//=============================================================================
15
16
namespace
david {
17
18
/// Implements interface functions of 'ITurntable'.
19
/// All calls are delegated to a JSON-RPC 2.0 client.
20
class
TurntableJsonRpc
:
public
ITurntable
21
{
22
public
:
23
/// Constructor.
24
/// @param[in,out] client Valid pointer to client implementation.
25
TurntableJsonRpc
(
ClientJsonRpc
* client);
26
27
// See ITurntable
28
virtual
~
TurntableJsonRpc
();
29
30
// See ITurntable
31
virtual
void
Setup
(
bool
enable);
32
33
// See ITurntable
34
virtual
void
Rotate
(
double
degrees);
35
36
private
:
37
//-------------------------------------------------------------------------
38
// Private member variables
39
//-------------------------------------------------------------------------
40
41
ClientJsonRpc
* m_client;
///< Client implementation
42
};
43
44
45
}
// namespace
46
47
#endif // DAVID_SDK_TURNTABLE_JSON_RPC_H
davidSDK
TurntableJsonRpc.h
Generated on Tue May 17 2016 17:11:27 for DAVID4 SDK by
1.8.4