IDeviceInfo.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. //-----------------------------------------------------------------------------
  2. // (c) 2006 by Basler Vision Technologies
  3. // Section: Vision Components
  4. // Project: GenApi
  5. // Author: Fritz Dierks
  6. // $Header$
  7. //
  8. // License: This file is published under the license of the EMVA GenICam Standard Group.
  9. // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
  10. // If for some reason you are missing this file please contact the EMVA or visit the website
  11. // (http://www.genicam.org) for a full copy.
  12. //
  13. // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
  14. // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  15. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  16. // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
  17. // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  18. // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  19. // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  20. // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  21. // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  22. // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  23. // POSSIBILITY OF SUCH DAMAGE.
  24. //-----------------------------------------------------------------------------
  25. /*!
  26. \file
  27. \brief Definition of interface INodeMap
  28. \ingroup GenApi_PublicInterface
  29. */
  30. #ifndef GENAPI_DEVICEINFO_H
  31. #define GENAPI_DEVICEINFO_H
  32. #include <Base/GCBase.h>
  33. #ifdef _MSC_VER
  34. # pragma warning ( push )
  35. # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY
  36. #endif
  37. namespace GENAPI_NAMESPACE
  38. {
  39. //*************************************************************
  40. // IDeviceInfo interface
  41. //*************************************************************
  42. /**
  43. \brief Interface to get information about the device (= nodemap)
  44. \ingroup GenApi_PublicInterface
  45. */
  46. interface GENAPI_DECL_ABSTRACT IDeviceInfo
  47. {
  48. //! Get the model name
  49. virtual GENICAM_NAMESPACE::gcstring GetModelName() = 0;
  50. //! Get the vendor name
  51. virtual GENICAM_NAMESPACE::gcstring GetVendorName() = 0;
  52. //! Get tool tip
  53. virtual GENICAM_NAMESPACE::gcstring GetToolTip() = 0;
  54. //! Get the standard name space
  55. virtual GENICAM_NAMESPACE::gcstring GetStandardNameSpace() = 0;
  56. //! Get the version of the DLL's GenApi implementation
  57. virtual void GetGenApiVersion(Version_t &Version, uint16_t &Build) = 0;
  58. //! Get the schema version number
  59. virtual void GetSchemaVersion(Version_t &Version) = 0;
  60. //! Get the version of the device description file
  61. virtual void GetDeviceVersion(Version_t &Version) = 0;
  62. //! Get the Guid describing the product
  63. virtual GENICAM_NAMESPACE::gcstring GetProductGuid() = 0;
  64. //! Get the Guid describing the product version
  65. virtual GENICAM_NAMESPACE::gcstring GetVersionGuid() = 0;
  66. };
  67. }
  68. #ifdef _MSC_VER
  69. # pragma warning ( pop )
  70. #endif
  71. #endif // ifndef GENAPI_IDEVICEINFO_H