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: CProcessServer 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: CProcessServer 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 <h1>CProcessServer Class Reference</h1><!-- doxytag: class="CProcessServer" --> |
8 </head> |
9 <p> |
9 <body> |
10 <a href="class_c_process_server-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
10 <!-- Generated by Doxygen 1.6.2 --> |
11 <tr><td></td></tr> |
11 <div class="contents"> |
12 <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> |
12 <h1>CProcessServer Class Reference</h1><!-- doxytag: class="CProcessServer" --><!-- doxytag: inherits="CServer2" --> |
13 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> { <br> |
13 <p>Inherits CServer2.</p> |
14 <a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38febfde84b09cb7b3b4bfc1fe81587451">EStateUnknown</a>, |
14 |
15 <a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38e0571fa5b49a37bdac4e3d6e5f6f30a1">EDriverLoaded</a>, |
15 <p><a href="class_c_process_server-members.html">List of all members.</a></p> |
16 <a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38d1f2b7048e915bb24c249a40e10c500c">ELogicalChannelOpened</a>, |
16 <table border="0" cellpadding="0" cellspacing="0"> |
17 <a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38946b4628ef31d91ded88495747be5902">ESendingData</a>, |
17 <tr><td colspan="2"><h2>Public Types</h2></td></tr> |
18 <br> |
18 <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> { <br/> |
19 <a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b385357bdbb689c819cd07b927e09b11e3f">ELogicalChannelClosed</a>, |
19 <b>EStateUnknown</b>, |
20 <a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b386156c4dd182e5386ec555f3da184fdfd">EDriverUnloaded</a> |
20 <b>EDriverLoaded</b>, |
21 <br> |
21 <b>ELogicalChannelOpened</b>, |
|
22 <b>ESendingData</b>, |
|
23 <br/> |
|
24 <b>ELogicalChannelClosed</b>, |
|
25 <b>EDriverUnloaded</b> |
|
26 <br/> |
22 }</td></tr> |
27 }</td></tr> |
23 |
28 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
24 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
29 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#af9cff6818110c62a7ad6a1c19984297b">~CProcessServer</a> ()</td></tr> |
25 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#f9cff6818110c62a7ad6a1c19984297b">~CProcessServer</a> ()</td></tr> |
30 <tr><td class="memItemLeft" align="right" valign="top">CSession2 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a0025005d37f3cc34dc8e181373980ce9">NewSessionL</a> (const TVersion &aVersion, const RMessage2 &aMessage) const </td></tr> |
26 |
31 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#ad113263093aaa3489308e2ecc6f20c87">IncrementRefCount</a> ()</td></tr> |
27 <tr><td class="memItemLeft" nowrap align="right" valign="top">CSession2 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#0025005d37f3cc34dc8e181373980ce9">NewSessionL</a> (const TVersion &aVersion, const RMessage2 &aMessage) const </td></tr> |
32 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#acc9e2e8092c07e6fbf8aa4f866a1ba89">DecrementRefCount</a> ()</td></tr> |
28 |
33 <tr><td class="memItemLeft" align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a9333ba960d07b42c72d98466b01788ce">LoadDevice</a> ()</td></tr> |
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#d113263093aaa3489308e2ecc6f20c87">IncrementRefCount</a> ()</td></tr> |
34 <tr><td class="memItemLeft" align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a3e78b0766ff78223d4ccf77fa717b269">UnloadDevice</a> ()</td></tr> |
30 |
35 <tr><td class="memItemLeft" align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a1861af3b7073acf002b55520397c4678">OpenLogicalChannel</a> ()</td></tr> |
31 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#cc9e2e8092c07e6fbf8aa4f866a1ba89">DecrementRefCount</a> ()</td></tr> |
36 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#ac381e3ac102f3c720ca1cffec2ab570d">CloseLogicalChannel</a> ()</td></tr> |
32 |
37 <tr><td class="memItemLeft" align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#aa1e3677c879b6a531f67267ff63ec214">SendDataToDevice</a> (TRequestStatus &aStatus, const TDesC8 &aData)</td></tr> |
33 <tr><td class="memItemLeft" nowrap align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#9333ba960d07b42c72d98466b01788ce">LoadDevice</a> ()</td></tr> |
38 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a853cb371c075e2f74ac3e28a9a66f38e">CancelSendData</a> ()</td></tr> |
34 |
39 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a6af5450445ef1f12826f88a24ec83043">UpdateDriverState</a> (<a class="el" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> aState)</td></tr> |
35 <tr><td class="memItemLeft" nowrap align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#3e78b0766ff78223d4ccf77fa717b269">UnloadDevice</a> ()</td></tr> |
40 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
36 |
41 <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a239278f30e2253b2d0827752355dbef2">NewLC</a> ()</td></tr> |
37 <tr><td class="memItemLeft" nowrap align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#1861af3b7073acf002b55520397c4678">OpenLogicalChannel</a> ()</td></tr> |
|
38 |
|
39 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#c381e3ac102f3c720ca1cffec2ab570d">CloseLogicalChannel</a> ()</td></tr> |
|
40 |
|
41 <tr><td class="memItemLeft" nowrap align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#a1e3677c879b6a531f67267ff63ec214">SendDataToDevice</a> (TRequestStatus &aStatus, const TDesC8 &aData)</td></tr> |
|
42 |
|
43 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#853cb371c075e2f74ac3e28a9a66f38e">CancelSendData</a> ()</td></tr> |
|
44 |
|
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#6af5450445ef1f12826f88a24ec83043">UpdateDriverState</a> (<a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> aState)</td></tr> |
|
46 |
|
47 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
|
48 <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_process_server.html#239278f30e2253b2d0827752355dbef2">NewLC</a> ()</td></tr> |
|
49 |
|
50 </table> |
42 </table> |
51 <hr><a name="_details"></a><h2>Detailed Description</h2> |
43 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
52 Interface for process server. |
44 <p>Interface for process server. </p> |
53 <p>Definition at line <a class="el" href="processserver_8h-source.html#l00029">29</a> of file <a class="el" href="processserver_8h-source.html">processserver.h</a>.</p> |
45 |
54 <hr><h2>Member Enumeration Documentation</h2> |
46 <p>Definition at line <a class="el" href="processserver_8h_source.html#l00029">29</a> of file <a class="el" href="processserver_8h_source.html">processserver.h</a>.</p> |
55 <a class="anchor" name="82cab30ea5d500e0abc51d39a0889b38"></a><!-- doxytag: member="CProcessServer::TDriverState" ref="82cab30ea5d500e0abc51d39a0889b38" args="" --> |
47 <hr/><h2>Member Enumeration Documentation</h2> |
56 <div class="memitem"> |
48 <a class="anchor" id="a82cab30ea5d500e0abc51d39a0889b38"></a><!-- doxytag: member="CProcessServer::TDriverState" ref="a82cab30ea5d500e0abc51d39a0889b38" args="" --> |
57 <div class="memproto"> |
49 <div class="memitem"> |
58 <table class="memname"> |
50 <div class="memproto"> |
59 <tr> |
51 <table class="memname"> |
60 <td class="memname">enum <a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">CProcessServer::TDriverState</a> </td> |
52 <tr> |
61 </tr> |
53 <td class="memname">enum <a class="el" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">CProcessServer::TDriverState</a></td> |
62 </table> |
54 </tr> |
63 </div> |
55 </table> |
64 <div class="memdoc"> |
56 </div> |
65 |
57 <div class="memdoc"> |
66 <p> |
58 <p>Enumeration of states of driver. </p> |
67 Enumeration of states of driver. <dl compact><dt><b>Enumerator: </b></dt><dd> |
59 |
68 <table border="0" cellspacing="2" cellpadding="0"> |
60 <p>Definition at line <a class="el" href="processserver_8h_source.html#l00035">35</a> of file <a class="el" href="processserver_8h_source.html">processserver.h</a>.</p> |
69 <tr><td valign="top"><em><a class="anchor" name="82cab30ea5d500e0abc51d39a0889b38febfde84b09cb7b3b4bfc1fe81587451"></a><!-- doxytag: member="EStateUnknown" ref="82cab30ea5d500e0abc51d39a0889b38febfde84b09cb7b3b4bfc1fe81587451" args="" -->EStateUnknown</em> </td><td> |
61 |
70 </td></tr> |
62 </div> |
71 <tr><td valign="top"><em><a class="anchor" name="82cab30ea5d500e0abc51d39a0889b38e0571fa5b49a37bdac4e3d6e5f6f30a1"></a><!-- doxytag: member="EDriverLoaded" ref="82cab30ea5d500e0abc51d39a0889b38e0571fa5b49a37bdac4e3d6e5f6f30a1" args="" -->EDriverLoaded</em> </td><td> |
63 </div> |
72 </td></tr> |
64 <hr/><h2>Constructor & Destructor Documentation</h2> |
73 <tr><td valign="top"><em><a class="anchor" name="82cab30ea5d500e0abc51d39a0889b38d1f2b7048e915bb24c249a40e10c500c"></a><!-- doxytag: member="ELogicalChannelOpened" ref="82cab30ea5d500e0abc51d39a0889b38d1f2b7048e915bb24c249a40e10c500c" args="" -->ELogicalChannelOpened</em> </td><td> |
65 <a class="anchor" id="af9cff6818110c62a7ad6a1c19984297b"></a><!-- doxytag: member="CProcessServer::~CProcessServer" ref="af9cff6818110c62a7ad6a1c19984297b" args="()" --> |
74 </td></tr> |
66 <div class="memitem"> |
75 <tr><td valign="top"><em><a class="anchor" name="82cab30ea5d500e0abc51d39a0889b38946b4628ef31d91ded88495747be5902"></a><!-- doxytag: member="ESendingData" ref="82cab30ea5d500e0abc51d39a0889b38946b4628ef31d91ded88495747be5902" args="" -->ESendingData</em> </td><td> |
67 <div class="memproto"> |
76 </td></tr> |
68 <table class="memname"> |
77 <tr><td valign="top"><em><a class="anchor" name="82cab30ea5d500e0abc51d39a0889b385357bdbb689c819cd07b927e09b11e3f"></a><!-- doxytag: member="ELogicalChannelClosed" ref="82cab30ea5d500e0abc51d39a0889b385357bdbb689c819cd07b927e09b11e3f" args="" -->ELogicalChannelClosed</em> </td><td> |
69 <tr> |
78 </td></tr> |
70 <td class="memname">CProcessServer::~CProcessServer </td> |
79 <tr><td valign="top"><em><a class="anchor" name="82cab30ea5d500e0abc51d39a0889b386156c4dd182e5386ec555f3da184fdfd"></a><!-- doxytag: member="EDriverUnloaded" ref="82cab30ea5d500e0abc51d39a0889b386156c4dd182e5386ec555f3da184fdfd" args="" -->EDriverUnloaded</em> </td><td> |
71 <td>(</td> |
80 </td></tr> |
72 <td class="paramname"></td> |
81 </table> |
73 <td> ) </td> |
82 </dl> |
74 <td></td> |
83 |
75 </tr> |
84 <p>Definition at line <a class="el" href="processserver_8h-source.html#l00035">35</a> of file <a class="el" href="processserver_8h-source.html">processserver.h</a>.</p> |
76 </table> |
85 |
77 </div> |
86 </div> |
78 <div class="memdoc"> |
87 </div><p> |
79 <p>Destructor, The device driver will be unloaded when the server destructor is called.</p> |
88 <hr><h2>Constructor & Destructor Documentation</h2> |
80 <p>Destructor </p> |
89 <a class="anchor" name="f9cff6818110c62a7ad6a1c19984297b"></a><!-- doxytag: member="CProcessServer::~CProcessServer" ref="f9cff6818110c62a7ad6a1c19984297b" args="()" --> |
81 |
90 <div class="memitem"> |
82 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00050">50</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
91 <div class="memproto"> |
83 |
92 <table class="memname"> |
84 </div> |
93 <tr> |
85 </div> |
94 <td class="memname">CProcessServer::~CProcessServer </td> |
86 <hr/><h2>Member Function Documentation</h2> |
95 <td>(</td> |
87 <a class="anchor" id="a239278f30e2253b2d0827752355dbef2"></a><!-- doxytag: member="CProcessServer::NewLC" ref="a239278f30e2253b2d0827752355dbef2" args="()" --> |
96 <td class="paramname"> </td> |
88 <div class="memitem"> |
97 <td> ) </td> |
89 <div class="memproto"> |
98 <td width="100%"></td> |
90 <table class="memname"> |
99 </tr> |
91 <tr> |
100 </table> |
92 <td class="memname">void CProcessServer::NewLC </td> |
101 </div> |
93 <td>(</td> |
102 <div class="memdoc"> |
94 <td class="paramname"></td> |
103 |
95 <td> ) </td> |
104 <p> |
96 <td><code> [static]</code></td> |
105 Destructor, The device driver will be unloaded when the server destructor is called.<p> |
97 </tr> |
106 Destructor |
98 </table> |
107 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00050">50</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
99 </div> |
108 |
100 <div class="memdoc"> |
109 </div> |
101 <p>Two phase constructor. </p> |
110 </div><p> |
102 |
111 <hr><h2>Member Function Documentation</h2> |
103 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00024">24</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
112 <a class="anchor" name="239278f30e2253b2d0827752355dbef2"></a><!-- doxytag: member="CProcessServer::NewLC" ref="239278f30e2253b2d0827752355dbef2" args="()" --> |
104 |
113 <div class="memitem"> |
105 </div> |
114 <div class="memproto"> |
106 </div> |
115 <table class="memname"> |
107 <a class="anchor" id="a0025005d37f3cc34dc8e181373980ce9"></a><!-- doxytag: member="CProcessServer::NewSessionL" ref="a0025005d37f3cc34dc8e181373980ce9" args="(const TVersion &aVersion, const RMessage2 &aMessage) const " --> |
116 <tr> |
108 <div class="memitem"> |
117 <td class="memname">void CProcessServer::NewLC </td> |
109 <div class="memproto"> |
118 <td>(</td> |
110 <table class="memname"> |
119 <td class="paramname"> </td> |
111 <tr> |
120 <td> ) </td> |
112 <td class="memname">CSession2 * CProcessServer::NewSessionL </td> |
121 <td width="100%"><code> [static]</code></td> |
|
122 </tr> |
|
123 </table> |
|
124 </div> |
|
125 <div class="memdoc"> |
|
126 |
|
127 <p> |
|
128 Two phase constructor. |
|
129 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00024">24</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
|
130 |
|
131 </div> |
|
132 </div><p> |
|
133 <a class="anchor" name="0025005d37f3cc34dc8e181373980ce9"></a><!-- doxytag: member="CProcessServer::NewSessionL" ref="0025005d37f3cc34dc8e181373980ce9" args="(const TVersion &aVersion, const RMessage2 &aMessage) const " --> |
|
134 <div class="memitem"> |
|
135 <div class="memproto"> |
|
136 <table class="memname"> |
|
137 <tr> |
|
138 <td class="memname">CSession2 * CProcessServer::NewSessionL </td> |
|
139 <td>(</td> |
113 <td>(</td> |
140 <td class="paramtype">const TVersion & </td> |
114 <td class="paramtype">const TVersion & </td> |
141 <td class="paramname"> <em>aVersion</em>, </td> |
115 <td class="paramname"> <em>aVersion</em>, </td> |
142 </tr> |
116 </tr> |
143 <tr> |
117 <tr> |
147 <td class="paramname"> <em>aMessage</em></td><td> </td> |
121 <td class="paramname"> <em>aMessage</em></td><td> </td> |
148 </tr> |
122 </tr> |
149 <tr> |
123 <tr> |
150 <td></td> |
124 <td></td> |
151 <td>)</td> |
125 <td>)</td> |
152 <td></td><td></td><td width="100%"> const</td> |
126 <td></td><td></td><td> const</td> |
153 </tr> |
127 </tr> |
154 </table> |
128 </table> |
155 </div> |
129 </div> |
156 <div class="memdoc"> |
130 <div class="memdoc"> |
157 |
131 <p>Creates a server-side session object. </p> |
158 <p> |
132 <dl class="see"><dt><b>See also:</b></dt><dd>CServer2::NewSessionL().</dd></dl> |
159 Creates a server-side session object. <dl class="see" compact><dt><b>See also:</b></dt><dd>CServer2::NewSessionL().</dd></dl> |
133 <p>Creates a new server-side session </p> |
160 Creates a new server-side session <dl compact><dt><b>Parameters:</b></dt><dd> |
134 <dl><dt><b>Parameters:</b></dt><dd> |
161 <table border="0" cellspacing="2" cellpadding="0"> |
135 <table border="0" cellspacing="2" cellpadding="0"> |
162 <tr><td valign="top"></td><td valign="top"><em>aVersion</em> </td><td>Version argument </td></tr> |
136 <tr><td valign="top"></td><td valign="top"><em>aVersion</em> </td><td>Version argument </td></tr> |
163 <tr><td valign="top"></td><td valign="top"><em>aMessage</em> </td><td>The message to process </td></tr> |
137 <tr><td valign="top"></td><td valign="top"><em>aMessage</em> </td><td>The message to process </td></tr> |
164 </table> |
138 </table> |
|
139 </dd> |
165 </dl> |
140 </dl> |
166 <dl class="return" compact><dt><b>Returns:</b></dt><dd>Server side client session object </dd></dl> |
141 <dl class="return"><dt><b>Returns:</b></dt><dd>Server side client session object </dd></dl> |
167 |
142 |
168 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00067">67</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
143 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00067">67</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
169 |
144 |
170 </div> |
145 </div> |
171 </div><p> |
146 </div> |
172 <a class="anchor" name="d113263093aaa3489308e2ecc6f20c87"></a><!-- doxytag: member="CProcessServer::IncrementRefCount" ref="d113263093aaa3489308e2ecc6f20c87" args="()" --> |
147 <a class="anchor" id="ad113263093aaa3489308e2ecc6f20c87"></a><!-- doxytag: member="CProcessServer::IncrementRefCount" ref="ad113263093aaa3489308e2ecc6f20c87" args="()" --> |
173 <div class="memitem"> |
148 <div class="memitem"> |
174 <div class="memproto"> |
149 <div class="memproto"> |
175 <table class="memname"> |
150 <table class="memname"> |
176 <tr> |
151 <tr> |
177 <td class="memname">void CProcessServer::IncrementRefCount </td> |
152 <td class="memname">void CProcessServer::IncrementRefCount </td> |
178 <td>(</td> |
153 <td>(</td> |
179 <td class="paramname"> </td> |
154 <td class="paramname"></td> |
180 <td> ) </td> |
155 <td> ) </td> |
181 <td width="100%"></td> |
156 <td></td> |
182 </tr> |
157 </tr> |
183 </table> |
158 </table> |
184 </div> |
159 </div> |
185 <div class="memdoc"> |
160 <div class="memdoc"> |
186 |
161 <p>Increases reference count and cancels shutdown timer. This function is called when a new session is created.</p> |
187 <p> |
162 <p>Increment the count for the number of clients connected </p> |
188 Increases reference count and cancels shutdown timer. This function is called when a new session is created.<p> |
163 |
189 Increment the count for the number of clients connected |
164 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00086">86</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
190 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00086">86</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
165 |
191 |
166 </div> |
192 </div> |
167 </div> |
193 </div><p> |
168 <a class="anchor" id="acc9e2e8092c07e6fbf8aa4f866a1ba89"></a><!-- doxytag: member="CProcessServer::DecrementRefCount" ref="acc9e2e8092c07e6fbf8aa4f866a1ba89" args="()" --> |
194 <a class="anchor" name="cc9e2e8092c07e6fbf8aa4f866a1ba89"></a><!-- doxytag: member="CProcessServer::DecrementRefCount" ref="cc9e2e8092c07e6fbf8aa4f866a1ba89" args="()" --> |
169 <div class="memitem"> |
195 <div class="memitem"> |
170 <div class="memproto"> |
196 <div class="memproto"> |
171 <table class="memname"> |
197 <table class="memname"> |
172 <tr> |
198 <tr> |
173 <td class="memname">void CProcessServer::DecrementRefCount </td> |
199 <td class="memname">void CProcessServer::DecrementRefCount </td> |
174 <td>(</td> |
200 <td>(</td> |
175 <td class="paramname"></td> |
201 <td class="paramname"> </td> |
176 <td> ) </td> |
202 <td> ) </td> |
177 <td></td> |
203 <td width="100%"></td> |
178 </tr> |
204 </tr> |
179 </table> |
205 </table> |
180 </div> |
206 </div> |
181 <div class="memdoc"> |
207 <div class="memdoc"> |
182 <p>Decreases reference count and starts shutdown timer. This function is called when a session is destroyed.</p> |
208 |
183 <p>Decrement the count for the number of clients connected </p> |
209 <p> |
184 |
210 Decreases reference count and starts shutdown timer. This function is called when a session is destroyed.<p> |
185 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00095">95</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
211 Decrement the count for the number of clients connected |
186 |
212 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00095">95</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
187 </div> |
213 |
188 </div> |
214 </div> |
189 <a class="anchor" id="a9333ba960d07b42c72d98466b01788ce"></a><!-- doxytag: member="CProcessServer::LoadDevice" ref="a9333ba960d07b42c72d98466b01788ce" args="()" --> |
215 </div><p> |
190 <div class="memitem"> |
216 <a class="anchor" name="9333ba960d07b42c72d98466b01788ce"></a><!-- doxytag: member="CProcessServer::LoadDevice" ref="9333ba960d07b42c72d98466b01788ce" args="()" --> |
191 <div class="memproto"> |
217 <div class="memitem"> |
192 <table class="memname"> |
218 <div class="memproto"> |
193 <tr> |
219 <table class="memname"> |
194 <td class="memname">TInt CProcessServer::LoadDevice </td> |
220 <tr> |
195 <td>(</td> |
221 <td class="memname">TInt CProcessServer::LoadDevice </td> |
196 <td class="paramname"></td> |
222 <td>(</td> |
197 <td> ) </td> |
223 <td class="paramname"> </td> |
198 <td></td> |
224 <td> ) </td> |
199 </tr> |
225 <td width="100%"></td> |
200 </table> |
226 </tr> |
201 </div> |
227 </table> |
202 <div class="memdoc"> |
228 </div> |
203 <p>Loads the device, including sample PDD and LDD.</p> |
229 <div class="memdoc"> |
204 <p>Load both LDD and PDD </p> |
230 |
205 <dl class="return"><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
231 <p> |
206 |
232 Loads the device, including sample PDD and LDD.<p> |
207 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00107">107</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
233 Load both LDD and PDD <dl class="return" compact><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
208 |
234 |
209 </div> |
235 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00107">107</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
210 </div> |
236 |
211 <a class="anchor" id="a3e78b0766ff78223d4ccf77fa717b269"></a><!-- doxytag: member="CProcessServer::UnloadDevice" ref="a3e78b0766ff78223d4ccf77fa717b269" args="()" --> |
237 </div> |
212 <div class="memitem"> |
238 </div><p> |
213 <div class="memproto"> |
239 <a class="anchor" name="3e78b0766ff78223d4ccf77fa717b269"></a><!-- doxytag: member="CProcessServer::UnloadDevice" ref="3e78b0766ff78223d4ccf77fa717b269" args="()" --> |
214 <table class="memname"> |
240 <div class="memitem"> |
215 <tr> |
241 <div class="memproto"> |
216 <td class="memname">TInt CProcessServer::UnloadDevice </td> |
242 <table class="memname"> |
217 <td>(</td> |
243 <tr> |
218 <td class="paramname"></td> |
244 <td class="memname">TInt CProcessServer::UnloadDevice </td> |
219 <td> ) </td> |
245 <td>(</td> |
220 <td></td> |
246 <td class="paramname"> </td> |
221 </tr> |
247 <td> ) </td> |
222 </table> |
248 <td width="100%"></td> |
223 </div> |
249 </tr> |
224 <div class="memdoc"> |
250 </table> |
225 <p>Unloads the device, including sample LDD and PDD.</p> |
251 </div> |
226 <p>Unload both LDD and PDD </p> |
252 <div class="memdoc"> |
227 <dl class="return"><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
253 |
228 |
254 <p> |
229 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00132">132</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
255 Unloads the device, including sample LDD and PDD.<p> |
230 |
256 Unload both LDD and PDD <dl class="return" compact><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
231 </div> |
257 |
232 </div> |
258 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00132">132</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
233 <a class="anchor" id="a1861af3b7073acf002b55520397c4678"></a><!-- doxytag: member="CProcessServer::OpenLogicalChannel" ref="a1861af3b7073acf002b55520397c4678" args="()" --> |
259 |
234 <div class="memitem"> |
260 </div> |
235 <div class="memproto"> |
261 </div><p> |
236 <table class="memname"> |
262 <a class="anchor" name="1861af3b7073acf002b55520397c4678"></a><!-- doxytag: member="CProcessServer::OpenLogicalChannel" ref="1861af3b7073acf002b55520397c4678" args="()" --> |
237 <tr> |
263 <div class="memitem"> |
238 <td class="memname">TInt CProcessServer::OpenLogicalChannel </td> |
264 <div class="memproto"> |
239 <td>(</td> |
265 <table class="memname"> |
240 <td class="paramname"></td> |
266 <tr> |
241 <td> ) </td> |
267 <td class="memname">TInt CProcessServer::OpenLogicalChannel </td> |
242 <td></td> |
268 <td>(</td> |
243 </tr> |
269 <td class="paramname"> </td> |
244 </table> |
270 <td> ) </td> |
245 </div> |
271 <td width="100%"></td> |
246 <div class="memdoc"> |
272 </tr> |
247 <p>Opens device's logical channel.</p> |
273 </table> |
248 <p>Open LDD </p> |
274 </div> |
249 <dl class="return"><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
275 <div class="memdoc"> |
250 |
276 |
251 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00158">158</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
277 <p> |
252 |
278 Opens device's logical channel.<p> |
253 </div> |
279 Open LDD <dl class="return" compact><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
254 </div> |
280 |
255 <a class="anchor" id="ac381e3ac102f3c720ca1cffec2ab570d"></a><!-- doxytag: member="CProcessServer::CloseLogicalChannel" ref="ac381e3ac102f3c720ca1cffec2ab570d" args="()" --> |
281 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00158">158</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
256 <div class="memitem"> |
282 |
257 <div class="memproto"> |
283 </div> |
258 <table class="memname"> |
284 </div><p> |
259 <tr> |
285 <a class="anchor" name="c381e3ac102f3c720ca1cffec2ab570d"></a><!-- doxytag: member="CProcessServer::CloseLogicalChannel" ref="c381e3ac102f3c720ca1cffec2ab570d" args="()" --> |
260 <td class="memname">void CProcessServer::CloseLogicalChannel </td> |
286 <div class="memitem"> |
261 <td>(</td> |
287 <div class="memproto"> |
262 <td class="paramname"></td> |
288 <table class="memname"> |
263 <td> ) </td> |
289 <tr> |
264 <td></td> |
290 <td class="memname">void CProcessServer::CloseLogicalChannel </td> |
265 </tr> |
291 <td>(</td> |
266 </table> |
292 <td class="paramname"> </td> |
267 </div> |
293 <td> ) </td> |
268 <div class="memdoc"> |
294 <td width="100%"></td> |
269 <p>Closes device's logical channel.</p> |
295 </tr> |
270 <p>Close LDD </p> |
296 </table> |
271 |
297 </div> |
272 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00172">172</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
298 <div class="memdoc"> |
273 |
299 |
274 </div> |
300 <p> |
275 </div> |
301 Closes device's logical channel.<p> |
276 <a class="anchor" id="aa1e3677c879b6a531f67267ff63ec214"></a><!-- doxytag: member="CProcessServer::SendDataToDevice" ref="aa1e3677c879b6a531f67267ff63ec214" args="(TRequestStatus &aStatus, const TDesC8 &aData)" --> |
302 Close LDD |
277 <div class="memitem"> |
303 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00172">172</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
278 <div class="memproto"> |
304 |
279 <table class="memname"> |
305 </div> |
280 <tr> |
306 </div><p> |
281 <td class="memname">TInt CProcessServer::SendDataToDevice </td> |
307 <a class="anchor" name="a1e3677c879b6a531f67267ff63ec214"></a><!-- doxytag: member="CProcessServer::SendDataToDevice" ref="a1e3677c879b6a531f67267ff63ec214" args="(TRequestStatus &aStatus, const TDesC8 &aData)" --> |
|
308 <div class="memitem"> |
|
309 <div class="memproto"> |
|
310 <table class="memname"> |
|
311 <tr> |
|
312 <td class="memname">TInt CProcessServer::SendDataToDevice </td> |
|
313 <td>(</td> |
282 <td>(</td> |
314 <td class="paramtype">TRequestStatus & </td> |
283 <td class="paramtype">TRequestStatus & </td> |
315 <td class="paramname"> <em>aStatus</em>, </td> |
284 <td class="paramname"> <em>aStatus</em>, </td> |
316 </tr> |
285 </tr> |
317 <tr> |
286 <tr> |
321 <td class="paramname"> <em>aData</em></td><td> </td> |
290 <td class="paramname"> <em>aData</em></td><td> </td> |
322 </tr> |
291 </tr> |
323 <tr> |
292 <tr> |
324 <td></td> |
293 <td></td> |
325 <td>)</td> |
294 <td>)</td> |
326 <td></td><td></td><td width="100%"></td> |
295 <td></td><td></td><td></td> |
327 </tr> |
296 </tr> |
328 </table> |
297 </table> |
329 </div> |
298 </div> |
330 <div class="memdoc"> |
299 <div class="memdoc"> |
331 |
300 <p>Sends data to device asynchronously.</p> |
332 <p> |
301 <p>Send data to LDD device </p> |
333 Sends data to device asynchronously.<p> |
302 <dl><dt><b>Parameters:</b></dt><dd> |
334 Send data to LDD device <dl compact><dt><b>Parameters:</b></dt><dd> |
|
335 <table border="0" cellspacing="2" cellpadding="0"> |
303 <table border="0" cellspacing="2" cellpadding="0"> |
336 <tr><td valign="top"></td><td valign="top"><em>aStatus</em> </td><td>A TRequestStatus reference </td></tr> |
304 <tr><td valign="top"></td><td valign="top"><em>aStatus</em> </td><td>A TRequestStatus reference </td></tr> |
337 <tr><td valign="top"></td><td valign="top"><em>aData</em> </td><td>Data to be sent </td></tr> |
305 <tr><td valign="top"></td><td valign="top"><em>aData</em> </td><td>Data to be sent </td></tr> |
338 </table> |
306 </table> |
|
307 </dd> |
339 </dl> |
308 </dl> |
340 <dl class="return" compact><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
309 <dl class="return"><dt><b>Returns:</b></dt><dd>KErrNone or standard error code. </dd></dl> |
341 |
310 |
342 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00186">186</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
311 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00186">186</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
343 |
312 |
344 </div> |
313 </div> |
345 </div><p> |
314 </div> |
346 <a class="anchor" name="853cb371c075e2f74ac3e28a9a66f38e"></a><!-- doxytag: member="CProcessServer::CancelSendData" ref="853cb371c075e2f74ac3e28a9a66f38e" args="()" --> |
315 <a class="anchor" id="a853cb371c075e2f74ac3e28a9a66f38e"></a><!-- doxytag: member="CProcessServer::CancelSendData" ref="a853cb371c075e2f74ac3e28a9a66f38e" args="()" --> |
347 <div class="memitem"> |
316 <div class="memitem"> |
348 <div class="memproto"> |
317 <div class="memproto"> |
349 <table class="memname"> |
318 <table class="memname"> |
350 <tr> |
319 <tr> |
351 <td class="memname">void CProcessServer::CancelSendData </td> |
320 <td class="memname">void CProcessServer::CancelSendData </td> |
352 <td>(</td> |
321 <td>(</td> |
353 <td class="paramname"> </td> |
322 <td class="paramname"></td> |
354 <td> ) </td> |
323 <td> ) </td> |
355 <td width="100%"></td> |
324 <td></td> |
356 </tr> |
325 </tr> |
357 </table> |
326 </table> |
358 </div> |
327 </div> |
359 <div class="memdoc"> |
328 <div class="memdoc"> |
360 |
329 <p>Cancels send data operation.</p> |
361 <p> |
330 <p>Cancel sending data </p> |
362 Cancels send data operation.<p> |
331 |
363 Cancel sending data |
332 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00203">203</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
364 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00203">203</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
333 |
365 |
334 </div> |
366 </div> |
335 </div> |
367 </div><p> |
336 <a class="anchor" id="a6af5450445ef1f12826f88a24ec83043"></a><!-- doxytag: member="CProcessServer::UpdateDriverState" ref="a6af5450445ef1f12826f88a24ec83043" args="(TDriverState aState)" --> |
368 <a class="anchor" name="6af5450445ef1f12826f88a24ec83043"></a><!-- doxytag: member="CProcessServer::UpdateDriverState" ref="6af5450445ef1f12826f88a24ec83043" args="(TDriverState aState)" --> |
337 <div class="memitem"> |
369 <div class="memitem"> |
338 <div class="memproto"> |
370 <div class="memproto"> |
339 <table class="memname"> |
371 <table class="memname"> |
340 <tr> |
372 <tr> |
341 <td class="memname">void CProcessServer::UpdateDriverState </td> |
373 <td class="memname">void CProcessServer::UpdateDriverState </td> |
342 <td>(</td> |
374 <td>(</td> |
343 <td class="paramtype"><a class="el" href="class_c_process_server.html#a82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> </td> |
375 <td class="paramtype"><a class="el" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> </td> |
344 <td class="paramname"> <em>aState</em></td> |
376 <td class="paramname"> <em>aState</em> </td> |
345 <td> ) </td> |
377 <td> ) </td> |
346 <td></td> |
378 <td width="100%"></td> |
347 </tr> |
379 </tr> |
348 </table> |
380 </table> |
349 </div> |
381 </div> |
350 <div class="memdoc"> |
382 <div class="memdoc"> |
351 <p>Updates device state.</p> |
383 |
352 <p>Update the states of the driver </p> |
384 <p> |
353 <dl><dt><b>Parameters:</b></dt><dd> |
385 Updates device state.<p> |
|
386 Update the states of the driver <dl compact><dt><b>Parameters:</b></dt><dd> |
|
387 <table border="0" cellspacing="2" cellpadding="0"> |
354 <table border="0" cellspacing="2" cellpadding="0"> |
388 <tr><td valign="top"></td><td valign="top"><em>aState</em> </td><td>State of the driver to be updated </td></tr> |
355 <tr><td valign="top"></td><td valign="top"><em>aState</em> </td><td>State of the driver to be updated </td></tr> |
389 </table> |
356 </table> |
|
357 </dd> |
390 </dl> |
358 </dl> |
391 |
359 |
392 <p>Definition at line <a class="el" href="processserver_8cpp-source.html#l00212">212</a> of file <a class="el" href="processserver_8cpp-source.html">processserver.cpp</a>.</p> |
360 <p>Definition at line <a class="el" href="processserver_8cpp_source.html#l00212">212</a> of file <a class="el" href="processserver_8cpp_source.html">processserver.cpp</a>.</p> |
393 |
361 |
394 </div> |
362 </div> |
395 </div><p> |
363 </div> |
396 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by |
364 </div> |
|
365 <hr size="1"/><address style="text-align: right;"><small>Generated by |
397 <a href="http://www.doxygen.org/index.html"> |
366 <a href="http://www.doxygen.org/index.html"> |
398 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
367 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
399 </body> |
368 </body> |
400 </html> |
369 </html> |