An entry for an EnumerationNode. More...
Inherits ValueNode, and IConfigurableEnumEntryNode.
Public Member Functions | |
EnumEntryNode (string name) | |
Creates a new EnumEntryNode with the given name . | |
EnumEntryNode (string name, Namespace nameSpace) | |
Creates a new EnumEntryNode with the given name and nameSpace . | |
override void | FromString (string value) |
Not supported. | |
override string | ToString () |
Returns SymbolicValue. | |
![]() | |
void | FromString (string value) |
Sets the value of the node from the string value . | |
![]() | |
void | Dispose () |
Disposes the native object wrapped by this object immediately. | |
Protected Member Functions | |
override AccessMode | GetAccessMode () |
Enum entries are always read only. | |
override CacheMode | GetCacheMode () |
Nothing to cache here. | |
override TimeSpan | GetPollingTime () |
Nothing to poll. | |
![]() | |
ValueNode (IntPtr handle) | |
Creates the ValueNode. | |
override void | Dispose (bool disposing) |
Additionally disposes of the registered events. | |
TimeSpan | GetPollingTime () |
Gets the polling time for this node. | |
int | OnRead () |
Calls the Read event and returns the ErrorCodes to deliver to the native server. | |
int | OnWritten () |
Calls the Written event and returns the ErrorCodes to deliver to the native server. | |
![]() | |
Node (IntPtr handle) | |
Creates a node from the given handle . | |
AccessMode | GetAccessMode () |
Implementation for getting the access mode. | |
CacheMode | GetCacheMode () |
Gets the current (dependent) cache mode of this node. | |
Properties | |
override bool | IsStreamable [get, set] |
EnumEntry nodes are never streamable. | |
long | NumericValue [get, set] |
Gets or sets the numeric value of this entry. | |
string | SymbolicValue [get, set] |
Gets or sets the symbolic value of this entry. | |
![]() | |
virtual bool | IsStreamable [get, set] |
Gets or sets whether this node should be used, when the camera settings are stored. | |
TimeSpan | PollingTime [get] |
Gets the polling time of this value. | |
![]() | |
IntPtr | Handle [get] |
Native CVB GevServer Node handle. | |
bool | IsDisposed [get] |
Tests whether the native handle has been disposed. | |
virtual NodeMap | NodeMap [get, set] |
Gets the parent Cvb.GevServer.NodeMap of this GevServerNode. | |
string | ToolTip [get, set] |
Gets or sets the short descriptive text of this node. | |
string | Description [get, set] |
Gets or sets the long descriptive text of this node. | |
AccessMode | AccessMode [get] |
Gets the GenApi.AccessMode of this node. | |
AccessMode? | ImposedAccessMode [get, set] |
Overrides the node's default AccessMode. | |
IntegerBaseNode | IsImplementedConfig [get, set] |
Gets or sets the node that specifies whether a node is implemented in the device or not. | |
IntegerBaseNode | IsAvailableConfig [get, set] |
Gets or sets the node that specifies whether a node is currently available or not. | |
IntegerBaseNode | IsLockedConfig [get, set] |
Gets or sets the node that specifies whether a node is currently read only or not. | |
CacheMode | CacheMode [get] |
Gets the cache mode of this node. | |
Visibility | Visibility [get, set] |
Gets or sets the complexity level of this node. | |
Node | AliasNode [get, set] |
Gets or sets the node that is an alias value for this node. | |
string | Name [get] |
Gets the full name of this node. | |
Namespace | Namespace [get] |
Gets the namespace this node is in. | |
bool | IsImplemented [get] |
AccessMode helper to check whether this node is implemented. | |
bool | IsAvailable [get] |
AccessMode helper to check whether this node is available. | |
bool | IsReadable [get] |
AccessMode helper to check whether this node is readable. | |
bool | IsWritable [get] |
AccessMode helper to check whether this node is writable. | |
string | EventID [get] |
Nodes with an event identifier may become invalidated if an event/message is delivered from the device. | |
bool | IsFeature [get] |
Gets whether this node is considered a feature node. | |
bool | IsDeprecated [get] |
Gets whether this node is considered deprecated. | |
Additional Inherited Members | |
![]() | |
static Namespace | ParseNamespace (string name) |
Gets the Namespace from the given name . | |
static string | ParseName (string name) |
Gets the name part of the given node name . | |
static string | EnsureNodeNameOnly (string name) |
Throws if the given name has a namespace prefix. | |
![]() | |
EventHandler< ReplyStatusEventArgs > | Read |
This event is fired when the client reads a value. | |
EventHandler< ReplyStatusEventArgs > | Written |
This event is fired when the client has written a value. | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
An entry for an EnumerationNode.
EnumEntryNode | ( | string | name | ) |
Creates a new EnumEntryNode with the given name .
If the name does not contain a namespace prefix the Namespace.Custom is used.
You must add this node to a NodeMap before most operations are possible.
name | Name with optional namespace prefix. |
EnumEntryNode | ( | string | name, |
Namespace | nameSpace ) |
Creates a new EnumEntryNode with the given name and nameSpace .
You must add this node to a NodeMap before most operations are possible.
override void FromString | ( | string | value | ) |
|
protected |
Enum entries are always read only.
|
protected |
Nothing to cache here.
|
protected |
Nothing to poll.
override string ToString | ( | ) |
Returns SymbolicValue.