1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
4 <meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
5 <title>File Index
</title>
6 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class=
"qindex"><a class=
"qindex" href=
"main.html">Main
Page
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Data
Structures
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Data
Fields
</a> |
<a class=
"qindex" href=
"globals.html">Globals
</a></div>
11 <h1>dmxbackend.h File Reference
</h1>
13 <a href=
"dmxbackend_8h-source.html">Go to the source code of this file.
</a><table border=
0 cellpadding=
0 cellspacing=
0>
15 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
16 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>pointer
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a0">dmxBackendCreatePrivate
</a> (DeviceIntPtr pDevice)
</td></tr>
18 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a1">dmxBackendDestroyPrivate
</a> (pointer private)
</td></tr>
20 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a2">dmxBackendInit
</a> (DevicePtr pDev)
</td></tr>
22 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a3">dmxBackendLateReInit
</a> (DevicePtr pDev)
</td></tr>
24 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a4">dmxBackendMouGetInfo
</a> (DevicePtr pDev,
<a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> info)
</td></tr>
26 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a5">dmxBackendKbdGetInfo
</a> (DevicePtr pDev,
<a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> info)
</td></tr>
28 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a6">dmxBackendCollectEvents
</a> (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
</td></tr>
30 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a7">dmxBackendProcessInput
</a> (pointer private)
</td></tr>
32 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a8">dmxBackendFunctions
</a> (pointer private, DMXFunctionType function)
</td></tr>
34 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxbackend_8h.html#a9">dmxBackendUpdatePosition
</a> (pointer private, int x, int y)
</td></tr>
37 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
38 Interface to backend input device support.
<dl compact
><dt><b>See also:
</b></dt><dd><a class=
"el" href=
"dmxbackend_8c.html">dmxbackend.c
</a> <p>
39 <a class=
"el" href=
"dmxcommon_8c.html">dmxcommon.c
</a></dd></dl>
40 <hr><h2>Function Documentation
</h2>
41 <a class=
"anchor" name=
"a6" doxytag=
"dmxbackend.h::dmxBackendCollectEvents" ></a><p>
42 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
45 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
47 <td class=
"md" nowrap
valign=
"top"> void dmxBackendCollectEvents
</td>
48 <td class=
"md" valign=
"top">(
</td>
49 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
50 <td class=
"mdname" nowrap
> <em>pDev
</em>,
</td>
55 <td class=
"md" nowrap
>dmxMotionProcPtr
</td>
56 <td class=
"mdname" nowrap
> <em>motion
</em>,
</td>
61 <td class=
"md" nowrap
>dmxEnqueueProcPtr
</td>
62 <td class=
"mdname" nowrap
> <em>enqueue
</em>,
</td>
67 <td class=
"md" nowrap
>dmxCheckSpecialProcPtr
</td>
68 <td class=
"mdname" nowrap
> <em>checkspecial
</em>,
</td>
73 <td class=
"md" nowrap
>DMXBlockType
</td>
74 <td class=
"mdname" nowrap
> <em>block
</em></td>
78 <td class=
"md">)
</td>
79 <td class=
"md" colspan=
"2"></td>
86 <table cellspacing=
5 cellpadding=
0 border=
0>
94 Get events from the X queue on the backend servers and put the events into the DMX event queue.
</td>
97 <a class=
"anchor" name=
"a0" doxytag=
"dmxbackend.h::dmxBackendCreatePrivate" ></a><p>
98 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
101 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
103 <td class=
"md" nowrap
valign=
"top"> pointer dmxBackendCreatePrivate
</td>
104 <td class=
"md" valign=
"top">(
</td>
105 <td class=
"md" nowrap
valign=
"top">DeviceIntPtr
</td>
106 <td class=
"mdname1" valign=
"top" nowrap
> <em>pDevice
</em> </td>
107 <td class=
"md" valign=
"top"> )
</td>
108 <td class=
"md" nowrap
></td>
115 <table cellspacing=
5 cellpadding=
0 border=
0>
123 Create and return a private data structure.
</td>
126 <a class=
"anchor" name=
"a1" doxytag=
"dmxbackend.h::dmxBackendDestroyPrivate" ></a><p>
127 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
130 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
132 <td class=
"md" nowrap
valign=
"top"> void dmxBackendDestroyPrivate
</td>
133 <td class=
"md" valign=
"top">(
</td>
134 <td class=
"md" nowrap
valign=
"top">pointer
</td>
135 <td class=
"mdname1" valign=
"top" nowrap
> <em>private
</em> </td>
136 <td class=
"md" valign=
"top"> )
</td>
137 <td class=
"md" nowrap
></td>
144 <table cellspacing=
5 cellpadding=
0 border=
0>
152 Destroy the private data structure. No checking is performed to verify that the structure was actually created by
<a class=
"el" href=
"dmxbackend_8h.html#a0">dmxBackendCreatePrivate
</a>.
</td>
155 <a class=
"anchor" name=
"a8" doxytag=
"dmxbackend.h::dmxBackendFunctions" ></a><p>
156 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
159 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
161 <td class=
"md" nowrap
valign=
"top"> int dmxBackendFunctions
</td>
162 <td class=
"md" valign=
"top">(
</td>
163 <td class=
"md" nowrap
valign=
"top">pointer
</td>
164 <td class=
"mdname" nowrap
> <em>private
</em>,
</td>
169 <td class=
"md" nowrap
>DMXFunctionType
</td>
170 <td class=
"mdname" nowrap
> <em>function
</em></td>
174 <td class=
"md">)
</td>
175 <td class=
"md" colspan=
"2"></td>
182 <table cellspacing=
5 cellpadding=
0 border=
0>
190 Process #DMXFunctionType functions. The only function handled here is to acknowledge a pending server shutdown.
</td>
193 <a class=
"anchor" name=
"a2" doxytag=
"dmxbackend.h::dmxBackendInit" ></a><p>
194 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
197 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
199 <td class=
"md" nowrap
valign=
"top"> void dmxBackendInit
</td>
200 <td class=
"md" valign=
"top">(
</td>
201 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
202 <td class=
"mdname1" valign=
"top" nowrap
> <em>pDev
</em> </td>
203 <td class=
"md" valign=
"top"> )
</td>
204 <td class=
"md" nowrap
></td>
211 <table cellspacing=
5 cellpadding=
0 border=
0>
219 Initialized the backend device described by
<em>pDev
</em>.
</td>
222 <a class=
"anchor" name=
"a5" doxytag=
"dmxbackend.h::dmxBackendKbdGetInfo" ></a><p>
223 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
226 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
228 <td class=
"md" nowrap
valign=
"top"> void dmxBackendKbdGetInfo
</td>
229 <td class=
"md" valign=
"top">(
</td>
230 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
231 <td class=
"mdname" nowrap
> <em>pDev
</em>,
</td>
236 <td class=
"md" nowrap
><a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> </td>
237 <td class=
"mdname" nowrap
> <em>info
</em></td>
241 <td class=
"md">)
</td>
242 <td class=
"md" colspan=
"2"></td>
249 <table cellspacing=
5 cellpadding=
0 border=
0>
257 Get information about the backend keyboard (for initialization).
</td>
260 <a class=
"anchor" name=
"a3" doxytag=
"dmxbackend.h::dmxBackendLateReInit" ></a><p>
261 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
264 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
266 <td class=
"md" nowrap
valign=
"top"> void dmxBackendLateReInit
</td>
267 <td class=
"md" valign=
"top">(
</td>
268 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
269 <td class=
"mdname1" valign=
"top" nowrap
> <em>pDev
</em> </td>
270 <td class=
"md" valign=
"top"> )
</td>
271 <td class=
"md" nowrap
></td>
278 <table cellspacing=
5 cellpadding=
0 border=
0>
286 Re-initialized the backend device described by
<em>pDev
</em> (after a reconfig).
</td>
289 <a class=
"anchor" name=
"a4" doxytag=
"dmxbackend.h::dmxBackendMouGetInfo" ></a><p>
290 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
293 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
295 <td class=
"md" nowrap
valign=
"top"> void dmxBackendMouGetInfo
</td>
296 <td class=
"md" valign=
"top">(
</td>
297 <td class=
"md" nowrap
valign=
"top">DevicePtr
</td>
298 <td class=
"mdname" nowrap
> <em>pDev
</em>,
</td>
303 <td class=
"md" nowrap
><a class=
"el" href=
"struct__DMXLocalInitInfo.html">DMXLocalInitInfoPtr
</a> </td>
304 <td class=
"mdname" nowrap
> <em>info
</em></td>
308 <td class=
"md">)
</td>
309 <td class=
"md" colspan=
"2"></td>
316 <table cellspacing=
5 cellpadding=
0 border=
0>
324 Get information about the backend pointer (for initialization).
</td>
327 <a class=
"anchor" name=
"a7" doxytag=
"dmxbackend.h::dmxBackendProcessInput" ></a><p>
328 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
331 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
333 <td class=
"md" nowrap
valign=
"top"> void dmxBackendProcessInput
</td>
334 <td class=
"md" valign=
"top">(
</td>
335 <td class=
"md" nowrap
valign=
"top">pointer
</td>
336 <td class=
"mdname1" valign=
"top" nowrap
> <em>private
</em> </td>
337 <td class=
"md" valign=
"top"> )
</td>
338 <td class=
"md" nowrap
></td>
345 <table cellspacing=
5 cellpadding=
0 border=
0>
353 Called after input events are processed from the DMX queue. No event processing actually takes place here, but this is a convenient place to update the pointer.
</td>
356 <a class=
"anchor" name=
"a9" doxytag=
"dmxbackend.h::dmxBackendUpdatePosition" ></a><p>
357 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
360 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
362 <td class=
"md" nowrap
valign=
"top"> void dmxBackendUpdatePosition
</td>
363 <td class=
"md" valign=
"top">(
</td>
364 <td class=
"md" nowrap
valign=
"top">pointer
</td>
365 <td class=
"mdname" nowrap
> <em>private
</em>,
</td>
370 <td class=
"md" nowrap
>int
</td>
371 <td class=
"mdname" nowrap
> <em>x
</em>,
</td>
376 <td class=
"md" nowrap
>int
</td>
377 <td class=
"mdname" nowrap
> <em>y
</em></td>
381 <td class=
"md">)
</td>
382 <td class=
"md" colspan=
"2"></td>
389 <table cellspacing=
5 cellpadding=
0 border=
0>
397 This routine is called from #dmxCoreMotion for each motion event. #x and #y are global coordinants.
</td>
403 Generated June
29,
2004 for
<a
404 href=
"http://dmx.sourceforge.net">Distributed Multihead X
</a> by
405 <a href=
"http://www.doxygen.org/index.html">doxygen
</a>