Index of OpenRM - RM Library


 RMenum rmGetEnum (RMenum queryTag, RMenum *returnValue)
 RMenum queryTag - an RMenum value indicating the name of the RM
    attribute to query.
 RMenum *returnValue - a pointer to a caller-supplied RMenum. The
    query result will be copied into this memory.

Use this routine to obtain the current value of an application-settable RM default. The current set of defaults that can be set/get by the application are described in the documentation for rmSetEnum, and in the RM Programming Guide.

This routine will return RM_CHILL upon successful assignment of the newValue value to the named tag. RM_WHACKED is returned upon failure.

librm library source file: rmdefaults.c

 RMenum rmSetEnum (RMenum setTag, RMenum newValue)
 RMenum queryTag - an RMenum value indicating the name of the RM
    attribute to modify.
 RMenum newValue - an RMenum value. The queryTag will be set to this value.

Use this routine to assign a new value to application-tunable RM defaults. The current set of defaults that can be set by the application are listed below, along with their permissible values.

This routine will return RM_CHILL upon successful assignment of the newValue value to the named tag. RM_WHACKED is returned upon failure.

RMnode attributes:

RM_DEFAULT_NODE_TRAVERSAL_MASK (RM_TRUE/RM_FALSE) - the value of the general traversal mask assigned to a node by rmNodeNew(). RM_DEFAULT_NODE_PICK_TRAVERSAL_MASK (RM_TRUE/RM_FALSE) - the value of the pick traversal mask assigned to an RMnode by rmNodeNew().

librm library source file: rmdefaults.c