Go to the documentation of this file.
17 #ifndef IGNITION_COMMON_KEYEVENT_HH_
18 #define IGNITION_COMMON_KEYEVENT_HH_
23 #include <ignition/common/events/Export.hh>
31 class KeyEventPrivate;
56 public: EventType Type()
const;
60 public:
void SetType(
const EventType _type);
64 public:
int Key()
const;
68 public:
void SetKey(
const int _key);
81 public:
bool Control()
const;
85 public:
void SetControl(
const bool _control);
89 public:
bool Shift()
const;
93 public:
void SetShift(
const bool _shift);
97 public:
bool Alt()
const;
101 public:
void SetAlt(
const bool _alt);
Forward declarations for the common classes.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: SuppressWarning.hh:64
EventType
Key event types enumeration.
Definition: KeyEvent.hh:38
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: SuppressWarning.hh:67
Generic description of a keyboard event.
Definition: KeyEvent.hh:35