//----------------------------------------------------------------------------- // Copyright (c) 2004-2021 Basler AG // Section: Vision Components // Project: GenApi //----------------------------------------------------------------------------- /*! \file \brief Basler generic GigEVision camera interface */ //----------------------------------------------------------------------------- // This file is generated automatically // Do not modify! //----------------------------------------------------------------------------- #ifndef Basler_GigEChunkData_PARAMS_H #define Basler_GigEChunkData_PARAMS_H #include #include #include // common node types #include #include #include #include #include #include #include #include #include #ifdef __GNUC__ # undef GCC_VERSION # define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) # undef GCC_DIAGNOSTIC_AWARE # define GCC_DIAGNOSTIC_AWARE (GCC_VERSION >= 40200) # undef GCC_DIAGNOSTIC_PUSH_POP_AWARE # define GCC_DIAGNOSTIC_PUSH_POP_AWARE (GCC_VERSION >= 40600) #else # undef GCC_DIAGNOSTIC_AWARE # define GCC_DIAGNOSTIC_AWARE 0 #endif #ifdef __GNUC__ // GCC_DIAGNOSTIC_AWARE ensures that the internal deprecated warnings can be ignored by gcc. // As a result older gcc will not generate warnings about really used deprecated features. # if GCC_DIAGNOSTIC_AWARE # define GENAPI_DEPRECATED_FEATURE __attribute__((deprecated)) # else # define GENAPI_DEPRECATED_FEATURE # endif #elif defined(_MSC_VER) # define GENAPI_DEPRECATED_FEATURE __declspec(deprecated) #else # define GENAPI_DEPRECATED_FEATURE #endif #if GCC_DIAGNOSTIC_AWARE # if GCC_DIAGNOSTIC_PUSH_POP_AWARE # pragma GCC diagnostic push # endif # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif //! The namespace containing the device's control interface and related enumeration types namespace Basler_GigEChunkData { //************************************************************************************************** // Enumerations //************************************************************************************************** //! Valid values for ChunkPixelFormat enum ChunkPixelFormatEnums { ChunkPixelFormat_Mono8, //!& ChunkPixelFormat; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Indicates the value of the timestamp when the image was acquired This integer indicates the value of the timestamp when the image was acquired. \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkTimestamp; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Indicates the value of the frame counter when the image was acquired This integer indicates the value of the frame counter when the image was acquired. \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkFramecounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief A bit field that indicates the status of all of the camera's input and output lines when the image was acquired This value is a bit field that indicates the status of all of the camera's input and output lines when the image was acquired. \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkLineStatusAll; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief A bit field that indicates the status of all of the camera's virtual input and output lines when the image was acquired This value is a bit field that indicates the status of all of the camera's virtual input and output lines when the image was acquired. \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkVirtLineStatusAll; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Indicates the value of the trigger input counter when the image was acquired This integer indicates the value of the trigger input counter when the image was acquired. \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkTriggerinputcounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkLineTriggerIgnoredCounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkFrameTriggerIgnoredCounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkFrameTriggerCounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkFramesPerTriggerCounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkLineTriggerEndToEndCounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Number of bits per status \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkInputStatusAtLineTriggerBitsPerLine; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Used to select a certain status \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkInputStatusAtLineTriggerIndex; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Value of the status selected by 'Index' \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkInputStatusAtLineTriggerValue; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Shaft encoder counter at frame trigger \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkShaftEncoderCounter; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IFloat& ChunkExposureTime; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief Indicates the value of CRC checksum This integer indicates the value of CRC checksum. \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkPayloadCRC16; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkGainAll; //@} //! \name ChunkData - This category includes items related to the chunk data that can be appended to the image data //@{ /*! \brief \b Visibility = Beginner */ GENAPI_NAMESPACE::IInteger& ChunkLineTriggerCounter; //@} private: //! \cond HIDE_CLASS_METHODS //! not implemented copy constructor CGigEChunkData_Params( CGigEChunkData_Params& ); //! not implemented assignment operator CGigEChunkData_Params& operator=( CGigEChunkData_Params& ); //! \endcond }; //************************************************************************************************** // Parameter class implementation //************************************************************************************************** //! \cond HIDE_CLASS_METHODS inline CGigEChunkData_Params::CGigEChunkData_Params( void ) : ChunkStride( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkSequenceSetIndex( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkOffsetX( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkOffsetY( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkWidth( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkHeight( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkDynamicRangeMin( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkDynamicRangeMax( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkPixelFormat( *new GENAPI_NAMESPACE::CEnumerationTRef() ) , ChunkTimestamp( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkFramecounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkLineStatusAll( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkVirtLineStatusAll( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkTriggerinputcounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkLineTriggerIgnoredCounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkFrameTriggerIgnoredCounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkFrameTriggerCounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkFramesPerTriggerCounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkLineTriggerEndToEndCounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkInputStatusAtLineTriggerBitsPerLine( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkInputStatusAtLineTriggerIndex( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkInputStatusAtLineTriggerValue( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkShaftEncoderCounter( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkExposureTime( *new GENAPI_NAMESPACE::CFloatRef() ) , ChunkPayloadCRC16( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkGainAll( *new GENAPI_NAMESPACE::CIntegerRef() ) , ChunkLineTriggerCounter( *new GENAPI_NAMESPACE::CIntegerRef() ) { } inline CGigEChunkData_Params::~CGigEChunkData_Params( void ) { delete static_cast (&ChunkStride); delete static_cast (&ChunkSequenceSetIndex); delete static_cast (&ChunkOffsetX); delete static_cast (&ChunkOffsetY); delete static_cast (&ChunkWidth); delete static_cast (&ChunkHeight); delete static_cast (&ChunkDynamicRangeMin); delete static_cast (&ChunkDynamicRangeMax); delete static_cast *> (&ChunkPixelFormat); delete static_cast (&ChunkTimestamp); delete static_cast (&ChunkFramecounter); delete static_cast (&ChunkLineStatusAll); delete static_cast (&ChunkVirtLineStatusAll); delete static_cast (&ChunkTriggerinputcounter); delete static_cast (&ChunkLineTriggerIgnoredCounter); delete static_cast (&ChunkFrameTriggerIgnoredCounter); delete static_cast (&ChunkFrameTriggerCounter); delete static_cast (&ChunkFramesPerTriggerCounter); delete static_cast (&ChunkLineTriggerEndToEndCounter); delete static_cast (&ChunkInputStatusAtLineTriggerBitsPerLine); delete static_cast (&ChunkInputStatusAtLineTriggerIndex); delete static_cast (&ChunkInputStatusAtLineTriggerValue); delete static_cast (&ChunkShaftEncoderCounter); delete static_cast (&ChunkExposureTime); delete static_cast (&ChunkPayloadCRC16); delete static_cast (&ChunkGainAll); delete static_cast (&ChunkLineTriggerCounter); } inline void CGigEChunkData_Params::_Initialize( GENAPI_NAMESPACE::INodeMap* _Ptr ) { static_cast (&ChunkStride)->SetReference( _Ptr->GetNode( "ChunkStride" ) ); static_cast (&ChunkSequenceSetIndex)->SetReference( _Ptr->GetNode( "ChunkSequenceSetIndex" ) ); static_cast (&ChunkOffsetX)->SetReference( _Ptr->GetNode( "ChunkOffsetX" ) ); static_cast (&ChunkOffsetY)->SetReference( _Ptr->GetNode( "ChunkOffsetY" ) ); static_cast (&ChunkWidth)->SetReference( _Ptr->GetNode( "ChunkWidth" ) ); static_cast (&ChunkHeight)->SetReference( _Ptr->GetNode( "ChunkHeight" ) ); static_cast (&ChunkDynamicRangeMin)->SetReference( _Ptr->GetNode( "ChunkDynamicRangeMin" ) ); static_cast (&ChunkDynamicRangeMax)->SetReference( _Ptr->GetNode( "ChunkDynamicRangeMax" ) ); static_cast*> (&ChunkPixelFormat)->SetReference( _Ptr->GetNode( "ChunkPixelFormat" ) ); static_cast*> (&ChunkPixelFormat)->SetNumEnums( 51 ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono8, "Mono8" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono8Signed, "Mono8Signed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono10, "Mono10" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono10Packed, "Mono10Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono10p, "Mono10p" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono12, "Mono12" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono12Packed, "Mono12Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_Mono16, "Mono16" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR8, "BayerGR8" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG8, "BayerRG8" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB8, "BayerGB8" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG8, "BayerBG8" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR10, "BayerGR10" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG10, "BayerRG10" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB10, "BayerGB10" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG10, "BayerBG10" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR12, "BayerGR12" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG12, "BayerRG12" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB12, "BayerGB12" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG12, "BayerBG12" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR16, "BayerGR16" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG16, "BayerRG16" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB16, "BayerGB16" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG16, "BayerBG16" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB8Packed, "RGB8Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGR8Packed, "BGR8Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGBA8Packed, "RGBA8Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGRA8Packed, "BGRA8Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10Packed, "RGB10Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGR10Packed, "BGR10Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB12Packed, "RGB12Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BGR12Packed, "BGR12Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10V1Packed, "RGB10V1Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10V2Packed, "RGB10V2Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV411Packed, "YUV411Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV422Packed, "YUV422Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV444Packed, "YUV444Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB8Planar, "RGB8Planar" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB10Planar, "RGB10Planar" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB12Planar, "RGB12Planar" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB16Planar, "RGB16Planar" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_YUV422_YUYV_Packed, "YUV422_YUYV_Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB12Packed, "BayerGB12Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR12Packed, "BayerGR12Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG12Packed, "BayerRG12Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG12Packed, "BayerBG12Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_RGB12V1Packed, "RGB12V1Packed" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGB10p, "BayerGB10p" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerGR10p, "BayerGR10p" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerRG10p, "BayerRG10p" ); static_cast*> (&ChunkPixelFormat)->SetEnumReference( ChunkPixelFormat_BayerBG10p, "BayerBG10p" ); static_cast (&ChunkTimestamp)->SetReference( _Ptr->GetNode( "ChunkTimestamp" ) ); static_cast (&ChunkFramecounter)->SetReference( _Ptr->GetNode( "ChunkFramecounter" ) ); static_cast (&ChunkLineStatusAll)->SetReference( _Ptr->GetNode( "ChunkLineStatusAll" ) ); static_cast (&ChunkVirtLineStatusAll)->SetReference( _Ptr->GetNode( "ChunkVirtLineStatusAll" ) ); static_cast (&ChunkTriggerinputcounter)->SetReference( _Ptr->GetNode( "ChunkTriggerinputcounter" ) ); static_cast (&ChunkLineTriggerIgnoredCounter)->SetReference( _Ptr->GetNode( "ChunkLineTriggerIgnoredCounter" ) ); static_cast (&ChunkFrameTriggerIgnoredCounter)->SetReference( _Ptr->GetNode( "ChunkFrameTriggerIgnoredCounter" ) ); static_cast (&ChunkFrameTriggerCounter)->SetReference( _Ptr->GetNode( "ChunkFrameTriggerCounter" ) ); static_cast (&ChunkFramesPerTriggerCounter)->SetReference( _Ptr->GetNode( "ChunkFramesPerTriggerCounter" ) ); static_cast (&ChunkLineTriggerEndToEndCounter)->SetReference( _Ptr->GetNode( "ChunkLineTriggerEndToEndCounter" ) ); static_cast (&ChunkInputStatusAtLineTriggerBitsPerLine)->SetReference( _Ptr->GetNode( "ChunkInputStatusAtLineTriggerBitsPerLine" ) ); static_cast (&ChunkInputStatusAtLineTriggerIndex)->SetReference( _Ptr->GetNode( "ChunkInputStatusAtLineTriggerIndex" ) ); static_cast (&ChunkInputStatusAtLineTriggerValue)->SetReference( _Ptr->GetNode( "ChunkInputStatusAtLineTriggerValue" ) ); static_cast (&ChunkShaftEncoderCounter)->SetReference( _Ptr->GetNode( "ChunkShaftEncoderCounter" ) ); static_cast (&ChunkExposureTime)->SetReference( _Ptr->GetNode( "ChunkExposureTime" ) ); static_cast (&ChunkPayloadCRC16)->SetReference( _Ptr->GetNode( "ChunkPayloadCRC16" ) ); static_cast (&ChunkGainAll)->SetReference( _Ptr->GetNode( "ChunkGainAll" ) ); static_cast (&ChunkLineTriggerCounter)->SetReference( _Ptr->GetNode( "ChunkLineTriggerCounter" ) ); } inline const char* CGigEChunkData_Params::_GetVendorName( void ) { return "Basler"; } inline const char* CGigEChunkData_Params::_GetModelName( void ) { return "GigEChunkData"; } //! \endcond } // namespace Basler_GigEChunkData #if GCC_DIAGNOSTIC_AWARE # if GCC_DIAGNOSTIC_PUSH_POP_AWARE # pragma GCC diagnostic pop # else # pragma GCC diagnostic warning "-Wdeprecated-declarations" # endif #endif #undef GENAPI_DEPRECATED_FEATURE #endif // Basler_GigEChunkData_PARAMS_H