Deskflow 1.27.0.8
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IKeyState::KeyInfo Class Reference

Key event data. More...

#include <IKeyState.h>

Static Public Member Functions

static KeyInfo * alloc (KeyID, KeyModifierMask, KeyButton, int32_t count)
static KeyInfo * alloc (KeyID, KeyModifierMask, KeyButton, int32_t count, const std::set< std::string > &destinations)
static KeyInfo * alloc (const KeyInfo &)
static bool isDefault (const char *computers)
static bool contains (const char *computers, const std::string_view &name)
static bool equal (const KeyInfo *, const KeyInfo *)
static std::string join (const std::set< std::string > &destinations)
static void split (const char *computers, std::set< std::string > &)

Public Attributes

KeyID m_key
KeyModifierMask m_mask
KeyButton m_button
int32_t m_count
std::string m_computers

Detailed Description

Key event data.

Member Function Documentation

◆ alloc() [1/3]

IKeyState::KeyInfo * IKeyState::KeyInfo::alloc ( const KeyInfo & x)
static

◆ alloc() [2/3]

IKeyState::KeyInfo * IKeyState::KeyInfo::alloc ( KeyID id,
KeyModifierMask mask,
KeyButton button,
int32_t count )
static

◆ alloc() [3/3]

IKeyState::KeyInfo * IKeyState::KeyInfo::alloc ( KeyID id,
KeyModifierMask mask,
KeyButton button,
int32_t count,
const std::set< std::string > & destinations )
static

◆ contains()

bool IKeyState::KeyInfo::contains ( const char * computers,
const std::string_view & name )
static

◆ equal()

bool IKeyState::KeyInfo::equal ( const KeyInfo * a,
const KeyInfo * b )
static

◆ isDefault()

bool IKeyState::KeyInfo::isDefault ( const char * computers)
static

◆ join()

std::string IKeyState::KeyInfo::join ( const std::set< std::string > & destinations)
static

◆ split()

void IKeyState::KeyInfo::split ( const char * computers,
std::set< std::string > & dst )
static

Member Data Documentation

◆ m_button

KeyButton IKeyState::KeyInfo::m_button

◆ m_computers

std::string IKeyState::KeyInfo::m_computers

◆ m_count

int32_t IKeyState::KeyInfo::m_count

◆ m_key

KeyID IKeyState::KeyInfo::m_key

◆ m_mask

KeyModifierMask IKeyState::KeyInfo::m_mask

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