This repository has been archived by the owner on Jan 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathclass_accelerometer.html
290 lines (278 loc) · 23.5 KB
/
class_accelerometer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>Windows Virtual Shields for Arduino: Accelerometer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="Shields300x300.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Windows Virtual Shields for Arduino
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="class_accelerometer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Accelerometer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="_accelerometer_8h_source.html">Accelerometer.h</a>></code></p>
<p>Inherits <a class="el" href="class_sensor.html">Sensor</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acfbc5b6f721589f96f2750aa9a6b4507"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_accelerometer.html#acfbc5b6f721589f96f2750aa9a6b4507">Accelerometer</a> (const <a class="el" href="class_virtual_shield.html">VirtualShield</a> &<a class="el" href="class_sensor.html#a984723758f808506fe9030a9b270a859">shield</a>)</td></tr>
<tr class="memdesc:acfbc5b6f721589f96f2750aa9a6b4507"><td class="mdescLeft"> </td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_accelerometer.html">Accelerometer</a> class. <a href="#acfbc5b6f721589f96f2750aa9a6b4507">More...</a><br /></td></tr>
<tr class="separator:acfbc5b6f721589f96f2750aa9a6b4507"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5a9da7d7c28ea7b062a6d65667c0ff92"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_accelerometer.html#a5a9da7d7c28ea7b062a6d65667c0ff92">onJsonReceived</a> (JsonObject &root, <a class="el" href="struct_shield_event.html">ShieldEvent</a> *shieldEvent) override</td></tr>
<tr class="memdesc:a5a9da7d7c28ea7b062a6d65667c0ff92"><td class="mdescLeft"> </td><td class="mdescRight">Event called when a valid json message was received. Consumes the proper values for this sensor. <a href="#a5a9da7d7c28ea7b062a6d65667c0ff92">More...</a><br /></td></tr>
<tr class="separator:a5a9da7d7c28ea7b062a6d65667c0ff92"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_class_sensor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sensor')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_sensor.html">Sensor</a></td></tr>
<tr class="memitem:a260d2eca87d4f68d654adcff05813d89 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a260d2eca87d4f68d654adcff05813d89">Sensor</a> (const <a class="el" href="class_virtual_shield.html">VirtualShield</a> &<a class="el" href="class_sensor.html#a984723758f808506fe9030a9b270a859">shield</a>, const char <a class="el" href="class_sensor.html#a98f9bf14694bd1e5a21aec4fc72bb9d6">sensorType</a>)</td></tr>
<tr class="memdesc:a260d2eca87d4f68d654adcff05813d89 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_sensor.html">Sensor</a> class. <a href="#a260d2eca87d4f68d654adcff05813d89">More...</a><br /></td></tr>
<tr class="separator:a260d2eca87d4f68d654adcff05813d89 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abfb2b0528abb9073412d0511d6ec19e4 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#abfb2b0528abb9073412d0511d6ec19e4">start</a> (double delta=0, long interval=0)</td></tr>
<tr class="memdesc:abfb2b0528abb9073412d0511d6ec19e4 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Starts the sensor, triggered when longer than the interval and larger than the delta. <a href="#abfb2b0528abb9073412d0511d6ec19e4">More...</a><br /></td></tr>
<tr class="separator:abfb2b0528abb9073412d0511d6ec19e4 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78dbb562696597b7a3f39598aebdf589 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a78dbb562696597b7a3f39598aebdf589">stop</a> ()</td></tr>
<tr class="memdesc:a78dbb562696597b7a3f39598aebdf589 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Stops this sensor. <a href="#a78dbb562696597b7a3f39598aebdf589">More...</a><br /></td></tr>
<tr class="separator:a78dbb562696597b7a3f39598aebdf589 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1a1bd491cae99916d9c33a466909818 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#ab1a1bd491cae99916d9c33a466909818">get</a> ()</td></tr>
<tr class="memdesc:ab1a1bd491cae99916d9c33a466909818 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Gets a single, current sensor reading. <a href="#ab1a1bd491cae99916d9c33a466909818">More...</a><br /></td></tr>
<tr class="separator:ab1a1bd491cae99916d9c33a466909818 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88566a8887104fa11070993250e025d2 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a88566a8887104fa11070993250e025d2">getOnChange</a> (double delta=0)</td></tr>
<tr class="memdesc:a88566a8887104fa11070993250e025d2 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Requests a single reading when more than the delta beyond the current reading. <a href="#a88566a8887104fa11070993250e025d2">More...</a><br /></td></tr>
<tr class="separator:a88566a8887104fa11070993250e025d2 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6037416459904a23b264f5580ca1184 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#ac6037416459904a23b264f5580ca1184">isUpdated</a> ()</td></tr>
<tr class="memdesc:ac6037416459904a23b264f5580ca1184 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this sensor has an updated value. Resets to false after this call. <a href="#ac6037416459904a23b264f5580ca1184">More...</a><br /></td></tr>
<tr class="separator:ac6037416459904a23b264f5580ca1184 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aff8a77ea724887fce5923fd1eeca1ee3 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#aff8a77ea724887fce5923fd1eeca1ee3">writeAll</a> (const char *serviceName, <a class="el" href="struct_e_ptr.html">EPtr</a> values[], int count, <a class="el" href="struct_attr.html">Attr</a> extraAttributes[]=0, int extraAttributeCount=0)</td></tr>
<tr class="memdesc:aff8a77ea724887fce5923fd1eeca1ee3 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Writes all <a class="el" href="struct_e_ptr.html">EPtr</a> values to the communication channel. <a href="#aff8a77ea724887fce5923fd1eeca1ee3">More...</a><br /></td></tr>
<tr class="separator:aff8a77ea724887fce5923fd1eeca1ee3 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e79bc02f674eca23c4cb0a0a087b155 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a6e79bc02f674eca23c4cb0a0a087b155">sensorAction</a> (<a class="el" href="_sensor_models_8h.html#a81057b596bbe6eddf79b17caa56b8ff6">SensorAction</a> sensorAction, double delta=0, long interval=0) const </td></tr>
<tr class="memdesc:a6e79bc02f674eca23c4cb0a0a087b155 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Sends the specific action to start/stop/get/onChange the sensor using a delta and interval. <a href="#a6e79bc02f674eca23c4cb0a0a087b155">More...</a><br /></td></tr>
<tr class="separator:a6e79bc02f674eca23c4cb0a0a087b155 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5bc23fe802f627336bc46fdcfcbcc950 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a5bc23fe802f627336bc46fdcfcbcc950">isEvent</a> (const char *tag, const char *action, <a class="el" href="struct_shield_event.html">ShieldEvent</a> *shieldEvent)</td></tr>
<tr class="memdesc:a5bc23fe802f627336bc46fdcfcbcc950 inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the specified shieldEvent matches the tag and action. <a href="#a5bc23fe802f627336bc46fdcfcbcc950">More...</a><br /></td></tr>
<tr class="separator:a5bc23fe802f627336bc46fdcfcbcc950 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1baa215e4a43f921a3910bca6ad2021e inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a1baa215e4a43f921a3910bca6ad2021e">isEvent</a> (int id, const char *action, <a class="el" href="struct_shield_event.html">ShieldEvent</a> *shieldEvent)</td></tr>
<tr class="memdesc:a1baa215e4a43f921a3910bca6ad2021e inherit pub_methods_class_sensor"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the specified shieldEvent matches the id and action. <a href="#a1baa215e4a43f921a3910bca6ad2021e">More...</a><br /></td></tr>
<tr class="separator:a1baa215e4a43f921a3910bca6ad2021e inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06f3533d8e07a0ebccd1fefa71fa5002 inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a06f3533d8e07a0ebccd1fefa71fa5002">setOnEvent</a> (void(*<a class="el" href="class_sensor.html#a79faa85a9006cb9c609f7907514a8365">onEvent</a>)(<a class="el" href="struct_shield_event.html">ShieldEvent</a> *shieldEvent))</td></tr>
<tr class="separator:a06f3533d8e07a0ebccd1fefa71fa5002 inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac01a7ab17df06db9be8654655afcea8e inherit pub_methods_class_sensor"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#ac01a7ab17df06db9be8654655afcea8e">sendStop</a> (const char *serviceName)</td></tr>
<tr class="separator:ac01a7ab17df06db9be8654655afcea8e inherit pub_methods_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6c3b499d3093d3b369ec2d70ad87e624"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_accelerometer.html#a6c3b499d3093d3b369ec2d70ad87e624">X</a></td></tr>
<tr class="separator:a6c3b499d3093d3b369ec2d70ad87e624"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e49669f6dc117152568e1406c729942"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_accelerometer.html#a7e49669f6dc117152568e1406c729942">Y</a></td></tr>
<tr class="separator:a7e49669f6dc117152568e1406c729942"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5fc1b5138c555cc7c9ab7fe7b3e84e43"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_accelerometer.html#a5fc1b5138c555cc7c9ab7fe7b3e84e43">Z</a></td></tr>
<tr class="separator:a5fc1b5138c555cc7c9ab7fe7b3e84e43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_attribs_class_sensor"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_sensor')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="class_sensor.html">Sensor</a></td></tr>
<tr class="memitem:a79faa85a9006cb9c609f7907514a8365 inherit pub_attribs_class_sensor"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a79faa85a9006cb9c609f7907514a8365">onEvent</a> )(<a class="el" href="struct_shield_event.html">ShieldEvent</a> *shieldEvent)</td></tr>
<tr class="separator:a79faa85a9006cb9c609f7907514a8365 inherit pub_attribs_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a984723758f808506fe9030a9b270a859 inherit pub_attribs_class_sensor"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_virtual_shield.html">VirtualShield</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a984723758f808506fe9030a9b270a859">shield</a></td></tr>
<tr class="separator:a984723758f808506fe9030a9b270a859 inherit pub_attribs_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaecc418ee1bf2285b0a05b1cb0204b7b inherit pub_attribs_class_sensor"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_shield_event.html">ShieldEvent</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#aaecc418ee1bf2285b0a05b1cb0204b7b">recentEvent</a></td></tr>
<tr class="separator:aaecc418ee1bf2285b0a05b1cb0204b7b inherit pub_attribs_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a98f9bf14694bd1e5a21aec4fc72bb9d6 inherit pub_attribs_class_sensor"><td class="memItemLeft" align="right" valign="top">const char </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a98f9bf14694bd1e5a21aec4fc72bb9d6">sensorType</a></td></tr>
<tr class="separator:a98f9bf14694bd1e5a21aec4fc72bb9d6 inherit pub_attribs_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acf9c153405770baadfb80451d6d20d05 inherit pub_attribs_class_sensor"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#acf9c153405770baadfb80451d6d20d05">isRunning</a> = false</td></tr>
<tr class="separator:acf9c153405770baadfb80451d6d20d05 inherit pub_attribs_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_class_sensor"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_sensor')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="class_sensor.html">Sensor</a></td></tr>
<tr class="memitem:a472412eccb98ca775acf903e9f1c148f inherit pro_attribs_class_sensor"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sensor.html#a472412eccb98ca775acf903e9f1c148f">_isUpdated</a> = false</td></tr>
<tr class="separator:a472412eccb98ca775acf903e9f1c148f inherit pro_attribs_class_sensor"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="acfbc5b6f721589f96f2750aa9a6b4507"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Accelerometer::Accelerometer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_virtual_shield.html">VirtualShield</a> & </td>
<td class="paramname"><em>shield</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes a new instance of the <a class="el" href="class_accelerometer.html">Accelerometer</a> class. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">shield</td><td>The shield.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5a9da7d7c28ea7b062a6d65667c0ff92"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Accelerometer::onJsonReceived </td>
<td>(</td>
<td class="paramtype">JsonObject & </td>
<td class="paramname"><em>root</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_shield_event.html">ShieldEvent</a> * </td>
<td class="paramname"><em>shieldEvent</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Event called when a valid json message was received. Consumes the proper values for this sensor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">root</td><td>The root json object.</td></tr>
<tr><td class="paramname">shieldEvent</td><td>The shield event.</td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="class_sensor.html#a303868eb4fc198a83f0557eb757a2e6c">Sensor</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a6c3b499d3093d3b369ec2d70ad87e624"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Accelerometer::X</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7e49669f6dc117152568e1406c729942"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Accelerometer::Y</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5fc1b5138c555cc7c9ab7fe7b3e84e43"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Accelerometer::Z</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/jgord/Documents/ms-iot/virtual-shields-arduino/VirtualShield/<a class="el" href="_accelerometer_8h_source.html">Accelerometer.h</a></li>
<li>C:/Users/jgord/Documents/ms-iot/virtual-shields-arduino/VirtualShield/<a class="el" href="_accelerometer_8cpp.html">Accelerometer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 29 2015 17:37:05 for Windows Virtual Shields for Arduino by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>