Kanzi  3.9.9
Kanzi Engine Java API
ValueAccumulatorBaseEnums.BoundType Enum Reference

Sets how a Value Accumulator handles the increments when it reaches the limits of the range of increments. More...

Inheritance diagram for ValueAccumulatorBaseEnums.BoundType:
[legend]

Public Member Functions

 BoundType (int value)
 Constructs a BoundType of an integer value. More...
 
 BoundType (BoundType enum_)
 Constructs a copy of a BoundType object. More...
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 Returns the integer value of the enumeration constant. More...
 

Static Public Member Functions

static BoundType swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant. More...
 
static BoundType toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 Clamp =(1)
 Limits the total accumulated value between the maximum and minimum values by clamping the value.
 
 Loop =(0)
 Limits the total accumulated value between the maximum and minimum values by wrapping the value.
 

Detailed Description

Sets how a Value Accumulator handles the increments when it reaches the limits of the range of increments.


For an IntValueAccumulator you can set the boundaries with the IntValueAccumulator::MinimumAccumulatedValueProperty and IntValueAccumulator::MaximumAccumulatedValueProperty.
For an FloatValueAccumulator you can set the boundaries with the FloatValueAccumulator::MinimumAccumulatedValueProperty and FloatValueAccumulator::MaximumAccumulatedValueProperty.

Constructor & Destructor Documentation

BoundType ( int  value)

Constructs a BoundType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.
BoundType ( BoundType  enum_)

Constructs a copy of a BoundType object.

Parameters
enum_BoundType to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static BoundType swigToEnum ( int  swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
static BoundType toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.