CReportGenerator Class Reference
class CReportGenerator : public CBase
|
HID report generator
Class used for generating output or feature reports to send to the device.
generichid.lib
-
Since
-
S60 v5.0
Constructor & Destructor Documentation
CReportGenerator(TInt, CField::TType)
Parameters
TInt
aReportId
|
Report ID of the report to generate.
|
CField::TType
aType
|
Type of report to generate (output or feature).
|
~CReportGenerator()
~CReportGenerator
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(const CReportRoot *)
void
|
ConstructL
|
(
|
const
CReportRoot
*
|
aReportRoot
|
)
|
[private]
|
Parameters
const
CReportRoot
* aReportRoot
|
Tree generated by CParser from the report descriptor.
|
NewL(const CReportRoot *, TInt, CField::TType)
Parameters
const
CReportRoot
* aReportRoot
|
Tree generated by CParser from the report descriptor.
|
TInt
aReportId
|
Report ID of the report to generate.
|
CField::TType
aType
|
Type of report to generate (output or feature).
|
NewLC(const CReportRoot *, TInt, CField::TType)
Parameters
const
CReportRoot
* aReportRoot
|
Tree generated by CParser from the report descriptor.
|
TInt
aReportId
|
Report ID of the report to generate.
|
CField::TType
aType
|
Type of report to generate (output or feature).
|
Report()
IMPORT_C
TPtr8
|
Report
|
(
|
)
|
|
Get the buffer holding the generated report
SetField(const CField *, TInt, TInt, TInt)
Sets the value of a single field in the report. Stores the requested control value in a field in the report buffer. For array fields, adds the requested usage ID to the array.
Parameters
const
CField
* aField
|
Pointer to the field in which to set a value.
|
TInt
aUsageId
|
Usage ID of the control to set.
|
TInt
aValue
|
Value to write to the field, used for variable fields only.
|
TInt
aControlOffset = 0
|
Which control to set when more than one have the same usage ID.
|
Member Data Documentation
HBufC8 * iBuf
Buffer to hold the generated report Own.
TInt
iReportId
Report ID of the report to generate
const CReportRoot * iReportRoot
Tree of fields from the report descriptor Not own.
CField::TType
iType
Type of report to generate
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.