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: CEventHandler 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: CEventHandler 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>CEventHandler Class Reference</h1><!-- doxytag: class="CEventHandler" --> |
12 <h1>CEventHandler Class Reference</h1><!-- doxytag: class="CEventHandler" --> |
9 <p> |
13 <p><a href="class_c_event_handler-members.html">List of all members.</a></p> |
10 <a href="class_c_event_handler-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_event_handler.html#a41b6924a33472d04cee2fe3e90cc6acc">~CEventHandler</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_event_handler.html#41b6924a33472d04cee2fe3e90cc6acc">~CEventHandler</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_event_handler.html#aaebc5150679bb4621e2bc353d6b97131">HandlePointerEvent</a> (TPointerEvent &aPointerEvent)</td></tr> |
|
18 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_event_handler.html#a72d34b52144f8e5312ec78abe44ee895">InfoMessage</a> (const TDesC &aMsg)</td></tr> |
|
19 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_event_handler.html#aac65df544e26e3ef06cc087b514c030a">IssueRequest</a> ()</td></tr> |
|
20 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
|
21 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_event_handler.html">CEventHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_event_handler.html#a0e709c6e924eb9799e69ea10e26824d6">NewL</a> (RWsSession &aWs)</td></tr> |
|
22 </table> |
|
23 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
|
24 <p>Event handler class to receive pointer events and handle them </p> |
14 |
25 |
15 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_event_handler.html#aebc5150679bb4621e2bc353d6b97131">HandlePointerEvent</a> (TPointerEvent &aPointerEvent)</td></tr> |
26 <p>Definition at line <a class="el" href="transparent_8h_source.html#l00140">140</a> of file <a class="el" href="transparent_8h_source.html">transparent.h</a>.</p> |
16 |
27 <hr/><h2>Constructor & Destructor Documentation</h2> |
17 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_event_handler.html#72d34b52144f8e5312ec78abe44ee895">InfoMessage</a> (const TDesC &aMsg)</td></tr> |
28 <a class="anchor" id="a41b6924a33472d04cee2fe3e90cc6acc"></a><!-- doxytag: member="CEventHandler::~CEventHandler" ref="a41b6924a33472d04cee2fe3e90cc6acc" args="()" --> |
18 |
|
19 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_event_handler.html#ac65df544e26e3ef06cc087b514c030a">IssueRequest</a> ()</td></tr> |
|
20 |
|
21 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
|
22 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_event_handler.html">CEventHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_event_handler.html#0e709c6e924eb9799e69ea10e26824d6">NewL</a> (RWsSession &aWs)</td></tr> |
|
23 |
|
24 </table> |
|
25 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
26 Event handler class to receive pointer events and handle them |
|
27 <p>Definition at line <a class="el" href="transparent_8h-source.html#l00140">140</a> of file <a class="el" href="transparent_8h-source.html">transparent.h</a>.</p> |
|
28 <hr><h2>Constructor & Destructor Documentation</h2> |
|
29 <a class="anchor" name="41b6924a33472d04cee2fe3e90cc6acc"></a><!-- doxytag: member="CEventHandler::~CEventHandler" ref="41b6924a33472d04cee2fe3e90cc6acc" args="()" --> |
|
30 <div class="memitem"> |
29 <div class="memitem"> |
31 <div class="memproto"> |
30 <div class="memproto"> |
32 <table class="memname"> |
31 <table class="memname"> |
33 <tr> |
32 <tr> |
34 <td class="memname">CEventHandler::~CEventHandler </td> |
33 <td class="memname">CEventHandler::~CEventHandler </td> |
35 <td>(</td> |
34 <td>(</td> |
36 <td class="paramname"> </td> |
35 <td class="paramname"></td> |
37 <td> ) </td> |
36 <td> ) </td> |
38 <td width="100%"><code> [virtual]</code></td> |
37 <td><code> [virtual]</code></td> |
39 </tr> |
38 </tr> |
40 </table> |
39 </table> |
41 </div> |
40 </div> |
42 <div class="memdoc"> |
41 <div class="memdoc"> |
|
42 <p>Destructor </p> |
43 |
43 |
44 <p> |
44 <p>Definition at line <a class="el" href="eventhandler_8cpp_source.html#l00058">58</a> of file <a class="el" href="eventhandler_8cpp_source.html">eventhandler.cpp</a>.</p> |
45 Destructor |
|
46 <p>Definition at line <a class="el" href="eventhandler_8cpp-source.html#l00058">58</a> of file <a class="el" href="eventhandler_8cpp-source.html">eventhandler.cpp</a>.</p> |
|
47 |
45 |
48 </div> |
46 </div> |
49 </div><p> |
47 </div> |
50 <hr><h2>Member Function Documentation</h2> |
48 <hr/><h2>Member Function Documentation</h2> |
51 <a class="anchor" name="0e709c6e924eb9799e69ea10e26824d6"></a><!-- doxytag: member="CEventHandler::NewL" ref="0e709c6e924eb9799e69ea10e26824d6" args="(RWsSession &aWs)" --> |
49 <a class="anchor" id="a0e709c6e924eb9799e69ea10e26824d6"></a><!-- doxytag: member="CEventHandler::NewL" ref="a0e709c6e924eb9799e69ea10e26824d6" args="(RWsSession &aWs)" --> |
52 <div class="memitem"> |
50 <div class="memitem"> |
53 <div class="memproto"> |
51 <div class="memproto"> |
54 <table class="memname"> |
52 <table class="memname"> |
55 <tr> |
53 <tr> |
56 <td class="memname"><a class="el" href="class_c_event_handler.html">CEventHandler</a> * CEventHandler::NewL </td> |
54 <td class="memname"><a class="el" href="class_c_event_handler.html">CEventHandler</a> * CEventHandler::NewL </td> |
57 <td>(</td> |
55 <td>(</td> |
58 <td class="paramtype">RWsSession & </td> |
56 <td class="paramtype">RWsSession & </td> |
59 <td class="paramname"> <em>aWs</em> </td> |
57 <td class="paramname"> <em>aWs</em></td> |
60 <td> ) </td> |
58 <td> ) </td> |
61 <td width="100%"><code> [static]</code></td> |
59 <td><code> [static]</code></td> |
62 </tr> |
60 </tr> |
63 </table> |
61 </table> |
64 </div> |
62 </div> |
65 <div class="memdoc"> |
63 <div class="memdoc"> |
66 |
64 <p>Allocates and constructs a <a class="el" href="class_c_event_handler.html">CEventHandler</a> object using two phase construction. </p> |
67 <p> |
65 <dl><dt><b>Parameters:</b></dt><dd> |
68 Allocates and constructs a <a class="el" href="class_c_event_handler.html">CEventHandler</a> object using two phase construction. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
69 <table border="0" cellspacing="2" cellpadding="0"> |
66 <table border="0" cellspacing="2" cellpadding="0"> |
70 <tr><td valign="top"></td><td valign="top"><em>aWs</em> </td><td>Current window server session </td></tr> |
67 <tr><td valign="top"></td><td valign="top"><em>aWs</em> </td><td>Current window server session </td></tr> |
71 </table> |
68 </table> |
|
69 </dd> |
72 </dl> |
70 </dl> |
73 |
71 |
74 <p>Definition at line <a class="el" href="eventhandler_8cpp-source.html#l00030">30</a> of file <a class="el" href="eventhandler_8cpp-source.html">eventhandler.cpp</a>.</p> |
72 <p>Definition at line <a class="el" href="eventhandler_8cpp_source.html#l00030">30</a> of file <a class="el" href="eventhandler_8cpp_source.html">eventhandler.cpp</a>.</p> |
75 |
73 |
76 </div> |
74 </div> |
77 </div><p> |
75 </div> |
78 <a class="anchor" name="aebc5150679bb4621e2bc353d6b97131"></a><!-- doxytag: member="CEventHandler::HandlePointerEvent" ref="aebc5150679bb4621e2bc353d6b97131" args="(TPointerEvent &aPointerEvent)" --> |
76 <a class="anchor" id="aaebc5150679bb4621e2bc353d6b97131"></a><!-- doxytag: member="CEventHandler::HandlePointerEvent" ref="aaebc5150679bb4621e2bc353d6b97131" args="(TPointerEvent &aPointerEvent)" --> |
79 <div class="memitem"> |
77 <div class="memitem"> |
80 <div class="memproto"> |
78 <div class="memproto"> |
81 <table class="memname"> |
79 <table class="memname"> |
82 <tr> |
80 <tr> |
83 <td class="memname">void CEventHandler::HandlePointerEvent </td> |
81 <td class="memname">void CEventHandler::HandlePointerEvent </td> |
84 <td>(</td> |
82 <td>(</td> |
85 <td class="paramtype">TPointerEvent & </td> |
83 <td class="paramtype">TPointerEvent & </td> |
86 <td class="paramname"> <em>aPointerEvent</em> </td> |
84 <td class="paramname"> <em>aPointerEvent</em></td> |
87 <td> ) </td> |
85 <td> ) </td> |
88 <td width="100%"></td> |
86 <td></td> |
89 </tr> |
87 </tr> |
90 </table> |
88 </table> |
91 </div> |
89 </div> |
92 <div class="memdoc"> |
90 <div class="memdoc"> |
93 |
91 <p>Determines the type of pointer event and prints out which button was pressed as an info message. </p> |
94 <p> |
92 <dl><dt><b>Parameters:</b></dt><dd> |
95 Determines the type of pointer event and prints out which button was pressed as an info message. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
96 <table border="0" cellspacing="2" cellpadding="0"> |
93 <table border="0" cellspacing="2" cellpadding="0"> |
97 <tr><td valign="top"></td><td valign="top"><em>aPointerEvent</em> </td><td>Event determined by RunL() </td></tr> |
94 <tr><td valign="top"></td><td valign="top"><em>aPointerEvent</em> </td><td>Event determined by RunL() </td></tr> |
98 </table> |
95 </table> |
|
96 </dd> |
99 </dl> |
97 </dl> |
100 |
98 |
101 <p>Definition at line <a class="el" href="eventhandler_8cpp-source.html#l00103">103</a> of file <a class="el" href="eventhandler_8cpp-source.html">eventhandler.cpp</a>.</p> |
99 <p>Definition at line <a class="el" href="eventhandler_8cpp_source.html#l00103">103</a> of file <a class="el" href="eventhandler_8cpp_source.html">eventhandler.cpp</a>.</p> |
102 |
100 |
103 </div> |
101 </div> |
104 </div><p> |
102 </div> |
105 <a class="anchor" name="72d34b52144f8e5312ec78abe44ee895"></a><!-- doxytag: member="CEventHandler::InfoMessage" ref="72d34b52144f8e5312ec78abe44ee895" args="(const TDesC &aMsg)" --> |
103 <a class="anchor" id="a72d34b52144f8e5312ec78abe44ee895"></a><!-- doxytag: member="CEventHandler::InfoMessage" ref="a72d34b52144f8e5312ec78abe44ee895" args="(const TDesC &aMsg)" --> |
106 <div class="memitem"> |
104 <div class="memitem"> |
107 <div class="memproto"> |
105 <div class="memproto"> |
108 <table class="memname"> |
106 <table class="memname"> |
109 <tr> |
107 <tr> |
110 <td class="memname">void CEventHandler::InfoMessage </td> |
108 <td class="memname">void CEventHandler::InfoMessage </td> |
111 <td>(</td> |
109 <td>(</td> |
112 <td class="paramtype">const TDesC & </td> |
110 <td class="paramtype">const TDesC & </td> |
113 <td class="paramname"> <em>aMsg</em> </td> |
111 <td class="paramname"> <em>aMsg</em></td> |
114 <td> ) </td> |
112 <td> ) </td> |
115 <td width="100%"></td> |
113 <td></td> |
116 </tr> |
114 </tr> |
117 </table> |
115 </table> |
118 </div> |
116 </div> |
119 <div class="memdoc"> |
117 <div class="memdoc"> |
120 |
118 <p>Displays a message in the system default corner of the screen. </p> |
121 <p> |
119 <dl><dt><b>Parameters:</b></dt><dd> |
122 Displays a message in the system default corner of the screen. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
123 <table border="0" cellspacing="2" cellpadding="0"> |
120 <table border="0" cellspacing="2" cellpadding="0"> |
124 <tr><td valign="top"></td><td valign="top"><em>TDesC&</em> </td><td>aMsg A descriptor message </td></tr> |
121 <tr><td valign="top"></td><td valign="top"><em>TDesC&</em> </td><td>aMsg A descriptor message </td></tr> |
125 </table> |
122 </table> |
|
123 </dd> |
126 </dl> |
124 </dl> |
127 |
125 |
128 <p>Definition at line <a class="el" href="eventhandler_8cpp-source.html#l00146">146</a> of file <a class="el" href="eventhandler_8cpp-source.html">eventhandler.cpp</a>.</p> |
126 <p>Definition at line <a class="el" href="eventhandler_8cpp_source.html#l00146">146</a> of file <a class="el" href="eventhandler_8cpp_source.html">eventhandler.cpp</a>.</p> |
129 |
127 |
130 </div> |
128 </div> |
131 </div><p> |
129 </div> |
132 <a class="anchor" name="ac65df544e26e3ef06cc087b514c030a"></a><!-- doxytag: member="CEventHandler::IssueRequest" ref="ac65df544e26e3ef06cc087b514c030a" args="()" --> |
130 <a class="anchor" id="aac65df544e26e3ef06cc087b514c030a"></a><!-- doxytag: member="CEventHandler::IssueRequest" ref="aac65df544e26e3ef06cc087b514c030a" args="()" --> |
133 <div class="memitem"> |
131 <div class="memitem"> |
134 <div class="memproto"> |
132 <div class="memproto"> |
135 <table class="memname"> |
133 <table class="memname"> |
136 <tr> |
134 <tr> |
137 <td class="memname">void CEventHandler::IssueRequest </td> |
135 <td class="memname">void CEventHandler::IssueRequest </td> |
138 <td>(</td> |
136 <td>(</td> |
139 <td class="paramname"> </td> |
137 <td class="paramname"></td> |
140 <td> ) </td> |
138 <td> ) </td> |
141 <td width="100%"></td> |
139 <td></td> |
142 </tr> |
140 </tr> |
143 </table> |
141 </table> |
144 </div> |
142 </div> |
145 <div class="memdoc"> |
143 <div class="memdoc"> |
|
144 <p>Indicates that the active object has issued a request and that the request is now outstanding. </p> |
146 |
145 |
147 <p> |
146 <p>Definition at line <a class="el" href="eventhandler_8cpp_source.html#l00133">133</a> of file <a class="el" href="eventhandler_8cpp_source.html">eventhandler.cpp</a>.</p> |
148 Indicates that the active object has issued a request and that the request is now outstanding. |
|
149 <p>Definition at line <a class="el" href="eventhandler_8cpp-source.html#l00133">133</a> of file <a class="el" href="eventhandler_8cpp-source.html">eventhandler.cpp</a>.</p> |
|
150 |
147 |
151 </div> |
148 </div> |
152 </div><p> |
149 </div> |
153 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:04 2010 for TB10.1 Example Applications by |
150 </div> |
|
151 <hr size="1"/><address style="text-align: right;"><small>Generated by |
154 <a href="http://www.doxygen.org/index.html"> |
152 <a href="http://www.doxygen.org/index.html"> |
155 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
153 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
156 </body> |
154 </body> |
157 </html> |
155 </html> |