#include <FGEventInput.hxx>
Inherits SGReferenced.
Inherited by FGLinuxInputDevice.
Definition at line 213 of file FGEventInput.hxx.
◆ FGInputDevice() [1/2]
| FGInputDevice::FGInputDevice |
( |
| ) |
|
|
inline |
◆ FGInputDevice() [2/2]
| FGInputDevice::FGInputDevice |
( |
std::string | aName, |
|
|
std::string | aSerial = {} ) |
|
inline |
◆ ~FGInputDevice()
| FGInputDevice::~FGInputDevice |
( |
| ) |
|
|
virtual |
◆ AddHandledEvent()
◆ Close()
| virtual void FGInputDevice::Close |
( |
| ) |
|
|
pure virtual |
◆ Configure()
| void FGInputDevice::Configure |
( |
SGPropertyNode_ptr | deviceNode | ) |
|
|
virtual |
◆ GetDebugEvents()
| bool FGInputDevice::GetDebugEvents |
( |
| ) |
const |
|
inline |
◆ GetGrab()
| bool FGInputDevice::GetGrab |
( |
| ) |
const |
|
inline |
◆ GetName()
| std::string & FGInputDevice::GetName |
( |
| ) |
|
|
inline |
◆ GetNasalModule()
| const std::string & FGInputDevice::GetNasalModule |
( |
| ) |
const |
|
inline |
◆ GetSerialNumber()
| std::string & FGInputDevice::GetSerialNumber |
( |
| ) |
|
|
inline |
◆ GetUniqueName()
| const std::string FGInputDevice::GetUniqueName |
( |
| ) |
const |
|
inline |
◆ HandleEvent()
| void FGInputDevice::HandleEvent |
( |
FGEventData & | eventData | ) |
|
◆ Open()
| virtual bool FGInputDevice::Open |
( |
| ) |
|
|
pure virtual |
◆ Send() [1/2]
| virtual void FGInputDevice::Send |
( |
const char * | eventName, |
|
|
double | value ) |
|
pure virtual |
◆ Send() [2/2]
| void FGInputDevice::Send |
( |
const std::string & | eventName, |
|
|
double | value ) |
|
inline |
◆ SendFeatureReport()
| void FGInputDevice::SendFeatureReport |
( |
unsigned int | reportId, |
|
|
const std::string & | data ) |
|
virtual |
◆ SetName()
| void FGInputDevice::SetName |
( |
std::string | name | ) |
|
◆ SetSerialNumber()
| void FGInputDevice::SetSerialNumber |
( |
std::string | serial | ) |
|
◆ SetUniqueName()
| void FGInputDevice::SetUniqueName |
( |
const std::string & | name | ) |
|
◆ TranslateEventName()
| virtual const char * FGInputDevice::TranslateEventName |
( |
FGEventData & | eventData | ) |
|
|
pure virtual |
◆ update()
| void FGInputDevice::update |
( |
double | dt | ) |
|
|
virtual |
◆ _uniqueName
| std::string FGInputDevice::_uniqueName |
|
protected |
name, but with suffix / serial appended.
This is important when loading the device multiple times, to ensure the Nasal module is unique
Definition at line 290 of file FGEventInput.hxx.
◆ class_id
| std::string FGInputDevice::class_id = "FGInputDevice" |
◆ debugEvents
| bool FGInputDevice::debugEvents = false |
|
protected |
◆ deviceNode
| SGPropertyNode_ptr FGInputDevice::deviceNode |
|
protected |
◆ grab
| bool FGInputDevice::grab = false |
|
protected |
◆ handledEvents
◆ lastEventName
| SGPropertyNode_ptr FGInputDevice::lastEventName |
|
protected |
◆ lastEventValue
| SGPropertyNode_ptr FGInputDevice::lastEventValue |
|
protected |
◆ name
| std::string FGInputDevice::name |
|
protected |
◆ nasalModule
| std::string FGInputDevice::nasalModule |
|
protected |
◆ reportSettings
◆ serialNumber
| std::string FGInputDevice::serialNumber |
|
protected |
The documentation for this class was generated from the following files: