IDestroy.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //-----------------------------------------------------------------------------
  2. // (c) 2004 by Basler Vision Technologies
  3. // Section: Vision Components
  4. // Project: GenApi
  5. // Author: Fritz Dierks
  6. // $Header$
  7. //-----------------------------------------------------------------------------
  8. /*!
  9. \file IDestroy.h
  10. \brief Definition of interface IDestroy
  11. */
  12. #ifndef GENAPI_IDESTROY_H
  13. #define GENAPI_IDESTROY_H
  14. #include <GenApi/GenApiDll.h>
  15. #ifdef _MSC_VER
  16. # pragma warning ( push )
  17. # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY
  18. #endif
  19. namespace GENAPI_NAMESPACE
  20. {
  21. //*************************************************************
  22. // IDestroy interface
  23. //*************************************************************
  24. /**
  25. * \ingroup internal_itf
  26. * \brief Interface to destroy an object
  27. */
  28. interface GENAPI_DECL_ABSTRACT IDestroy
  29. {
  30. //! Makes the object to destro itself
  31. virtual void Destroy() = 0;
  32. };
  33. }
  34. #ifdef _MSC_VER
  35. # pragma warning ( pop )
  36. #endif
  37. #endif // GENAPI_IDESTROY_H