PylonCDefines.h 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*-----------------------------------------------------------------------------
  2. Basler pylon C SDK
  3. Copyright (c) 2012-2021 Basler AG
  4. http://www.baslerweb.com
  5. ------------------------------------------------------------------------------*/
  6. #ifndef PylonCDefines_h__
  7. #define PylonCDefines_h__
  8. /**
  9. \file
  10. \brief pylon C bindings - macro definitions.
  11. */
  12. #include <genapic/GenApiCDefines.h>
  13. #ifdef GENAPIC_WIN_BUILD
  14. # ifdef PYLONC_EXPORTS
  15. # define PYLONC_API __declspec(dllexport)
  16. # else
  17. # define PYLONC_API __declspec(dllimport)
  18. # endif
  19. # define PYLONC_CC _stdcall
  20. # define PYLONC_PACKING 8
  21. #elif defined GENAPIC_LINUX_BUILD
  22. # ifdef PYLONC_EXPORTS
  23. # define PYLONC_API __attribute__((visibility("default")))
  24. # else
  25. # define PYLONC_API
  26. # endif
  27. # define PYLONC_CC
  28. # define PYLONC_PACKING 8
  29. #else
  30. # error Unsupported platform
  31. #endif
  32. #define PYLON_DEVINFO_FULL_NAME_KEY "FullName" //!< The full name identifying the device.
  33. #define PYLON_DEVINFO_FRIENDLY_NAME_KEY "FriendlyName" //!< The human readable name of the device.
  34. #define PYLON_DEVINFO_VENDOR_NAME_KEY "VendorName" //!< The vendor name of the device.
  35. #define PYLON_DEVINFO_DEVICE_CLASS_KEY "DeviceClass" //!< The device class device, e.g. Basler1394.
  36. #define PYLON_DEVINFO_SERIAL_NUMBER_KEY "SerialNumber" //!< The serial number if it supported by the underlying implementation
  37. #define PYLON_DEVINFO_USER_DEFINED_NAME_KEY "UserDefinedName" //!< The user-defined name if present.
  38. #define PYLON_DEVINFO_MODEL_NAME_KEY "ModelName" //!< The model name of the device.
  39. #define PYLON_DEVINFO_DEVICE_FACTORY_KEY "DeviceFactory" //!< The identifier for the transport layer able to create this device.
  40. #define PYLON_DEVINFO_DEVICE_VERSION_KEY "DeviceVersion" //!< The version string of the device.
  41. #define PYLON_DEVINFO_TL_TYPE_KEY "TLType" //!< The transport layer type of the device.
  42. #define PYLON_DEVINFO_INTERFACE_ID_KEY "InterfaceID" //!< The ID of the interface that the device is connected to.
  43. #define PYLON_DEVINFO_DEVICE_ID_KEY "DeviceID" //!< The device ID (e.g., used by Camera Link and GenTL Consumer).
  44. #define PYLON_DEVINFO_ADDRESS_KEY "Address" //!< GigE Device: The IP address of the device IP address in a human-readable representation including the port number.
  45. #define PYLON_DEVINFO_IP_ADDRESS_KEY "IpAddress" //!< GigE Device: The IP address of the device IP address in a human-readable representation.
  46. #define PYLON_DEVINFO_DEFAULT_GATEWAY_KEY "DefaultGateway" //!< GigE Device: The default gateway of the device IP address in a human-readable representation.
  47. #define PYLON_DEVINFO_SUBNET_MASK_KEY "SubnetMask" //!< GigE Device: The subnet mask of the device IP address in a human-readable representation.
  48. #define PYLON_DEVINFO_PORT_NR_KEY "PortNr" //!< GigE Device: The port number used.
  49. #define PYLON_DEVINFO_MAC_ADDRESS_KEY "MacAddress" //!< GigE Device: The MAC address of the device of the device IP address in a human-readable representation.
  50. #define PYLON_DEVINFO_INTERFACE_KEY "Interface" //!< GigE Device: The address of the network interface the device is connected to.
  51. #define PYLON_DEVINFO_IP_CONFIG_OPTIONS_KEY "IpConfigOptions" //!< GigE Device: The persistent IP configuration options.
  52. #define PYLON_DEVINFO_IP_CONFIG_CURRENT_KEY "IpConfigCurrent" //!< GigE Device: The current IP configuration of the device.
  53. #define PYLON_DEVINFO_SUBNET_ADDRESS_KEY "SubnetAddress" //!< GigE Device: The IP address of the subnet the device belongs to.
  54. #define PYLON_DEVINFO_PORT_ID_KEY "PortID" //!< Camera Link Device: The ID of the serial port the device is connected to.
  55. #define PYLON_DEVINFO_INITIAL_BAUD_RATE_KEY "InitialBaudRate" //!< Camera Link Device: The initial baud rate of the serial port the device is connected to.
  56. #define PYLON_DEVINFO_DEVICE_GUID_KEY "DeviceGUID" //!< USB Device: The device GUID.
  57. #define PYLON_DEVINFO_MANUFACTURER_INFO_KEY "ManufacturerInfo"//!< USB Device: The manufacturer info.
  58. #define PYLON_IMAGE_WINDOW_USEDEFAULT 0x80000000
  59. #endif /* PylonCDefines_h__ */