GenApi::IEnumerationT#
Interface for enumeration properties. More…
#include <GenApi/IEnumerationT.h>
Inherits from GenApi::IEnumeration, GenApi::IValue, GenApi::IBase
Inherited by GenApi::CEnumerationTRef< EnumT >
Public Functions#
Name | |
---|---|
virtual void | SetValue(EnumT Value, bool Verify =true) =0 Set node value. |
virtual IEnumeration & | operator=(EnumT Value) =0 Set node value. |
virtual EnumT | GetValue(bool Verify =false, bool IgnoreCache =false) =0 Get node value. |
virtual EnumT | operator())() =0 Get node value. |
virtual IEnumeration & | operator=(const GenICam::gcstring & ValueStr) =0 Set node value. |
virtual IEnumEntry * | GetEntry(const EnumT Value) =0 returns the EnumEntry object belonging to the Value |
virtual IEnumEntry * | GetCurrentEntry(bool Verify =false, bool IgnoreCache =false) =0 Get the current entry. |
virtual void | GetSymbolics(StringList_t & Symbolics) =0 Get list of symbolic Values. |
virtual void | GetEntries(NodeList_t & Entries) =0 Get list of entry nodes. |
virtual void | SetIntValue(int64_t Value, bool Verify =true) =0 Set integer node value. |
virtual GenICam::gcstring | operator*() =0 Get string node value. |
virtual int64_t | GetIntValue(bool Verify =false, bool IgnoreCache =false) =0 Get integer node value. |
virtual IEnumEntry * | GetEntryByName(const GenICam::gcstring & Symbolic) =0 Get an entry node by name. |
virtual IEnumEntry * | GetEntry(const int64_t IntValue) =0 Get an entry node by its IntValue. |
virtual INode * | GetNode() Get the INode interface of the node. |
virtual GenICam::gcstring | ToString(bool Verify =false, bool IgnoreCache =false) =0 Get content of the node as string. |
virtual void | FromString(const GenICam::gcstring & ValueStr, bool Verify =true) =0 Set content of the node as string. |
virtual bool | IsValueCacheValid() const =0 Checks if the value comes from cache or is requested from another node. |
virtual EAccessMode | GetAccessMode() const =0 Get the access mode of the node. |
Additional inherited members#
Public Functions inherited from GenApi::IBase
Name | |
---|---|
virtual | ~IBase() =0 Virtual destructor enforcing virtual destructor on all derived classes. |
Detailed Description#
Interface for enumeration properties.
Public Functions Documentation#
function SetValue#
Set node value.
Parameters:
- Value The value to set
- Verify Enables AccessMode and Range verification (default = true)
function operator=#
Set node value.
function GetValue#
Get node value.
Parameters:
- Verify Enables Range verification (default = false). The AccessMode is always checked
- IgnoreCache If true the value is read ignoring any caches (default = false)
Return: The value read
function operator()#
Get node value.
function operator=#
Set node value.
Reimplements: GenApi::IEnumeration::operator=
Note : the operator= is not inherited thus the operator= versions from IEnumeration must be implemented again
function GetEntry#
returns the EnumEntry object belonging to the Value
function GetCurrentEntry#
Get the current entry.
Reimplements: GenApi::IEnumeration::GetCurrentEntry
function GetSymbolics#
Get list of symbolic Values.
Reimplemented by: Pylon::CEnumParameter::GetSymbolics
function GetEntries#
Get list of entry nodes.
Reimplemented by: Pylon::CEnumParameter::GetEntries
function SetIntValue#
Set integer node value.
Parameters:
- Value The value to set
- Verify Enables AccessMode and Range verification (default = true)
Reimplemented by: Pylon::CEnumParameter::SetIntValue
function operator*#
Get string node value.
Reimplemented by: Pylon::CEnumParameter::operator*
function GetIntValue#
Get integer node value.
Parameters:
- Verify Enables Range verification (default = false). The AccessMode is always checked
- IgnoreCache If true the value is read ignoring any caches (default = false)
Return: The value read
Reimplemented by: Pylon::CEnumParameter::GetIntValue
function GetEntryByName#
Get an entry node by name.
Reimplemented by: Pylon::CEnumParameter::GetEntryByName
function GetEntry#
Get an entry node by its IntValue.
Reimplemented by: Pylon::CEnumParameter::GetEntry
function GetNode#
Get the INode interface of the node.
Reimplemented by: Pylon::CArrayParameter::GetNode
function ToString#
Get content of the node as string.
Parameters:
- Verify Enables Range verification (default = false). The AccessMode is always checked
- IgnoreCache If true the value is read ignoring any caches (default = false)
Return: The value read
Reimplemented by: Pylon::CArrayParameter::ToString
function FromString#
Set content of the node as string.
Parameters:
- ValueStr The value to set
- Verify Enables AccessMode and Range verification (default = true)
Reimplemented by: Pylon::CArrayParameter::FromString
function IsValueCacheValid#
Checks if the value comes from cache or is requested from another node.
Reimplemented by: Pylon::CArrayParameter::IsValueCacheValid
function GetAccessMode#
Get the access mode of the node.
Reimplemented by: Pylon::CArrayParameter::GetAccessMode