BaslerUniversalGrabResultData.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //-----------------------------------------------------------------------------
  2. // Basler pylon SDK
  3. // Copyright (c) 2010-2021 Basler AG
  4. // http://www.baslerweb.com
  5. // Author: Andreas Gau
  6. //-----------------------------------------------------------------------------
  7. /*!
  8. \file
  9. \brief pylon universal grab result data class.
  10. */
  11. #ifndef INCLUDED_BASLERUNIVERSALGRABRESULTDATA_H
  12. #define INCLUDED_BASLERUNIVERSALGRABRESULTDATA_H
  13. #pragma once
  14. #include <pylon/_BaslerUniversalChunkDataParams.h>
  15. #include <pylon/GrabResultData.h>
  16. namespace Pylon
  17. {
  18. /** \addtogroup Pylon_InstantCameraApiUniversal
  19. * @{
  20. */
  21. /// The Universal grab result data.
  22. class CBaslerUniversalGrabResultData : public CGrabResultData, public Basler_UniversalChunkDataParams::CUniversalChunkDataParams_Params
  23. {
  24. protected:
  25. // Internal use only. The grab result data class should only be created by the instant camera class.
  26. friend class CBaslerUniversalInstantCamera;
  27. CBaslerUniversalGrabResultData()
  28. {
  29. }
  30. // Internal use only.
  31. virtual void Destroy()
  32. {
  33. delete this;
  34. }
  35. // Internal use only.
  36. virtual void Initialize()
  37. {
  38. _Initialize( &GetChunkDataNodeMap() );
  39. }
  40. };
  41. /**
  42. * @}
  43. */
  44. } // namespace Pylon
  45. #endif /* INCLUDED_BASLERUNIVERSALGRABRESULTDATA_H */