FMLiveSwitchShortHolder Class Reference

Class to hold a short value passed by reference. More...

Instance Methods

(instancetype) - init
 Initializes a new instance of the FMLiveSwitchShortHolder class. More...
 
(instancetype) - initWithValue:
 Initializes a new instance of the FMLiveSwitchShortHolder class. More...
 
(void) - setValue:
 Sets the value. More...
 
(short) - value
 Gets the value. More...
 

Class Methods

(FMLiveSwitchShortHolder *) + shortHolder
 Initializes a new instance of the FMLiveSwitchShortHolder class. More...
 
(FMLiveSwitchShortHolder *) + shortHolder:
 Initializes a new instance of the FMLiveSwitchShortHolder class. More...
 

Detailed Description

Class to hold a short value passed by reference.

Method Documentation

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchShortHolder class.

◆ initWithValue:

- (instancetype) initWithValue: (short)  value

Initializes a new instance of the FMLiveSwitchShortHolder class.

Parameters
valueThe value.

◆ setValue:

- (void) setValue: (short)  value

Sets the value.

◆ shortHolder

+ (FMLiveSwitchShortHolder*) shortHolder

Initializes a new instance of the FMLiveSwitchShortHolder class.

◆ shortHolder:

+ (FMLiveSwitchShortHolder*) shortHolder: (short)  value

Initializes a new instance of the FMLiveSwitchShortHolder class.

Parameters
valueThe value.

◆ value

- (short) value

Gets the value.