TestOperation.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // Copyright (C) 2013 Opensim Ltd.
  3. //
  4. // This program is free software; you can redistribute it and/or
  5. // modify it under the terms of the GNU Lesser General Public License
  6. // as published by the Free Software Foundation; either version 2
  7. // of the License, or (at your option) any later version.
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU Lesser General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU Lesser General Public License
  15. // along with this program; if not, see <http://www.gnu.org/licenses/>.
  16. //
  17. // author: Levente Meszaros (levy@omnetpp.org)
  18. //
  19. #ifndef __INET_TESTOPERATION_H_
  20. #define __INET_TESTOPERATION_H_
  21. #include "inet/common/INETDefs.h"
  22. #include "inet/common/lifecycle/NodeOperations.h"
  23. namespace inet {
  24. class INET_API TestNodeStartOperation : public NodeStartOperation {
  25. public:
  26. virtual int getNumStages() const { return 4; }
  27. };
  28. class INET_API TestNodeShutdownOperation : public NodeShutdownOperation {
  29. public:
  30. virtual int getNumStages() const { return 4; }
  31. };
  32. }
  33. #endif