|
The Pedigree Project 0.1
|
Structure representing a Collection whitin a report. More...
Collaboration diagram for HidReport::Collection:Classes | |
| struct | Child |
Public Types | |
| enum | ChildType { CollectionChild , InputBlockChild } |
Public Member Functions | |
| void | feedInput (uint8_t *pBuffer, uint8_t *pOldBuffer, size_t nBufferSize, size_t &nBitOffset, uint8_t reportId, HidUtils::InputState &inputState) |
| HidDeviceType | guessInputDevice () |
Public Attributes | |
| Vector< Child * > | childs |
| All the childs in this collection. | |
| Collection * | pParent |
| Our parent. | |
| LocalState | state |
| The local state of the collection. | |
Structure representing a Collection whitin a report.
Definition at line 126 of file HidReport.h.
| enum HidReport::Collection::ChildType |
Definition at line 129 of file HidReport.h.
| HidReport::Collection::~Collection | ( | ) |
Definition at line 59 of file HidReport.cc.
| void HidReport::Collection::feedInput | ( | uint8_t * | pBuffer, |
| uint8_t * | pOldBuffer, | ||
| size_t | nBufferSize, | ||
| size_t & | nBitOffset, | ||
| uint8_t | reportId, | ||
| HidUtils::InputState & | inputState | ||
| ) |
Feeds input to this collection (will get forwarded to the lowest collection)
Definition at line 324 of file HidReport.cc.
References HidReport::InputBlock::feedInput(), and feedInput().
Referenced by HidReport::feedInput(), and feedInput().
Here is the caller graph for this function:| HidDeviceType HidReport::Collection::guessInputDevice | ( | ) |
Guesses from which type of device the input associated with this collection comes from
Definition at line 345 of file HidReport.cc.
References HidReport::LocalState::getUsageByIndex(), pParent, and state.
All the childs in this collection.
Definition at line 151 of file HidReport.h.
Referenced by HidReport::parseDescriptor().
| Collection* HidReport::Collection::pParent |
Our parent.
Definition at line 154 of file HidReport.h.
Referenced by guessInputDevice(), and HidReport::parseDescriptor().
| LocalState HidReport::Collection::state |
The local state of the collection.
Definition at line 157 of file HidReport.h.
Referenced by guessInputDevice(), and HidReport::parseDescriptor().