| 1 | #include "engine_module.hpp" |
| 2 | #include "common.hpp" |
| 3 | template <typename T> engine_module<T>::engine_module(int pid) { |
| 4 | |
| 5 | // initialize module |
| 6 | this->scanner_ptr = new ACE_scanner<T>(pid); |
| 7 | this->freezer_ptr = new freezer<T>(pid); |
| 8 | this->process_rw = new proc_rw<T>(pid); |
| 9 | // TODO: add constructor for cheat_mode_config |
| 10 | // that accepts pid |
| 11 | this->_cheat_mode_config.pid = pid; |
| 12 | } |
| 13 | |
| 14 | template <typename T> engine_module<T>::~engine_module() { |
| 15 |
nothing calls this directly
no outgoing calls
no test coverage detected