nn::nex::PacketBufferManager::SetUnitHeapParam Member Function

Syntax

static qBool SetUnitHeapParam(
     const qVector< UnitHeapParam > & param
);

Parameters

Name Description
in param Specifies the structural information for the unit heap for the payload.

Return Values



Value Description
true Configuration was a success.
false Setting failed.

Description

Sets the structural information for the unit heap for the payload used by the packet buffer manager.

Cannot be set when the packet buffer manager is already running. Use the IsActive function to find out if it is running.

Under the following conditions, an assert error occurs as illegal information.

· Unit size is 0 or exceeds 1364
· Unit size is not a multiple of 4
· The number of memory blocks is 0
· The array size is 0
· Unit size does not have 1364 elements

The set values are maintained until NEX terminates.

See Also

IsActive, GetUnitHeapParam

Revision History

2012/11/27
Initial version.

CONFIDENTIAL