pylon/PylonIncludes.h#
Defines#
Name | |
---|---|
GCC_DIAGNOSTIC_AWARE |
Macros Documentation#
define GCC_DIAGNOSTIC_AWARE#
#define GCC_DIAGNOSTIC_AWARE 0
Source code#
//-----------------------------------------------------------------------------
// Basler pylon SDK
// Copyright (c) 2008-2022 Basler AG
// http://www.baslerweb.com
// Author: JS
//-----------------------------------------------------------------------------
#ifndef PYLONINCLUDES_H_INCLUDED__
#define PYLONINCLUDES_H_INCLUDED__
// PylonPlatform.h must be included before including any GenICam/GenApi header files,
// to ensure that the GENICAM_COMPILER_STR macro used by GenICam/GenApi is set properly
#include <pylon/Platform.h>
#include <pylon/PylonLinkage.h>
// basic types (from GenICam)
#include <Base/GCTypes.h>
#include <Base/GCString.h>
#include <Base/GCStringVector.h>
// GenICam stuff
#if defined( PYLON_NO_AUTO_IMPLIB )
# define GENICAM_NO_AUTO_IMPLIB
# define HAS_DEFINED_GENICAM_NO_AUTO_IMPLIB
#endif
#ifdef PYLON_LINUX_BUILD
# 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
#if GCC_DIAGNOSTIC_AWARE
# if GCC_DIAGNOSTIC_PUSH_POP_AWARE
# pragma GCC diagnostic push
# endif
# pragma GCC diagnostic ignored "-Wunknown-pragmas"
# pragma GCC diagnostic ignored "-Wpragmas" // gcc < 4.6 doesn't know the following pragma
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#if defined (PYLON_OSX_BUILD)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wunused-variable"
# pragma clang diagnostic ignored "-Wunknown-pragmas"
#endif
#include <GenApi/GenApi.h>
#if defined (PYLON_OSX_BUILD)
# pragma clang diagnostic pop
#endif
#if GCC_DIAGNOSTIC_AWARE
# if GCC_DIAGNOSTIC_PUSH_POP_AWARE
# pragma GCC diagnostic pop
# else
# pragma GCC diagnostic warning "-Wunknown-pragmas"
# pragma GCC diagnostic warning "-Wunused-but-set-variable"
# pragma GCC diagnostic warning "-Wpragmas" // gcc < 4.6 doesn't know the pragma
# endif
#endif
#if defined( HAS_DEFINED_GENICAM_NO_AUTO_IMPLIB )
# undef GENICAM_NO_AUTO_IMPLIB
# undef HAS_DEFINED_GENICAM_NO_AUTO_IMPLIB
#endif
// basic macros
#include <pylon/stdinclude.h>
// init functions
#include <pylon/PylonBase.h>
#include <pylon/PylonVersionInfo.h>
#include <pylon/Info.h> // IProperties interface and CInfoBase class
#include <pylon/TlInfo.h> // CTlInfo
#include <pylon/DeviceClass.h> // DeviceClass definitions
#include <pylon/DeviceInfo.h> // CDeviceInfo
#include <pylon/Container.h> // DeviceInfoList, TlInfoList
#include <pylon/DeviceFactory.h> // IDeviceFactory
#include <pylon/TransportLayer.h> // ITransportLayer, CTransportLayerBase
#include <pylon/TlFactory.h> // TlFactory
#include <pylon/EventAdapter.h> // IEventAdapter
#include <pylon/Callback.h> // Base_Callback1Body, Callback1, Function_CallbackBody, Member_CallbackBody, make_MemberFunctionCallback
#include <pylon/Device.h> // EDeviceAccessMode, AccessModeSet, IDevice, IPylonDevice, RegisterRemovalCallback
#include <pylon/StreamGrabber.h> // IStreamGrabber
#include <pylon/PixelType.h> // EPixelType, EPixelColorFilter, several helper function for EPixelType
#include <pylon/Pixel.h> // Structs that describe the memory layout of pixel.
#include <pylon/PixelTypeMapper.h> // CPixelTypeMapper, CCameraPixelTypeMapperT template maps device specific pixel formats to pylon pixel types.
#include <pylon/Result.h> // EGrabStatus, EPayloadType, GrabResult, EventResult
#include <pylon/PylonDataComponent.h> // PylonDataComponent to access for multi-component grab results
#include <pylon/PylonDataContainer.h> // PylonDataContainer to
#include <pylon/ChunkParser.h> // IChunkParser, CChunkParser
#include <pylon/EventGrabber.h> // IEventGrabber
#include <pylon/EventGrabberProxy.h>// CEventGrabberProxy
#include <pylon/NodeMapProxy.h> // CNodeMapProxy
#include <pylon/WaitObject.h>
#include <pylon/WaitObjects.h>
#include <pylon/AcquireSingleFrameConfiguration.h> // CAcquireSingleFrameConfiguration
#include <pylon/InstantCameraArray.h> // CInstantCameraArray, includes CInstantCamera
#include <pylon/AcquireContinuousConfiguration.h> // CAcquireContinuousConfiguration
#include <pylon/SoftwareTriggerConfiguration.h> // CSoftwareTriggerConfiguration
#include <pylon/InstantInterface.h> // CInstantInterface, IInterface
#include <pylon/ParameterIncludes.h> // Parameter classes
// add the PylonUntility headers
#ifndef PYLON_NO_UTILITY_INCLUDES
# include <pylon/PylonUtilityIncludes.h>
#endif
// add the pylon libs
#if defined(PYLON_WIN_BUILD)
# ifndef PYLON_NO_AUTO_IMPLIB
# pragma comment(lib, PYLON_LIB_NAME( "PylonBase" ))
# endif
#endif
#include <GenApi/GenApiDll.h>
#endif //PYLONINCLUDES_H_INCLUDED__
Updated on 5 July 2022 at 15:30:01