ctkAbstractObjectFactoryTest1.cpp 860 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*=========================================================================
  2. Library: CTK
  3. Copyright (c) Kitware Inc.
  4. All rights reserved.
  5. Distributed under a BSD License. See LICENSE.txt file.
  6. This software is distributed "AS IS" WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the above copyright notice for more information.
  9. =========================================================================*/
  10. // CTK includes
  11. #include "ctkAbstractObjectFactory.h"
  12. // QT includes
  13. #include <QApplication>
  14. // STD includes
  15. #include <cstdlib>
  16. #include <iostream>
  17. class BaseClassHelper
  18. {
  19. public:
  20. };
  21. int ctkAbstractObjectFactoryTest1(int argc, char * argv [] )
  22. {
  23. QApplication app(argc, argv);
  24. ctkAbstractObjectFactory< BaseClassHelper > ctkObject;
  25. return EXIT_SUCCESS;
  26. }