1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
3 <title>TB10.1 Example Applications: CDatabase Class Reference</title> |
3 <head> |
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
5 <title>TB9.2 Example Applications: CDatabase Class Reference</title> |
6 </head><body> |
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
7 <!-- Generated by Doxygen 1.5.3 --> |
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
8 </head> |
|
9 <body> |
|
10 <!-- Generated by Doxygen 1.6.2 --> |
|
11 <div class="contents"> |
8 <h1>CDatabase Class Reference</h1><!-- doxytag: class="CDatabase" --> |
12 <h1>CDatabase Class Reference</h1><!-- doxytag: class="CDatabase" --> |
9 <p> |
13 <p><a href="class_c_database-members.html">List of all members.</a></p> |
10 <a href="class_c_database-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
14 <table border="0" cellpadding="0" cellspacing="0"> |
11 <tr><td></td></tr> |
15 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
12 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
16 <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#a9a3adb67c04d4f1432556aab4149841e">~CDatabase</a> ()</td></tr> |
13 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#9a3adb67c04d4f1432556aab4149841e">~CDatabase</a> ()</td></tr> |
17 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#a89047671e6c027e4551a8b7a276add96">CreateDatabaseL</a> ()</td></tr> |
14 |
18 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#ae9fea33b26bf2ba7cdad59361ee45221">ReadfromDatabaseL</a> ()</td></tr> |
15 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#89047671e6c027e4551a8b7a276add96">CreateDatabaseL</a> ()</td></tr> |
19 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#a5df7d7393cfb36c850d562df4f35a0f6">WritetoDatabaseL</a> ()</td></tr> |
16 |
20 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#a3546e400216858a7ae560808a9d1465e">PeriodicReadFuncL</a> ()</td></tr> |
17 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#e9fea33b26bf2ba7cdad59361ee45221">ReadfromDatabaseL</a> ()</td></tr> |
21 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#a4a0f7606f98a6db98addb52a7ca2b881">PeriodicWriteFuncL</a> ()</td></tr> |
18 |
22 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
19 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#5df7d7393cfb36c850d562df4f35a0f6">WritetoDatabaseL</a> ()</td></tr> |
23 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_database.html">CDatabase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#aab355b9be127debd7a5d54e5ac8f9021">NewL</a> ()</td></tr> |
20 |
24 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#a26f8d942e0dc5c8050afd5cbb0d80f18">PeriodicReadL</a> (TAny *aPtr)</td></tr> |
21 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#3546e400216858a7ae560808a9d1465e">PeriodicReadFuncL</a> ()</td></tr> |
25 <tr><td class="memItemLeft" align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#a726242c03596e80a98deeef4c5c1681c">PeriodicWriteL</a> (TAny *aPtr)</td></tr> |
22 |
26 <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> |
23 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#4a0f7606f98a6db98addb52a7ca2b881">PeriodicWriteFuncL</a> ()</td></tr> |
27 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#ad3d6215a0fa65e7ead3533065905a747">ConstructL</a> ()</td></tr> |
24 |
|
25 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
|
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_database.html">CDatabase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#ab355b9be127debd7a5d54e5ac8f9021">NewL</a> ()</td></tr> |
|
27 |
|
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#26f8d942e0dc5c8050afd5cbb0d80f18">PeriodicReadL</a> (TAny *aPtr)</td></tr> |
|
29 |
|
30 <tr><td class="memItemLeft" nowrap align="right" valign="top">static TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#726242c03596e80a98deeef4c5c1681c">PeriodicWriteL</a> (TAny *aPtr)</td></tr> |
|
31 |
|
32 <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> |
|
33 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_database.html#d3d6215a0fa65e7ead3533065905a747">ConstructL</a> ()</td></tr> |
|
34 |
|
35 </table> |
28 </table> |
36 <hr><a name="_details"></a><h2>Detailed Description</h2> |
29 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
37 This is a database class which is used by two different threads to demonstrate thread synchronization using a semaphore. |
30 <p>This is a database class which is used by two different threads to demonstrate thread synchronization using a semaphore. </p> |
38 <p>Definition at line <a class="el" href="_c_database_8h-source.html#l00028">28</a> of file <a class="el" href="_c_database_8h-source.html">CDatabase.h</a>.</p> |
31 |
39 <hr><h2>Constructor & Destructor Documentation</h2> |
32 <p>Definition at line <a class="el" href="_c_database_8h_source.html#l00028">28</a> of file <a class="el" href="_c_database_8h_source.html">CDatabase.h</a>.</p> |
40 <a class="anchor" name="9a3adb67c04d4f1432556aab4149841e"></a><!-- doxytag: member="CDatabase::~CDatabase" ref="9a3adb67c04d4f1432556aab4149841e" args="()" --> |
33 <hr/><h2>Constructor & Destructor Documentation</h2> |
41 <div class="memitem"> |
34 <a class="anchor" id="a9a3adb67c04d4f1432556aab4149841e"></a><!-- doxytag: member="CDatabase::~CDatabase" ref="a9a3adb67c04d4f1432556aab4149841e" args="()" --> |
42 <div class="memproto"> |
35 <div class="memitem"> |
43 <table class="memname"> |
36 <div class="memproto"> |
44 <tr> |
37 <table class="memname"> |
45 <td class="memname">CDatabase::~CDatabase </td> |
38 <tr> |
46 <td>(</td> |
39 <td class="memname">CDatabase::~CDatabase </td> |
47 <td class="paramname"> </td> |
40 <td>(</td> |
48 <td> ) </td> |
41 <td class="paramname"></td> |
49 <td width="100%"><code> [virtual]</code></td> |
42 <td> ) </td> |
50 </tr> |
43 <td><code> [virtual]</code></td> |
51 </table> |
44 </tr> |
52 </div> |
45 </table> |
53 <div class="memdoc"> |
46 </div> |
54 |
47 <div class="memdoc"> |
55 <p> |
48 <p>Destructor </p> |
56 Destructor |
49 |
57 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00041">41</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
50 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00041">41</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
58 |
51 |
59 </div> |
52 </div> |
60 </div><p> |
53 </div> |
61 <hr><h2>Member Function Documentation</h2> |
54 <hr/><h2>Member Function Documentation</h2> |
62 <a class="anchor" name="ab355b9be127debd7a5d54e5ac8f9021"></a><!-- doxytag: member="CDatabase::NewL" ref="ab355b9be127debd7a5d54e5ac8f9021" args="()" --> |
55 <a class="anchor" id="aab355b9be127debd7a5d54e5ac8f9021"></a><!-- doxytag: member="CDatabase::NewL" ref="aab355b9be127debd7a5d54e5ac8f9021" args="()" --> |
63 <div class="memitem"> |
56 <div class="memitem"> |
64 <div class="memproto"> |
57 <div class="memproto"> |
65 <table class="memname"> |
58 <table class="memname"> |
66 <tr> |
59 <tr> |
67 <td class="memname"><a class="el" href="class_c_database.html">CDatabase</a> * CDatabase::NewL </td> |
60 <td class="memname"><a class="el" href="class_c_database.html">CDatabase</a> * CDatabase::NewL </td> |
68 <td>(</td> |
61 <td>(</td> |
69 <td class="paramname"> </td> |
62 <td class="paramname"></td> |
70 <td> ) </td> |
63 <td> ) </td> |
71 <td width="100%"><code> [static]</code></td> |
64 <td><code> [static]</code></td> |
72 </tr> |
65 </tr> |
73 </table> |
66 </table> |
74 </div> |
67 </div> |
75 <div class="memdoc"> |
68 <div class="memdoc"> |
76 |
69 <p><a class="el" href="class_c_database.html#aab355b9be127debd7a5d54e5ac8f9021">NewL()</a> </p> |
77 <p> |
70 |
78 <a class="el" href="class_c_database.html#ab355b9be127debd7a5d54e5ac8f9021">NewL()</a> |
71 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00029">29</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
79 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00029">29</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
72 |
80 |
73 </div> |
81 </div> |
74 </div> |
82 </div><p> |
75 <a class="anchor" id="a89047671e6c027e4551a8b7a276add96"></a><!-- doxytag: member="CDatabase::CreateDatabaseL" ref="a89047671e6c027e4551a8b7a276add96" args="()" --> |
83 <a class="anchor" name="89047671e6c027e4551a8b7a276add96"></a><!-- doxytag: member="CDatabase::CreateDatabaseL" ref="89047671e6c027e4551a8b7a276add96" args="()" --> |
76 <div class="memitem"> |
84 <div class="memitem"> |
77 <div class="memproto"> |
85 <div class="memproto"> |
78 <table class="memname"> |
86 <table class="memname"> |
79 <tr> |
87 <tr> |
80 <td class="memname">void CDatabase::CreateDatabaseL </td> |
88 <td class="memname">void CDatabase::CreateDatabaseL </td> |
81 <td>(</td> |
89 <td>(</td> |
82 <td class="paramname"></td> |
90 <td class="paramname"> </td> |
83 <td> ) </td> |
91 <td> ) </td> |
84 <td></td> |
92 <td width="100%"></td> |
85 </tr> |
93 </tr> |
86 </table> |
94 </table> |
87 </div> |
95 </div> |
88 <div class="memdoc"> |
96 <div class="memdoc"> |
89 <p>Creates database in the store and create a table and add columns to it. </p> |
97 |
90 |
98 <p> |
91 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00079">79</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
99 Creates database in the store and create a table and add columns to it. |
92 |
100 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00079">79</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
93 </div> |
101 |
94 </div> |
102 </div> |
95 <a class="anchor" id="ae9fea33b26bf2ba7cdad59361ee45221"></a><!-- doxytag: member="CDatabase::ReadfromDatabaseL" ref="ae9fea33b26bf2ba7cdad59361ee45221" args="()" --> |
103 </div><p> |
96 <div class="memitem"> |
104 <a class="anchor" name="e9fea33b26bf2ba7cdad59361ee45221"></a><!-- doxytag: member="CDatabase::ReadfromDatabaseL" ref="e9fea33b26bf2ba7cdad59361ee45221" args="()" --> |
97 <div class="memproto"> |
105 <div class="memitem"> |
98 <table class="memname"> |
106 <div class="memproto"> |
99 <tr> |
107 <table class="memname"> |
100 <td class="memname">void CDatabase::ReadfromDatabaseL </td> |
108 <tr> |
101 <td>(</td> |
109 <td class="memname">void CDatabase::ReadfromDatabaseL </td> |
102 <td class="paramname"></td> |
110 <td>(</td> |
103 <td> ) </td> |
111 <td class="paramname"> </td> |
104 <td></td> |
112 <td> ) </td> |
105 </tr> |
113 <td width="100%"></td> |
106 </table> |
114 </tr> |
107 </div> |
115 </table> |
108 <div class="memdoc"> |
116 </div> |
109 <p>This function is called by the ReaderThread in SemaphoreExample. It creates a console to display the data read from the database and starts a periodic function to read the database at an interval of 1 second. </p> |
117 <div class="memdoc"> |
110 |
118 |
111 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00220">220</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
119 <p> |
112 |
120 This function is called by the ReaderThread in SemaphoreExample. It creates a console to display the data read from the database and starts a periodic function to read the database at an interval of 1 second. |
113 </div> |
121 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00220">220</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
114 </div> |
122 |
115 <a class="anchor" id="a5df7d7393cfb36c850d562df4f35a0f6"></a><!-- doxytag: member="CDatabase::WritetoDatabaseL" ref="a5df7d7393cfb36c850d562df4f35a0f6" args="()" --> |
123 </div> |
116 <div class="memitem"> |
124 </div><p> |
117 <div class="memproto"> |
125 <a class="anchor" name="5df7d7393cfb36c850d562df4f35a0f6"></a><!-- doxytag: member="CDatabase::WritetoDatabaseL" ref="5df7d7393cfb36c850d562df4f35a0f6" args="()" --> |
118 <table class="memname"> |
126 <div class="memitem"> |
119 <tr> |
127 <div class="memproto"> |
120 <td class="memname">void CDatabase::WritetoDatabaseL </td> |
128 <table class="memname"> |
121 <td>(</td> |
129 <tr> |
122 <td class="paramname"></td> |
130 <td class="memname">void CDatabase::WritetoDatabaseL </td> |
123 <td> ) </td> |
131 <td>(</td> |
124 <td></td> |
132 <td class="paramname"> </td> |
125 </tr> |
133 <td> ) </td> |
126 </table> |
134 <td width="100%"></td> |
127 </div> |
135 </tr> |
128 <div class="memdoc"> |
136 </table> |
129 <p>This function is called by the WriteThread in the SemaphoreExample and it starts a periodic function to write data in the database at an interval of 1 sec. </p> |
137 </div> |
130 |
138 <div class="memdoc"> |
131 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00135">135</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
139 |
132 |
140 <p> |
133 </div> |
141 This function is called by the WriteThread in the SemaphoreExample and it starts a periodic function to write data in the database at an interval of 1 sec. |
134 </div> |
142 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00135">135</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
135 <a class="anchor" id="a26f8d942e0dc5c8050afd5cbb0d80f18"></a><!-- doxytag: member="CDatabase::PeriodicReadL" ref="a26f8d942e0dc5c8050afd5cbb0d80f18" args="(TAny *aPtr)" --> |
143 |
136 <div class="memitem"> |
144 </div> |
137 <div class="memproto"> |
145 </div><p> |
138 <table class="memname"> |
146 <a class="anchor" name="26f8d942e0dc5c8050afd5cbb0d80f18"></a><!-- doxytag: member="CDatabase::PeriodicReadL" ref="26f8d942e0dc5c8050afd5cbb0d80f18" args="(TAny *aPtr)" --> |
139 <tr> |
147 <div class="memitem"> |
140 <td class="memname">TInt CDatabase::PeriodicReadL </td> |
148 <div class="memproto"> |
|
149 <table class="memname"> |
|
150 <tr> |
|
151 <td class="memname">TInt CDatabase::PeriodicReadL </td> |
|
152 <td>(</td> |
141 <td>(</td> |
153 <td class="paramtype">TAny * </td> |
142 <td class="paramtype">TAny * </td> |
154 <td class="paramname"> <em>aPtr</em> </td> |
143 <td class="paramname"> <em>aPtr</em></td> |
155 <td> ) </td> |
144 <td> ) </td> |
156 <td width="100%"><code> [static]</code></td> |
145 <td><code> [static]</code></td> |
157 </tr> |
146 </tr> |
158 </table> |
147 </table> |
159 </div> |
148 </div> |
160 <div class="memdoc"> |
149 <div class="memdoc"> |
161 |
150 <p>The call back function associated with the CPeriodic object of the <a class="el" href="class_c_database.html">CDatabase</a> class and is called by the <a class="el" href="class_c_database.html#ae9fea33b26bf2ba7cdad59361ee45221">ReadfromDatabaseL()</a> function. </p> |
162 <p> |
151 |
163 The call back function associated with the CPeriodic object of the <a class="el" href="class_c_database.html">CDatabase</a> class and is called by the <a class="el" href="class_c_database.html#e9fea33b26bf2ba7cdad59361ee45221">ReadfromDatabaseL()</a> function. |
152 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00237">237</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
164 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00237">237</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
153 |
165 |
154 </div> |
166 </div> |
155 </div> |
167 </div><p> |
156 <a class="anchor" id="a3546e400216858a7ae560808a9d1465e"></a><!-- doxytag: member="CDatabase::PeriodicReadFuncL" ref="a3546e400216858a7ae560808a9d1465e" args="()" --> |
168 <a class="anchor" name="3546e400216858a7ae560808a9d1465e"></a><!-- doxytag: member="CDatabase::PeriodicReadFuncL" ref="3546e400216858a7ae560808a9d1465e" args="()" --> |
157 <div class="memitem"> |
169 <div class="memitem"> |
158 <div class="memproto"> |
170 <div class="memproto"> |
159 <table class="memname"> |
171 <table class="memname"> |
160 <tr> |
172 <tr> |
161 <td class="memname">void CDatabase::PeriodicReadFuncL </td> |
173 <td class="memname">void CDatabase::PeriodicReadFuncL </td> |
162 <td>(</td> |
174 <td>(</td> |
163 <td class="paramname"></td> |
175 <td class="paramname"> </td> |
164 <td> ) </td> |
176 <td> ) </td> |
165 <td></td> |
177 <td width="100%"></td> |
166 </tr> |
178 </tr> |
167 </table> |
179 </table> |
168 </div> |
180 </div> |
169 <div class="memdoc"> |
181 <div class="memdoc"> |
170 <p>This function is called periodically at an interval of 1 second, it opens the database , reads one row and displays the numbers to the console. </p> |
182 |
171 |
183 <p> |
172 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00248">248</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
184 This function is called periodically at an interval of 1 second, it opens the database , reads one row and displays the numbers to the console. |
173 |
185 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00248">248</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
174 </div> |
186 |
175 </div> |
187 </div> |
176 <a class="anchor" id="a726242c03596e80a98deeef4c5c1681c"></a><!-- doxytag: member="CDatabase::PeriodicWriteL" ref="a726242c03596e80a98deeef4c5c1681c" args="(TAny *aPtr)" --> |
188 </div><p> |
177 <div class="memitem"> |
189 <a class="anchor" name="726242c03596e80a98deeef4c5c1681c"></a><!-- doxytag: member="CDatabase::PeriodicWriteL" ref="726242c03596e80a98deeef4c5c1681c" args="(TAny *aPtr)" --> |
178 <div class="memproto"> |
190 <div class="memitem"> |
179 <table class="memname"> |
191 <div class="memproto"> |
180 <tr> |
192 <table class="memname"> |
181 <td class="memname">TInt CDatabase::PeriodicWriteL </td> |
193 <tr> |
|
194 <td class="memname">TInt CDatabase::PeriodicWriteL </td> |
|
195 <td>(</td> |
182 <td>(</td> |
196 <td class="paramtype">TAny * </td> |
183 <td class="paramtype">TAny * </td> |
197 <td class="paramname"> <em>aPtr</em> </td> |
184 <td class="paramname"> <em>aPtr</em></td> |
198 <td> ) </td> |
185 <td> ) </td> |
199 <td width="100%"><code> [static]</code></td> |
186 <td><code> [static]</code></td> |
200 </tr> |
187 </tr> |
201 </table> |
188 </table> |
202 </div> |
189 </div> |
203 <div class="memdoc"> |
190 <div class="memdoc"> |
204 |
191 <p>The call back function associated with the CPeriodic object of the <a class="el" href="class_c_database.html">CDatabase</a> class and is called by the <a class="el" href="class_c_database.html#a5df7d7393cfb36c850d562df4f35a0f6">WritetoDatabaseL()</a> function. </p> |
205 <p> |
192 |
206 The call back function associated with the CPeriodic object of the <a class="el" href="class_c_database.html">CDatabase</a> class and is called by the <a class="el" href="class_c_database.html#5df7d7393cfb36c850d562df4f35a0f6">WritetoDatabaseL()</a> function. |
193 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00145">145</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
207 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00145">145</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
194 |
208 |
195 </div> |
209 </div> |
196 </div> |
210 </div><p> |
197 <a class="anchor" id="a4a0f7606f98a6db98addb52a7ca2b881"></a><!-- doxytag: member="CDatabase::PeriodicWriteFuncL" ref="a4a0f7606f98a6db98addb52a7ca2b881" args="()" --> |
211 <a class="anchor" name="4a0f7606f98a6db98addb52a7ca2b881"></a><!-- doxytag: member="CDatabase::PeriodicWriteFuncL" ref="4a0f7606f98a6db98addb52a7ca2b881" args="()" --> |
198 <div class="memitem"> |
212 <div class="memitem"> |
199 <div class="memproto"> |
213 <div class="memproto"> |
200 <table class="memname"> |
214 <table class="memname"> |
201 <tr> |
215 <tr> |
202 <td class="memname">void CDatabase::PeriodicWriteFuncL </td> |
216 <td class="memname">void CDatabase::PeriodicWriteFuncL </td> |
203 <td>(</td> |
217 <td>(</td> |
204 <td class="paramname"></td> |
218 <td class="paramname"> </td> |
205 <td> ) </td> |
219 <td> ) </td> |
206 <td></td> |
220 <td width="100%"></td> |
207 </tr> |
221 </tr> |
208 </table> |
222 </table> |
209 </div> |
223 </div> |
210 <div class="memdoc"> |
224 <div class="memdoc"> |
211 <p>This function is called periodically at an interval of 1 sec, it opens the database, inserts one row and fills it with integer values. </p> |
225 |
212 |
226 <p> |
213 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00157">157</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
227 This function is called periodically at an interval of 1 sec, it opens the database, inserts one row and fills it with integer values. |
214 |
228 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00157">157</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
215 </div> |
229 |
216 </div> |
230 </div> |
217 <a class="anchor" id="ad3d6215a0fa65e7ead3533065905a747"></a><!-- doxytag: member="CDatabase::ConstructL" ref="ad3d6215a0fa65e7ead3533065905a747" args="()" --> |
231 </div><p> |
218 <div class="memitem"> |
232 <a class="anchor" name="d3d6215a0fa65e7ead3533065905a747"></a><!-- doxytag: member="CDatabase::ConstructL" ref="d3d6215a0fa65e7ead3533065905a747" args="()" --> |
219 <div class="memproto"> |
233 <div class="memitem"> |
220 <table class="memname"> |
234 <div class="memproto"> |
221 <tr> |
235 <table class="memname"> |
222 <td class="memname">void CDatabase::ConstructL </td> |
236 <tr> |
223 <td>(</td> |
237 <td class="memname">void CDatabase::ConstructL </td> |
224 <td class="paramname"></td> |
238 <td>(</td> |
225 <td> ) </td> |
239 <td class="paramname"> </td> |
226 <td><code> [protected]</code></td> |
240 <td> ) </td> |
227 </tr> |
241 <td width="100%"><code> [protected]</code></td> |
228 </table> |
242 </tr> |
229 </div> |
243 </table> |
230 <div class="memdoc"> |
244 </div> |
231 <p>Constructs a CPeriodic object, a database , opens the global semaphore. </p> |
245 <div class="memdoc"> |
232 |
246 |
233 <p>Definition at line <a class="el" href="_c_database_8cpp_source.html#l00054">54</a> of file <a class="el" href="_c_database_8cpp_source.html">CDatabase.cpp</a>.</p> |
247 <p> |
234 |
248 Constructs a CPeriodic object, a database , opens the global semaphore. |
235 </div> |
249 <p>Definition at line <a class="el" href="_c_database_8cpp-source.html#l00054">54</a> of file <a class="el" href="_c_database_8cpp-source.html">CDatabase.cpp</a>.</p> |
236 </div> |
250 |
237 </div> |
251 </div> |
238 <hr size="1"/><address style="text-align: right;"><small>Generated by |
252 </div><p> |
|
253 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:04 2010 for TB10.1 Example Applications by |
|
254 <a href="http://www.doxygen.org/index.html"> |
239 <a href="http://www.doxygen.org/index.html"> |
255 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
240 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
256 </body> |
241 </body> |
257 </html> |
242 </html> |