IDestroy.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #pragma warning ( push )
  16. #pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY
  17. namespace GENAPI_NAMESPACE
  18. {
  19. //*************************************************************
  20. // IDestroy interface
  21. //*************************************************************
  22. /**
  23. * \ingroup internal_itf
  24. * \brief Interface to destroy an object
  25. */
  26. interface GENAPI_DECL_ABSTRACT IDestroy
  27. {
  28. //! Makes the object to destro itself
  29. virtual void Destroy() = 0;
  30. };
  31. }
  32. #pragma warning ( pop )
  33. #endif // GENAPI_IDESTROY_H