From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03855.html | 284 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 284 insertions(+) create mode 100644 docs/doxygen/nel/a03855.html (limited to 'docs/doxygen/nel/a03855.html') diff --git a/docs/doxygen/nel/a03855.html b/docs/doxygen/nel/a03855.html new file mode 100644 index 00000000..bfd7caa2 --- /dev/null +++ b/docs/doxygen/nel/a03855.html @@ -0,0 +1,284 @@ + + +NeL: NLMISC::IInputDevice struct Reference + + + +
+

NLMISC::IInputDevice Struct Reference

#include <input_device.h> +

+

Inheritance diagram for NLMISC::IInputDevice: +

+ +NLMISC::IGameDevice +NLMISC::IKeyboardDevice +NLMISC::IMouseDevice + +

Detailed Description

+Base class that wrap to a device
Author:
Nicolas Vizerie

+Nevrax France

+
Date:
2002
+ +

+ +

+Definition at line 48 of file input_device.h. + + + + + + + + + +

Public Member Functions

virtual uint getBufferSize () const=0
 Get the buffer size for this device.

virtual bool setBufferSize (uint size)=0
virtual ~IInputDevice ()
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
virtual NLMISC::IInputDevice::~IInputDevice  )  [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 85 of file input_device.h. +

+

00085 {}; 
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
virtual void NLMISC::IInputDevice::begin CEventServer server  )  [inline, virtual]
+
+ + + + + +
+   + + +

+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. +

+Definition at line 64 of file input_device.h. +

+

00064 {}
+
+

+ + + + +
+ + + + + + + + + +
virtual uint NLMISC::IInputDevice::getBufferSize  )  const [pure virtual]
+
+ + + + + +
+   + + +

+Get the buffer size for this device. +

+

+

+ + + + +
+ + + + + + + + + + +
virtual void NLMISC::IInputDevice::poll CInputDeviceServer dev  )  [pure virtual]
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + + + + + +
virtual bool NLMISC::IInputDevice::setBufferSize uint  size  )  [pure virtual]
+
+ + + + + +
+   + + +

+Set the buffer size for this device (the number of samples it can retains). This return true if the size could be set

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NLMISC::IInputDevice::submit IInputDeviceEvent deviceEvent,
CEventServer server
[pure virtual]
+
+ + + + + +
+   + + +

+For device server usage : Process an event (eventually update this device state), and translate the message to a IEventServerMessage

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NLMISC::IInputDevice::transitionOccured CEventServer server,
const IInputDeviceEvent nextMessage
[inline, virtual]
+
+ + + + + +
+   + + +

+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 +

+Definition at line 81 of file input_device.h. +

+Referenced by NLMISC::CInputDeviceServer::poll(). +

+

00081 {}
+
+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 13:46:06 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1