eBUS SDK .NET API
  • Getting Started
    • Getting started with the eBUS SDK .NET API
    • Configuring Your IDE
    • Receiving Data from a GigE Vision or USB3 Vision Transmitter
    • Sample Applications
    • GigE Vision Device Communication Parameters
    • USB3 Vision Device Communication Parameters
    • PvStream USB3 Vision Parameters
    • PvStream GigE Vision Parameters
  • eBUS SDK .NET API Reference
    • API Overview
    • eBUSDotNet
    • eBUSDotNetReceive
    • eBUSDotNetEdge
Search Results for

    Show / Hide Table of Contents
      • GenDCComponentFlagsGroup
      • GenDCComponentHeader
      • GenDCComponentHeaderBase
      • GenDCComponentType
      • GenDCContainerFlagsGroup
      • GenDCContainerHeader
      • GenDCContainerHeaderBase
      • GenDCContainerVariableFieldsGroup
      • GenDCFlowTable
      • GenDCFlowTableHeader
      • GenDCGenericPartType
      • GenDCHeaderType
      • GenDCInfoTypeSpecificH264
      • GenDCInfoTypeSpecificH264.H264Flags
      • GenDCInfoTypeSpecificJPEG
      • GenDCPartFlagsGroup
      • GenDCPartHeader
      • GenDCPartHeader1D
      • GenDCPartHeader1DBase
      • GenDCPartHeader2D
      • GenDCPartHeader2DBase
      • GenDCPartHeaderBase
      • GenDCPartHeaderGenICamChunk
      • GenDCPartHeaderGenICamXML
      • GenDCPartHeaderH264
      • GenDCPartHeaderJPEG
      • GenDCPartHeaderJPEG2000
      • GenDCPartType
      • GenDCPredefinedComponentValue
      • GenDCPredefinedPartValue
      • GenDCPredefinedValue16
      • GenDCPredefinedValue32
      • GenDCPredefinedValue64
      • GenDCReservedValue
      • GenDCSignature
      • GenDCVersionValue
      • IPvChunkData
      • IPvFilter
      • IPvGenDCChunkData
      • IPvGenDCChunkWriter
      • IPvGenDCImage
      • IPvGenDCManager
      • IPvGenericDataComponent
      • IPvGenericDataContainer
      • IPvGenericDataPart
      • IPvH264AccessUnit
      • IPvImage
      • IPvImageJPEG
      • IPvMultiPartContainer
      • IPvMultiPartContainerReader
      • IPvMultiPartContainerWriter
      • IPvMultiPartSection
      • OnDeviceFoundHandler
      • OnParameterUpdateHandler
      • PvBuffer
      • PvChunkData
      • PvComponentType
      • PvCompressionFilter
      • PvDeInterlacer
      • PvDecompressionFilter
      • PvDeviceClass
      • PvDeviceInfo
      • PvDeviceInfoGEV
      • PvDeviceInfoPleoraProtocol
      • PvDeviceInfoType
      • PvDeviceInfoU3V
      • PvDeviceInfoUSB
      • PvDeviceType
      • PvEncodingEnum
      • PvException
      • PvFPSStabilizer
      • PvGenAccessMode
      • PvGenBoolean
      • PvGenCache
      • PvGenCategory
      • PvGenCommand
      • PvGenDCPart1DFields
      • PvGenDCPart2DFields
      • PvGenDCPartH264Fields
      • PvGenDCPartH264Fields.H264Flags
      • PvGenDCPartMetadataFields
      • PvGenDCPartType
      • PvGenDCVariableField
      • PvGenEndianness
      • PvGenEnum
      • PvGenEnumEntry
      • PvGenEventSink
      • PvGenEventSinkSwigInterface
      • PvGenFile
      • PvGenFloat
      • PvGenInteger
      • PvGenNameSpace
      • PvGenOpenMode
      • PvGenParameter
      • PvGenParameterArray
      • PvGenParameterList
      • PvGenRefresh
      • PvGenRegister
      • PvGenRepresentation
      • PvGenSign
      • PvGenStateStack
      • PvGenString
      • PvGenType
      • PvGenVisibility
      • PvImage
      • PvInterface
      • PvInterfaceType
      • PvMultiPartDataType
      • PvNetworkAdapter
      • PvPayloadType
      • PvPixelType
      • PvPleoraCompressed
      • PvRawData
      • PvResult
      • PvResult.Code
      • PvResult.Code.CodeEnum
      • PvSessionInfo
      • PvString
      • PvStringList
      • PvSystem
      • PvSystemEventSink
      • PvTapFilter
      • PvTapGeometryEnum
      • PvTftpClient
      • PvUSBHostController
      • PvUSBSpeed
      • PvUSBStatus
      • SWIGTYPE_p_PV_GENAPI_NS__INode
      • SWIGTYPE_p_PV_GENAPI_NS__INodeMap
      • SWIGTYPE_p_long_long
      • SWIGTYPE_p_unsigned_char
      • SWIGTYPE_p_unsigned_long_long
      • eBUSDotNet
      • uint24_t

    Class PvGenEnum

    GenICam feature: Enumeration. A feature which can take one of many defined values.

    Inheritance
    object
    PvGenParameter
    PvGenEnum
    Implements
    IDisposable
    Inherited Members
    PvGenParameter.swigCMemOwn
    PvGenParameter.Dispose()
    PvGenParameter.GetName(out string)
    PvGenParameter.GetType(ref PvGenType)
    PvGenParameter.GetCategory(out string)
    PvGenParameter.GetToolTip(out string)
    PvGenParameter.GetDescription(out string)
    PvGenParameter.GetDisplayName(out string)
    PvGenParameter.GetNameSpace(ref PvGenNameSpace)
    PvGenParameter.IsValueCached(out bool)
    PvGenParameter.IsPersistent(out bool)
    PvGenParameter.IsImplemented(out bool)
    PvGenParameter.IsAvailable(out bool)
    PvGenParameter.IsWritable(out bool)
    PvGenParameter.IsReadable(out bool)
    PvGenParameter.IsStreamable(out bool)
    PvGenParameter.IsVisible(PvGenVisibility)
    PvGenParameter.GetVisibility(ref PvGenVisibility)
    PvGenParameter.IsVisible(PvGenVisibility, out bool)
    PvGenParameter.IsSelector(out bool)
    PvGenParameter.GetSelectedParameters(ref PvGenParameterList)
    PvGenParameter.GetSelectingParameters(ref PvGenParameterList)
    PvGenParameter.RegisterEventSink(PvGenEventSinkSwigInterface)
    PvGenParameter.UnregisterEventSink(PvGenEventSinkSwigInterface)
    PvGenParameter.ValueToString()
    PvGenParameter.ValueToString(out string)
    PvGenParameter.FromString(string)
    PvGenParameter.GetNode()
    PvGenParameter.Name
    PvGenParameter.ValueCached
    PvGenParameter.Persistent
    PvGenParameter.Implemented
    PvGenParameter.Available
    PvGenParameter.Writable
    PvGenParameter.Readable
    PvGenParameter.Streamable
    PvGenParameter.UpdatesEnabled
    PvGenParameter.OnParameterUpdate
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: eBUSDotNet
    Assembly: eBUSDotNet.dll
    Syntax
    public class PvGenEnum : PvGenParameter, IDisposable
    Remarks

    PvGenEnum is a list of selectable values. In a UI, PvGenEnum objects are typically represented as dropdown lists.

     Each list entry is a PvGenEnumEntry object.
    
     Thus, the enumeration list might be represented as follows,
     where each entry has a list position, entry value, and entry name:
     - Position 0: Value 5, Name "Orange"
     - Position 1: Value 4, Name "Apple"
     - Position 2: Value 99, Name "Watermelon"
    
     However, the UI presents only a selection of entry names (Orange, etc.); the list
     position and entry values are hidden. The entry names are always unique.
    
     Enumerations can't be set to any arbitrary value; they can only be set
     to a value of an entry on the list. 
     If a user selected Orange, you could set the new value in the following ways:
    
     	- Set the entry value directly with #SetValue ( 5 ).
     	- Set the entry value by the name with #SetValue ( "Orange" ).
    
     In group GenICam features.
    

    Methods

    View Source

    Dispose(bool)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    PvGenParameter.Dispose(bool)
    View Source

    GetEntriesCount(out long)

    Get the number of enumaration entries.

    Declaration
    public PvResult GetEntriesCount(out long aCount)
    Parameters
    Type Name Description
    long aCount

    The number of enumeration entries.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::GENERIC_ERROR (Use PvResult::GetDescription to get more information.)
    View Source

    GetEntryByIndex(long, out PvGenEnumEntry)

    Get an enumeration entry (by list position).

    Declaration
    public PvResult GetEntryByIndex(long aIndex, out PvGenEnumEntry aEntry)
    Parameters
    Type Name Description
    long aIndex

    The zero-based index of the enumeration entry.

    PvGenEnumEntry aEntry

    A pointer to the enumeration entry.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::GENERIC_ERROR (Use PvResult::GetDescription to get more information.)
    • #PvResult::Code::NOT_FOUND
    View Source

    GetEntryByName(string, out PvGenEnumEntry)

    Get an enumeration entry (by name).

    Declaration
    public PvResult GetEntryByName(string aEntryName, out PvGenEnumEntry aEntry)
    Parameters
    Type Name Description
    string aEntryName

    The enumeration entry's name (#PvGenEnumEntry::GetName).

    PvGenEnumEntry aEntry

    A pointer to the enumeration entry.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::GENERIC_ERROR (Use PvResult::GetDescription to get more information.)
    • #PvResult::Code::NOT_FOUND
    View Source

    GetEntryByValue(long, out PvGenEnumEntry)

    Get an enumeration entry (by value).

    Declaration
    public PvResult GetEntryByValue(long aValue, out PvGenEnumEntry aEntry)
    Parameters
    Type Name Description
    long aValue

    The enumeration entry value.

    PvGenEnumEntry aEntry

    A pointer to the enumeration entry.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::GENERIC_ERROR (Use PvResult::GetDescription to get more information.)
    • #PvResult::Code::NOT_FOUND
    View Source

    GetValue(out long)

    Get the feature's value (as an integer).

    Declaration
    public PvResult GetValue(out long aValue)
    Parameters
    Type Name Description
    long aValue

    The feature's value (equivalent to #PvGenEnumEntry::GetValue).

    Returns
    Type Description
    PvResult

    See #GetEntriesCount.

    View Source

    GetValue(out string)

    Get the feature's value (as a string).

    Declaration
    public PvResult GetValue(out string aValue)
    Parameters
    Type Name Description
    string aValue

    The feature's value (equivalent to #PvGenEnumEntry::GetName).

    Returns
    Type Description
    PvResult

    See #GetEntriesCount.

    View Source

    SetValue(long)

    Set the feature's value.

    Declaration
    public PvResult SetValue(long aValue)
    Parameters
    Type Name Description
    long aValue

    The enumerator entry's feature's value (#PvGenEnumEntry::GetValue).

    Returns
    Type Description
    PvResult

    See #GetEntriesCount.

    View Source

    SetValue(string)

    Set feature's value.

    Declaration
    public PvResult SetValue(string aValue)
    Parameters
    Type Name Description
    string aValue

    The enumerator entry's name (#PvGenEnumEntry::GetName).

    Returns
    Type Description
    PvResult

    See #GetEntriesCount.

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX