TBTraceBuffer Class Reference
Member Functions Documentation
Adjust(TUint, TInt)
Adjust trace data size so it represents a whole number of trace records.
Parameters
TUint aTail | The buffer offset where the available trace data is located. |
TInt aSize | The size of data at aTail. Must be >= KMaxBTraceRecordSize. |
CopyData(TUint, TUint, TInt)
Copy data out of the main trace buffer into the 'copy buffer'. This may fail if the data is overwritten before it hase been successfully copied.
- Post-condition
- iBuffer.iTail has been updated to point to the trace record following those copied.
Parameters
TUint aData | The buffer offset where the available trace data is located. |
TUint aTail | The value which iTail is expected to have if no more overwrites have occurred |
TInt aSize | The size of data at aTail |
Data(TUint &, TUint &)
Find out how much data is available.
Parameters
TUint & aData | Set to the buffer offset where the available trace data is located. |
TUint & aTail | Set to the the original value of the iTail pointer |
GetData(TUint8 *&)
Get pointer to as much contiguous trace data as is available.
Parameters
TUint8 *& aData | Pointer to the first byte of trace data. |
UpdateTail(TUint32, TUint32)
Update the stored tail offset.
Parameters
TUint32 aOld | The value which iTail is expected to have if no more overwrites have occurred |
TUint32 aNew | The new value for iTail |
Member Data Documentation
TUint
iCopyBuffer
TUint
| iCopyBuffer | [private] |
TUint
iCopyBufferSize
TUint
| iCopyBufferSize | [private] |
TUint
iGeneration
TUint
| iGeneration | [private] |
TUint
iRecordOffsets
TUint
| iRecordOffsets | [private] |
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.