pub trait GcFeatureNodeExt: 'static {
Show 13 methods // Required methods fn actual_access_mode(&self) -> GcAccessMode; fn description(&self) -> Option<GString>; fn display_name(&self) -> Option<GString>; fn imposed_access_mode(&self) -> GcAccessMode; fn name(&self) -> Option<GString>; fn name_space(&self) -> GcNameSpace; fn tooltip(&self) -> Option<GString>; fn value_as_string(&self) -> Result<GString, Error>; fn visibility(&self) -> GcVisibility; fn is_available(&self) -> Result<bool, Error>; fn is_implemented(&self) -> Result<bool, Error>; fn is_locked(&self) -> Result<bool, Error>; fn set_value_from_string(&self, string: &str) -> Result<(), Error>;
}
Expand description

Required Methods§

source

fn actual_access_mode(&self) -> GcAccessMode

Gets feature node allowed access mode. This is a combination of Genicam ImposedAccessMode and AccessMode properties of underlying features and registers.

Returns

Access mode as GcAccessMode

source

fn description(&self) -> Option<GString>

source

fn display_name(&self) -> Option<GString>

source

fn imposed_access_mode(&self) -> GcAccessMode

Gets feature node imposed access mode property.

<warning>``<para>Note that this function will not give the actual access mode. Please use arv_gc_feature_node_get_actual_access_mode to get an access mode combined from imposed access mode and underlying register access mode properties.</para>``</warning>

Returns

Access mode as GcAccessMode

source

fn name(&self) -> Option<GString>

source

fn name_space(&self) -> GcNameSpace

Get feature name space.

Returns

Name space value as GcNameSpace.

source

fn tooltip(&self) -> Option<GString>

source

fn value_as_string(&self) -> Result<GString, Error>

Retrieve the node value a string.

<warning>``<para>Please note the string content is still owned by the node object, which means the returned pointer may not be still valid after a new call to this function.</para>``</warning>

Returns

a string representation of the node value, None if not applicable.

source

fn visibility(&self) -> GcVisibility

source

fn is_available(&self) -> Result<bool, Error>

source

fn is_implemented(&self) -> Result<bool, Error>

source

fn is_locked(&self) -> Result<bool, Error>

source

fn set_value_from_string(&self, string: &str) -> Result<(), Error>

Set the node value using a string representation of the value. May not be applicable to every node type, but safe.

string

new node value, as string

Implementors§