PostprocessingTest_TestStaticParams.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. //-----------------------------------------------------------------------------
  2. // (c) 2004-2008 by Basler Vision Technologies
  3. // Section: Vision Components
  4. // Project: GenApi
  5. //-----------------------------------------------------------------------------
  6. /*!
  7. \file
  8. \brief XML file extracted from test code
  9. */
  10. //-----------------------------------------------------------------------------
  11. // This file is generated automatically
  12. // Do not modify!
  13. //-----------------------------------------------------------------------------
  14. #ifndef SnipperTest_PostprocessingTest_TestStatic_PARAMS_H
  15. #define SnipperTest_PostprocessingTest_TestStatic_PARAMS_H
  16. #include <GenApi/IEnumerationT.h>
  17. #include <GenApi/NodeMapRef.h>
  18. #include <GenApi/DLLLoad.h>
  19. //! The namespace containing the device's control interface and related enumeration types
  20. namespace SnipperTest_PostprocessingTest_TestStatic
  21. {
  22. //**************************************************************************************************
  23. // Enumerations
  24. //**************************************************************************************************
  25. //**************************************************************************************************
  26. // Parameter class
  27. //**************************************************************************************************
  28. //! XML file extracted from test code
  29. class CPostprocessingTest_TestStatic_Params
  30. {
  31. //----------------------------------------------------------------------------------------------------------------
  32. // Implementation
  33. //----------------------------------------------------------------------------------------------------------------
  34. protected:
  35. // If you want to show the following methods in the help file
  36. // add the string HIDE_CLASS_METHODS to the ENABLED_SECTIONS tag in the doxygen file
  37. //! \cond HIDE_CLASS_METHODS
  38. //! Constructor
  39. CPostprocessingTest_TestStatic_Params(void);
  40. //! Destructor
  41. ~CPostprocessingTest_TestStatic_Params(void);
  42. //! Initializes the references
  43. void _Initialize(GenApi::INodeMap*);
  44. //! Return the vendor of the camera
  45. const char* _GetVendorName(void);
  46. //! Returns the camera model name
  47. const char* _GetModelName(void);
  48. //! \endcond
  49. //----------------------------------------------------------------------------------------------------------------
  50. // References to features
  51. //----------------------------------------------------------------------------------------------------------------
  52. public:
  53. //! \name Root -
  54. //@{
  55. /*!
  56. \brief
  57. \b Visibility = Beginner
  58. */
  59. GenApi::IInteger &MyInt;
  60. //@}
  61. private:
  62. //! \cond HIDE_CLASS_METHODS
  63. //! not implemented copy constructor
  64. CPostprocessingTest_TestStatic_Params(CPostprocessingTest_TestStatic_Params&);
  65. //! not implemented assignment operator
  66. CPostprocessingTest_TestStatic_Params& operator=(CPostprocessingTest_TestStatic_Params&);
  67. //! \endcond
  68. };
  69. //**************************************************************************************************
  70. // Parameter class implementation
  71. //**************************************************************************************************
  72. //! \cond HIDE_CLASS_METHODS
  73. inline CPostprocessingTest_TestStatic_Params::CPostprocessingTest_TestStatic_Params(void)
  74. : MyInt( *new GenApi::CIntegerRef() )
  75. {
  76. }
  77. inline CPostprocessingTest_TestStatic_Params::~CPostprocessingTest_TestStatic_Params(void)
  78. {
  79. delete static_cast < GenApi::CIntegerRef*> (&MyInt );
  80. }
  81. inline void CPostprocessingTest_TestStatic_Params::_Initialize(GenApi::INodeMap* _Ptr)
  82. {
  83. static_cast<GenApi::CIntegerRef*> (&MyInt )->SetReference(_Ptr->GetNode("MyInt"));
  84. }
  85. inline const char* CPostprocessingTest_TestStatic_Params::_GetVendorName(void)
  86. {
  87. return "SnipperTest";
  88. }
  89. inline const char* CPostprocessingTest_TestStatic_Params::_GetModelName(void)
  90. {
  91. return "PostprocessingTest_TestStatic";
  92. }
  93. //! \endcond
  94. } // namespace SnipperTest_PostprocessingTest_TestStatic
  95. #endif // SnipperTest_PostprocessingTest_TestStatic_PARAMS_H