class RWlanCircularBuffer |
Wlan LDD Shared Memory FIFO queue for Tx packets.
Public Member Functions | |
---|---|
void | DoInit () |
TUint | GetLength () |
TDataBuffer * | GetPacket () |
TBool | IsActive ( TInt64 ) |
TBool | IsEmpty () |
TBool | IsFull () |
TDataBuffer * | PeekPacket () |
TBool | PutPacket ( TDataBuffer *) |
void | Release () |
Private Attributes | |
---|---|
TInt64 | iBecameEmptyAt |
TDataBuffer * | iBuffer |
TUint | iGetIndex |
TUint | iPacketAmount |
TUint | iPutIndex |
TUint | iSize |
TDataBuffer * | GetPacket | ( | ) | [inline] |
This method returns and removes the next packet from the queue.
TBool | IsActive | ( | TInt64 | aTimeNow | ) | const [inline] |
This method can be used to check if the queue is active.
TInt64 aTimeNow | Current time as microseconds since midnight, January 1st, 0 AD nominal Gregorian |
TDataBuffer * | PeekPacket | ( | ) | [inline] |
Returns the next packet in the queue without removing it from the queue.
TBool | PutPacket | ( | TDataBuffer * | aPacket | ) | [inline] |
This method is used to put a packet to the end of the queue.
TDataBuffer * aPacket | Pointer to the meta header attached to the packet. |
TInt64 | iBecameEmptyAt | [private] |
Time stamp (as microseconds since midnight, January 1st, 0 AD nominal Gregorian) when the queue became empty. Valid only if the queue is empty
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.