The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
HidReport::LocalState Struct Reference

Structure holding various global and local values for a Main item. More...

+ Collaboration diagram for HidReport::LocalState:

Public Member Functions

 LocalState ()
 Constructor, sets all values to ~0 (invalid)
 
void resetLocalValues ()
 Resets the local values (called every time a Main item occurs)
 
uint16_t getUsageByIndex (uint16_t nUsageIndex)
 Returns the usage number represented by the given index.
 
LocalState & operator= (LocalState &s)
 Copy constructor.
 
void copyGlobals (const LocalState &s)
 

Public Attributes

int64_t nUsagePage
 
int64_t nLogMin
 
int64_t nLogMax
 
int64_t nPhysMin
 
int64_t nPhysMax
 
int64_t nReportSize
 
int64_t nReportID
 
int64_t nReportCount
 
Vector< size_t > * pUsages
 
int64_t nUsageMin
 
int64_t nUsageMax
 

Detailed Description

Structure holding various global and local values for a Main item.

Definition at line 81 of file HidReport.h.

Constructor & Destructor Documentation

◆ LocalState()

HidReport::LocalState::LocalState ( )

Constructor, sets all values to ~0 (invalid)

Definition at line 470 of file HidReport.cc.

◆ ~LocalState()

HidReport::LocalState::~LocalState ( )
virtual

Definition at line 483 of file HidReport.cc.

Member Function Documentation

◆ copyGlobals()

void HidReport::LocalState::copyGlobals ( const LocalState &  s)

Definition at line 523 of file HidReport.cc.

◆ getUsageByIndex()

uint16_t HidReport::LocalState::getUsageByIndex ( uint16_t  nUsageIndex)

Returns the usage number represented by the given index.

Definition at line 503 of file HidReport.cc.

Referenced by HidReport::Collection::guessInputDevice().

+ Here is the caller graph for this function:

◆ operator=()

HidReport::LocalState & HidReport::LocalState::operator= ( LocalState &  s)

Copy constructor.

Definition at line 515 of file HidReport.cc.

◆ resetLocalValues()

void HidReport::LocalState::resetLocalValues ( )

Resets the local values (called every time a Main item occurs)

Definition at line 491 of file HidReport.cc.

Referenced by HidReport::parseDescriptor().

+ Here is the caller graph for this function:

Member Data Documentation

◆ nLogMax

int64_t HidReport::LocalState::nLogMax

Definition at line 89 of file HidReport.h.

◆ nLogMin

int64_t HidReport::LocalState::nLogMin

Definition at line 88 of file HidReport.h.

◆ nPhysMax

int64_t HidReport::LocalState::nPhysMax

Definition at line 91 of file HidReport.h.

◆ nPhysMin

int64_t HidReport::LocalState::nPhysMin

Definition at line 90 of file HidReport.h.

◆ nReportCount

int64_t HidReport::LocalState::nReportCount

Definition at line 94 of file HidReport.h.

◆ nReportID

int64_t HidReport::LocalState::nReportID

Definition at line 93 of file HidReport.h.

◆ nReportSize

int64_t HidReport::LocalState::nReportSize

Definition at line 92 of file HidReport.h.

◆ nUsageMax

int64_t HidReport::LocalState::nUsageMax

Definition at line 99 of file HidReport.h.

◆ nUsageMin

int64_t HidReport::LocalState::nUsageMin

Definition at line 98 of file HidReport.h.

◆ nUsagePage

int64_t HidReport::LocalState::nUsagePage

Definition at line 87 of file HidReport.h.

◆ pUsages

Vector<size_t>* HidReport::LocalState::pUsages

Definition at line 97 of file HidReport.h.


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