| Aravis Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
ArvGcNode; ArvGcNode * arv_gc_node_new (void); const char * arv_gc_node_get_node_name (ArvGcNode *gc_node); GType arv_gc_node_get_value_type (ArvGcNode *gc_node); const char * arv_gc_node_get_value_as_string (ArvGcNode *gc_node); void arv_gc_node_set_value_from_string (ArvGcNode *gc_node,const char *string); void arv_gc_node_set_genicam (ArvGcNode *gc_node,ArvGc *genicam); ArvGc * arv_gc_node_get_genicam (ArvGcNode *gc_node); const char * arv_gc_node_get_name (ArvGcNode *gc_node); const char * arv_gc_node_get_tooltip (ArvGcNode *gc_node); const char * arv_gc_node_get_description (ArvGcNode *gc_node); gboolean arv_gc_node_is_available (ArvGcNode *gc_node); void arv_gc_node_set_attribute (ArvGcNode *gc_node,const char *name,const char *value); void arv_gc_node_add_element (ArvGcNode *gc_node,const char *name,const char *content,const char **attributes); gboolean arv_gc_node_can_add_child (ArvGcNode *gc_node,ArvGcNode *child); void arv_gc_node_add_child (ArvGcNode *gc_node,ArvGcNode *child); const GSList * arv_gc_node_get_childs (ArvGcNode *gc_node); unsigned int arv_gc_node_get_n_childs (ArvGcNode *gc_node); void arv_gc_node_inc_modification_count (ArvGcNode *gc_node); gint arv_gc_node_get_modification_count (ArvGcNode *gc_node);
GObject +----ArvGcNode +----ArvGcBoolean +----ArvGcCategory +----ArvGcCommand +----ArvGcConverter +----ArvGcEnumEntry +----ArvGcEnumeration +----ArvGcFloatNode +----ArvGcIntegerNode +----ArvGcPort +----ArvGcRegister +----ArvGcSwissKnife
ArvGcNode provides a base class for the implementation of the different types of Genicam node.
const char * arv_gc_node_get_node_name (ArvGcNode *gc_node);
Retrieves the Genicam name of the given node ("Integer", "IntReg", ...).
const char * arv_gc_node_get_value_as_string (ArvGcNode *gc_node);
Retrieve the node value a string.
Please not 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.
void arv_gc_node_set_value_from_string (ArvGcNode *gc_node,const char *string);
Set the node value using a string representation of the value. May not be applicable to every node type, but safe.
|
a ArvGcNode |
|
new node value, as string |
ArvGc * arv_gc_node_get_genicam (ArvGcNode *gc_node);
Retrieves the parent genicam document of node.
void arv_gc_node_set_attribute (ArvGcNode *gc_node,const char *name,const char *value);
void arv_gc_node_add_element (ArvGcNode *gc_node,const char *name,const char *content,const char **attributes);
gboolean arv_gc_node_can_add_child (ArvGcNode *gc_node,ArvGcNode *child);