Trait aravis::GcFeatureNodeExt
source · 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
Trait containing all GcFeatureNode
methods.
Implementors
GcBoolean
, GcCategory
, GcCommand
, GcConverter
, GcEnumEntry
, GcEnumeration
, GcFeatureNode
, GcFloatNode
, GcGroupNode
, GcIntegerNode
, GcPort
, GcRegisterDescriptionNode
, GcRegisterNode
, GcStringNode
, GcStructEntryNode
, GcSwissKnife
Required Methods§
sourcefn actual_access_mode(&self) -> GcAccessMode
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
fn description(&self) -> Option<GString>
fn display_name(&self) -> Option<GString>
sourcefn imposed_access_mode(&self) -> GcAccessMode
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
fn name(&self) -> Option<GString>
sourcefn name_space(&self) -> GcNameSpace
fn name_space(&self) -> GcNameSpace
fn tooltip(&self) -> Option<GString>
sourcefn value_as_string(&self) -> Result<GString, Error>
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.