rxn_class_cleanup_event.h 879 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2020 by
  4. * The Salk Institute for Biological Studies
  5. *
  6. * Use of this source code is governed by an MIT-style
  7. * license that can be found in the LICENSE file or at
  8. * https://opensource.org/licenses/MIT.
  9. *
  10. ******************************************************************************/
  11. #ifndef SRC4_RXN_CLASS_CLEANUP_EVENT_H_
  12. #define SRC4_RXN_CLASS_CLEANUP_EVENT_H_
  13. #include "base_event.h"
  14. namespace MCell {
  15. class World;
  16. class RxnClassCleanupEvent: public BaseEvent {
  17. public:
  18. RxnClassCleanupEvent(World* world_)
  19. : BaseEvent(EVENT_TYPE_INDEX_RXN_CLASS_CLEANUP),
  20. world(world_) {
  21. }
  22. void step() override;
  23. void dump(const std::string indent) const override;
  24. private:
  25. World* world;
  26. };
  27. } /* namespace MCell */
  28. #endif /* SRC4_RXN_CLASS_CLEANUP_EVENT_H_ */