1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::pl::CTR</title>
49  </head>
50  <body>
51<h1><CODE>nn::pl::CTR</CODE> Namespace</h1>
52<h2>Description</h2>
53    <div class="section">
54<p>Namespace for <a href="../../../nn/pl/CTR/Overview.html">CTR</a>-specific API functions.</p><p>(This can also be written without the &quot;::CTR&quot; portion.))</p>Use the <CODE>nn::ptm::CTR::Initialize</CODE> and <CODE>nn::ptm::CTR::Finalize</CODE> functions to initialize and finalize the Pedometer library.</div>
55    <a name="class" id="class">
56<h2>Classes</h2>
57      <div class="section">
58        <table class="members">
59          <tr>
60            <th>
61<a href="../../../nn/pl/CTR/ResultIsWriting/Overview.html">nn::pl::CTR::ResultIsWriting</a>
62            </th>
63<td>Indicates that step count data is currently being written. Try again in a little while.</td>
64          </tr> </table>
65      </div>
66    </a> <a name="struct" id="struct">
67<h2>Structures</h2>
68      <div class="section">
69        <table class="members">
70          <tr>
71            <th>
72<a href="../../../nn/pl/CTR/PedometerMonthHeader/Overview.html"><CODE>nn::pl::CTR::PedometerMonthHeader</CODE></a>
73            </th>
74<td>Structure that holds the recorded year and month for step count entries.</td>
75          </tr>
76          <tr>
77            <th>
78<a href="../../../nn/pl/CTR/PedometerHistoryHeader/Overview.html"><CODE>nn::pl::CTR::PedometerHistoryHeader</CODE></a>
79            </th>
80<td>Structure that indicates the header information for step count data.</td>
81          </tr>
82          <tr>
83            <th>
84<a href="../../../nn/pl/CTR/PedometerEntry/Overview.html">nn::pl::CTR::PedometerEntry</a>
85            </th>
86<td>The structure for the entry that indicates the year and month that step counts were recorded.</td>
87          </tr> </table>
88      </div>
89    </a> <a name="enum" id="enum">
90<h2>Enumerated Types</h2>
91      <div class="section">
92        <table class="members">
93          <tr>
94<th class="category" colspan="3">Shared Fonts</th>
95          </tr>
96          <tr>
97            <td width="100"> </td>
98            <th>
99<a href="../../../nn/pl/CTR/SharedFontType.html">SharedFontType</a>
100            </th>
101<td>Indicates the type of shared font.</td>
102          </tr>
103          <tr>
104            <td width="100"> </td>
105            <th>
106<a href="../../../nn/pl/CTR/SharedFontLoadState.html">SharedFontLoadState</a>
107            </th>
108<td>Indicates the load state of the shared font.</td>
109          </tr> </table>
110      </div>
111    </a> <a name="typedef" id="typedef">
112<h2><CODE>typedef</CODE> Definitions</h2>
113      <div class="section">
114        <table class="members">
115          <tr>
116<th class="category" colspan="3">Pedometer Library</th>
117          </tr>
118          <tr>
119            <td width="100" />
120            <th>
121<a href="../../../nn/pl/CTR/PedometerMonthData.html"><CODE>PedometerMonthData</CODE></a>
122            </th>
123<td>Type that stores one month's worth of step counts.</td>
124          </tr>
125          <tr>
126            <td width="100" />
127            <th>
128<a href="../../../nn/pl/CTR/PedometerHistoryData.html"><CODE>PedometerHistoryData</CODE></a>
129            </th>
130<td>Type that stores all step count data (ten years' worth) stored by the Pedometer library.</td>
131          </tr> </table>
132      </div>
133    </a> <a name="constant" id="constant">
134<h2>Constants</h2>
135      <div class="section">
136        <table class="members">
137          <tr>
138<th class="category" colspan="3">Pedometer Library</th>
139          </tr>
140          <tr>
141            <td width="100"> </td>
142            <th>
143<span class="argument"><a href="../../../nn/pl/CTR/MAX_MONTHDAYS.html"><CODE>MAX_MONTHDAYS</CODE></a></span>
144            </th>
145<td>The number of days saved in entries in a single month.</td>
146          </tr>
147          <tr>
148            <td width="100"> </td>
149            <th>
150<span class="argument"><a href="../../../nn/pl/CTR/DAYHOURS.html"><CODE>DAYHOURS</CODE></a></span>
151            </th>
152<td>The number of hours saved in entries in a single day.</td>
153          </tr>
154          <tr>
155            <td width="100"> </td>
156            <th>
157<span class="argument"><a href="../../../nn/pl/CTR/NUM_FREESPACE.html"><CODE>NUM_FREESPACE</CODE></a></span>
158            </th>
159<td>Number of entries, used internally.</td>
160          </tr>
161          <tr>
162            <td width="100"> </td>
163            <th>
164<span class="argument"><a href="../../../nn/pl/CTR/NUM_MONTHHISTORIES.html"><CODE>NUM_MONTHHISTORIES</CODE></a></span>
165            </th>
166<td>The maximum number of entries per month saved by the Pedometer library.</td>
167          </tr>
168          <tr>
169            <td width="100"> </td>
170            <th>
171<span class="argument"><a href="../../../nn/pl/CTR/MAX_MONTHHISTORIES.html"><CODE>MAX_MONTHHISTORIES</CODE></a></span>
172            </th>
173<td>The internally saved number of entries per month.</td>
174          </tr>
175          <tr>
176            <td width="100"> </td>
177            <th>
178<span class="argument"><a href="../../../nn/pl/CTR/NUM_MONTHHISTORYENTRIES.html"><CODE>NUM_MONTHHISTORYENTRIES</CODE></a></span>
179            </th>
180<td>The number of data instances saved per month.</td>
181          </tr>
182          <tr>
183            <td width="100"> </td>
184            <th>
185<span class="argument"><a href="../../../nn/pl/CTR/INVALID_COUNTER.html"><CODE>INVALID_COUNTER</CODE></a></span>
186            </th>
187<td>A value that indicates an invalid entry.</td>
188          </tr> </table>
189      </div>
190    </a> <a name="function" id="function">
191<h2>Functions</h2>
192      <div class="section">
193        <table class="members">
194          <tr>
195<th class="category" colspan="3">Pedometer Library</th>
196          </tr>
197          <tr>
198            <td width="100">  </td>
199            <th>
200<a href="../../../nn/pl/CTR/GetPedometerState.html">GetPedometerState</a>
201            </th>
202<td>Returns the status of the pedometer.</td>
203          </tr>
204          <tr>
205            <td width="100">  </td>
206            <th>
207<a href="../../../nn/pl/CTR/GetStepHistoryEntry.html">GetStepHistoryEntry</a>
208            </th>
209<td>Gets the entry information for the step counts recorded by the library.</td>
210          </tr>
211          <tr>
212            <td width="100">  </td>
213            <th>
214<a href="../../../nn/pl/CTR/GetStepHistory.html">GetStepHistory</a>
215            </th>
216<td>Gets the number of steps recorded for each hour.</td>
217          </tr>
218          <tr>
219            <td width="100">  </td>
220            <th>
221<a href="../../../nn/pl/CTR/GetTotalStepCount.html">GetTotalStepCount</a>
222            </th>
223<td>Gets the total number of steps.</td>
224          </tr>
225          <tr>
226            <td width="100">  </td>
227            <th>
228<a href="../../../nn/pl/CTR/GetStepHistoryAll.html"><CODE>GetStepHistoryAll</CODE></a>
229            </th>
230<td>Gets all step count data saved by the library.</td>
231          </tr>
232          <tr>
233<th class="category" colspan="3">Shared Fonts</th>
234          </tr>
235          <tr>
236            <td width="100">  </td>
237            <th>
238<a href="../../../nn/pl/CTR/InitializeSharedFont.html">InitializeSharedFont</a>
239            </th>
240<td>Enables use of shared font.</td>
241          </tr>
242          <tr>
243            <td width="100">  </td>
244            <th>
245<a href="../../../nn/pl/CTR/GetSharedFontAddress.html">GetSharedFontAddress</a>
246            </th>
247<td>Gets the address of the shared font.</td>
248          </tr>
249          <tr>
250            <td width="100">  </td>
251            <th>
252<a href="../../../nn/pl/CTR/GetSharedFontSize.html">GetSharedFontSize</a>
253            </th>
254<td>Gets the size of the shared font.</td>
255          </tr>
256          <tr>
257            <td width="100">  </td>
258            <th>
259<a href="../../../nn/pl/CTR/GetSharedFontType.html">GetSharedFontType</a>
260            </th>
261<td>Gets the type of the shared font.</td>
262          </tr>
263          <tr>
264            <td width="100">  </td>
265            <th>
266<a href="../../../nn/pl/CTR/GetSharedFontLoadState.html">GetSharedFontLoadState</a>
267            </th>
268<td>Gets the load state of the shared font.</td>
269          </tr>
270          <tr>
271            <td width="100">  </td>
272            <th>
273<a href="../../../nn/pl/CTR/MountSharedFont.html">MountSharedFont</a>
274            </th>
275<td>Mounts the archive of the shared font.</td>
276          </tr>
277          <tr>
278            <td width="100">  </td>
279            <th>
280<a href="../../../nn/pl/CTR/UnmountSharedFont.html">UnmountSharedFont</a>
281            </th>
282<td>Unmounts the archive of the shared font.</td>
283          </tr> </table>
284      </div>
285    </a>
286<h2>Revision History</h2>
287    <div class="section">
288      <dl class="history">
289        <dt>2010/11/16</dt>
290<dd>Added description of how to initialize and finalize the Pedometer library.
291<br />        </dd>
292        <dt>2010/09/02</dt>
293<dd>Initial version.<br />
294        </dd>
295      </dl>
296    </div>
297  <hr><p>CONFIDENTIAL</p></body>
298</html>
299