Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 4.88 KB

File metadata and controls

28 lines (22 loc) · 4.88 KB

class RFConfiguration

Member values

Member name Data type Description
wifi_enable_state WifiEnableState  
bluetooth_enable_state BluetoothEnableState  

Member functions

Function name Return type Input type Description
has_wifi_enable_state() const bool void Returns true if wifi_enable_state is set.
wifi_enable_state() const WifiEnableState& void Returns the current value of wifi_enable_state. If wifi_enable_state is not set, returns a WifiEnableState with none of its fields set (possibly wifi_enable_state::default_instance()).
mutable_wifi_enable_state() WifiEnableState * void Returns a pointer to the mutable WifiEnableState object that stores the field's value. If the field was not set prior to the call, then the returned WifiEnableState will have none of its fields set (i.e. it will be identical to a newly-allocated WifiEnableState). After calling this, has_wifi_enable_state() will return true and wifi_enable_state() will return a reference to the same instance of WifiEnableState.
clear_wifi_enable_state() void void Clears the value of the field. After calling this, has_wifi_enable_state() will return false and wifi_enable_state() will return the default value.
set_allocated_wifi_enable_state() void WifiEnableState * Sets the WifiEnableState object to the field and frees the previous field value if it exists. If the WifiEnableState pointer is not NULL, the message takes ownership of the allocated WifiEnableState object and has_ WifiEnableState() will return true. Otherwise, if the wifi_enable_state is NULL, the behavior is the same as calling clear_wifi_enable_state().
release_wifi_enable_state() WifiEnableState * void Releases the ownership of the field and returns the pointer of the WifiEnableState object. After calling this, caller takes the ownership of the allocated WifiEnableState object, has_wifi_enable_state() will return false, and wifi_enable_state() will return the default value.
has_bluetooth_enable_state() const bool void Returns true if bluetooth_enable_state is set.
bluetooth_enable_state() const BluetoothEnableState& void Returns the current value of bluetooth_enable_state. If bluetooth_enable_state is not set, returns a BluetoothEnableState with none of its fields set (possibly bluetooth_enable_state::default_instance()).
mutable_bluetooth_enable_state() BluetoothEnableState * void Returns a pointer to the mutable BluetoothEnableState object that stores the field's value. If the field was not set prior to the call, then the returned BluetoothEnableState will have none of its fields set (i.e. it will be identical to a newly-allocated BluetoothEnableState). After calling this, has_bluetooth_enable_state() will return true and bluetooth_enable_state() will return a reference to the same instance of BluetoothEnableState.
clear_bluetooth_enable_state() void void Clears the value of the field. After calling this, has_bluetooth_enable_state() will return false and bluetooth_enable_state() will return the default value.
set_allocated_bluetooth_enable_state() void BluetoothEnableState * Sets the BluetoothEnableState object to the field and frees the previous field value if it exists. If the BluetoothEnableState pointer is not NULL, the message takes ownership of the allocated BluetoothEnableState object and has_ BluetoothEnableState() will return true. Otherwise, if the bluetooth_enable_state is NULL, the behavior is the same as calling clear_bluetooth_enable_state().
release_bluetooth_enable_state() BluetoothEnableState * void Releases the ownership of the field and returns the pointer of the BluetoothEnableState object. After calling this, caller takes the ownership of the allocated BluetoothEnableState object, has_bluetooth_enable_state() will return false, and bluetooth_enable_state() will return the default value.

Parent topic: Base (C++)