diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03854.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03854.html')
-rw-r--r-- | docs/doxygen/nel/a03854.html | 713 |
1 files changed, 713 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03854.html b/docs/doxygen/nel/a03854.html new file mode 100644 index 00000000..65f9454b --- /dev/null +++ b/docs/doxygen/nel/a03854.html @@ -0,0 +1,713 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLMISC::IGameDevice struct Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLMISC::IGameDevice Struct Reference</h1><code>#include <<a class="el" href="a05756.html">game_device.h</a>></code> +<p> +<p>Inheritance diagram for NLMISC::IGameDevice: +<p><center><img src="a03854.png" usemap="#NLMISC::IGameDevice_map" border="0" alt=""></center> +<map name="NLMISC::IGameDevice_map"> +<area href="a03855.html" alt="NLMISC::IInputDevice" shape="rect" coords="0,0,140,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This abstract a joystick or gamepad <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05756.html#l00072">72</a> of file <a class="el" href="a05756.html">game_device.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">TAxis</a> { <br> + <a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew5">XAxis</a> = 0, +<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew6">YAxis</a>, +<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew7">ZAxis</a>, +<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew1">RXAxis</a>, +<br> + <a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew2">RYAxis</a>, +<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew3">RZAxis</a>, +<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew0">MaxNumAxis</a> +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03855.html#NLMISC_1_1IMouseDevicea0">getBufferSize</a> () const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the buffer size for this device. <a href="#NLMISC_1_1IMouseDevicea0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02576.html">CGameDeviceDesc</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicea1">getDescription</a> () const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a general description of this device. <a href="#NLMISC_1_1IGameDevicea1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03855.html#NLMISC_1_1IMouseDevicea3">setBufferSize</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a587">size</a>)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Controls names. Must ensure that controls are present before calling these methods.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1946_0">getAxisName</a> (<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">TAxis</a> axis) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1946_1">getButtonName</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1946_2">getPOVName</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1946_3">getSliderName</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Controls state. Must ensure that controls are present before calling these methods.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1948_0">getAxisValue</a> (<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">TAxis</a> axis) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1948_1">getButtonState</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1948_2">getPOVAngle</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1948_3">getSliderPos</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Controls presence</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1944_0">getNumButtons</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1944_1">getNumPOV</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1944_2">getNumSliders</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03854.html#NLMISC_1_1IGameDevicez1944_3">hasAxis</a> (<a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">TAxis</a> axis) const=0</td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLMISC_1_1IGameDevicew4" doxytag="NLMISC::IGameDevice::TAxis" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">NLMISC::IGameDevice::TAxis</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew5" doxytag="XAxis" ></a>XAxis</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew6" doxytag="YAxis" ></a>YAxis</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew7" doxytag="ZAxis" ></a>ZAxis</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew1" doxytag="RXAxis" ></a>RXAxis</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew2" doxytag="RYAxis" ></a>RYAxis</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew3" doxytag="RZAxis" ></a>RZAxis</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew0" doxytag="MaxNumAxis" ></a>MaxNumAxis</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05756.html#l00074">74</a> of file <a class="el" href="a05756.html">game_device.h</a>. +<p> +<div class="fragment"><pre>00074 { <a class="code" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew5">XAxis</a> = 0, <a class="code" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew6">YAxis</a>, <a class="code" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew7">ZAxis</a>, <span class="comment">/* translation */</span> +00075 <a class="code" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew1">RXAxis</a>, <a class="code" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew2">RYAxis</a>, <a class="code" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew3">RZAxis</a>, <span class="comment">/* rotations */</span> +00076 <a class="code" href="a03854.html#NLMISC_1_1IGameDevicew4NLMISC_1_1IGameDevicew0">MaxNumAxis</a> +00077 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1IMouseDevicez1957_0" doxytag="NLMISC::IGameDevice::begin" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLMISC::IInputDevice::begin </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02479.html">CEventServer</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>server</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For device server usage : Called at the beginning of each events retrieval. If a device doesn't support buffered datas, the state changes can be directly send to the event server. The default does nothing. +<p> +Definition at line <a class="el" href="a05818.html#l00064">64</a> of file <a class="el" href="a05818.html">input_device.h</a>. +<p> +<div class="fragment"><pre>00064 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1946_0" doxytag="NLMISC::IGameDevice::getAxisName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const char* NLMISC::IGameDevice::getAxisName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">TAxis</a> </td> + <td class="mdname1" valign="top" nowrap> <em>axis</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1948_0" doxytag="NLMISC::IGameDevice::getAxisValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NLMISC::IGameDevice::getAxisValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">TAxis</a> </td> + <td class="mdname1" valign="top" nowrap> <em>axis</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IMouseDevicea0" doxytag="NLMISC::IGameDevice::getBufferSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a15">uint</a> NLMISC::IInputDevice::getBufferSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the buffer size for this device. +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1946_1" doxytag="NLMISC::IGameDevice::getButtonName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const char* NLMISC::IGameDevice::getButtonName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1948_1" doxytag="NLMISC::IGameDevice::getButtonState" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NLMISC::IGameDevice::getButtonState </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicea1" doxytag="NLMISC::IGameDevice::getDescription" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const <a class="el" href="a02576.html">CGameDeviceDesc</a>& NLMISC::IGameDevice::getDescription </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a general description of this device. +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1944_0" doxytag="NLMISC::IGameDevice::getNumButtons" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a15">uint</a> NLMISC::IGameDevice::getNumButtons </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1944_1" doxytag="NLMISC::IGameDevice::getNumPOV" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a15">uint</a> NLMISC::IGameDevice::getNumPOV </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1944_2" doxytag="NLMISC::IGameDevice::getNumSliders" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a15">uint</a> NLMISC::IGameDevice::getNumSliders </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1948_2" doxytag="NLMISC::IGameDevice::getPOVAngle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NLMISC::IGameDevice::getPOVAngle </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1946_2" doxytag="NLMISC::IGameDevice::getPOVName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const char* NLMISC::IGameDevice::getPOVName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1946_3" doxytag="NLMISC::IGameDevice::getSliderName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const char* NLMISC::IGameDevice::getSliderName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1948_3" doxytag="NLMISC::IGameDevice::getSliderPos" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NLMISC::IGameDevice::getSliderPos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IGameDevicez1944_3" doxytag="NLMISC::IGameDevice::hasAxis" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NLMISC::IGameDevice::hasAxis </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03854.html#NLMISC_1_1IGameDevicew4">TAxis</a> </td> + <td class="mdname1" valign="top" nowrap> <em>axis</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check if the given axe is present on this game device NB : only absolute axis are managed </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IMouseDevicez1957_1" doxytag="NLMISC::IGameDevice::poll" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLMISC::IInputDevice::poll </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02669.html">CInputDeviceServer</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>dev</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For device server usage : Poll all events from that device, and notify them to the given device server, so that they can be sorted between devices. This retrieves messages, but do not process them. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IMouseDevicea3" doxytag="NLMISC::IGameDevice::setBufferSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NLMISC::IInputDevice::setBufferSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the buffer size for this device (the number of samples it can retains). This return true if the size could be set </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IMouseDevicez1957_2" doxytag="NLMISC::IGameDevice::submit" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLMISC::IInputDevice::submit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03857.html">IInputDeviceEvent</a> * </td> + <td class="mdname" nowrap> <em>deviceEvent</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02479.html">CEventServer</a> * </td> + <td class="mdname" nowrap> <em>server</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For device server usage : Process an event (eventually update this device state), and translate the message to a IEventServerMessage </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IMouseDevicez1957_3" doxytag="NLMISC::IGameDevice::transitionOccured" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLMISC::IInputDevice::transitionOccured </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02479.html">CEventServer</a> * </td> + <td class="mdname" nowrap> <em>server</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03857.html">IInputDeviceEvent</a> * </td> + <td class="mdname" nowrap> <em>nextMessage</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For device server usage : Says that the next message is for another device, or that it is the last message that will be received. This allow to pack several messages in one (for example, to sum up mouse moves until a click occurs) The default does nothing. The next message can be used to get a time stamp for example. It may be NULL is no next message is available +<p> +Definition at line <a class="el" href="a05818.html#l00081">81</a> of file <a class="el" href="a05818.html">input_device.h</a>. +<p> +Referenced by <a class="el" href="a05820.html#l00067">NLMISC::CInputDeviceServer::poll()</a>. +<p> +<div class="fragment"><pre>00081 {} +</pre></div> </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="a05756.html">game_device.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:46:00 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |