PixelLightAPI  .
Public Member Functions | Protected Attributes
PLInput::Device Class Reference

Input device. More...

#include <Device.h>

Inheritance diagram for PLInput::Device:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLINPUT_API Device (const PLCore::String &sName, const PLCore::String &sDescription, DeviceImpl *pImpl)
 Constructor.
virtual PLINPUT_API ~Device ()
 Destructor.
PLINPUT_API DeviceImpl * GetImpl () const
 Get device implementation.

Protected Attributes

DeviceImpl * m_pImpl
bool m_bDeleteImpl

Detailed Description

Input device.

Remarks:
A device is a controller that represents a real input device rather than a virtual controller.

Constructor & Destructor Documentation

PLINPUT_API PLInput::Device::Device ( const PLCore::String sName,
const PLCore::String sDescription,
DeviceImpl *  pImpl 
)

Constructor.

Parameters:
[in]sNameController name
[in]sDescriptionController description
[in]pImplSystem specific device implementation, can, but shouldn't be a null pointer
virtual PLINPUT_API PLInput::Device::~Device ( ) [virtual]

Destructor.


Member Function Documentation

PLINPUT_API DeviceImpl* PLInput::Device::GetImpl ( ) const

Get device implementation.

Returns:
System specific device implementation, can be a null pointer

Member Data Documentation

DeviceImpl* PLInput::Device::m_pImpl [protected]

System specific device implementation, can be a null pointer

Destroy device implementation automatically?


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:34
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported