Kanzi 3.9.14
ActivityConceptEnums.KeepAlivePolicy Enum Reference

Defines the policy for an inactive Activity. More...

Inheritance diagram for ActivityConceptEnums.KeepAlivePolicy:
[legend]

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

 DetachAndDestroy =(0)
 Detach an inactive Activity node from the node tree and release its reference.
 
 HideAndDisable =(1)
 Hide and disable an inactive Activity node.
 

Detailed Description

Defines the policy for an inactive Activity.

Constructor & Destructor Documentation

◆ KeepAlivePolicy() [1/2]

KeepAlivePolicy ( int value)

Constructs a KeepAlivePolicy of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ KeepAlivePolicy() [2/2]

Constructs a copy of a KeepAlivePolicy object.

Parameters
enum_KeepAlivePolicy to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static KeepAlivePolicy 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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static KeepAlivePolicy 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.