You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
897 B

1 year ago
#ifndef CSCI_SIMULATION_CONTROLLER_H
#define CSCI_SIMULATION_CONTROLLER_H
#include "../include/controller/base_controller.h"
#include "../service/simulation_service.h"
class SimulationController : public BaseController<SimulationController> {
Q_OBJECT
public:
/**
* 仿
* @param stepTime 仿ms
*/
void setStepTime(int stepTime);
/**
* 仿
* @param mapId id
*/
void start(long mapId);
/**
* 仿
* @param simId 仿id
*/
void stop(long simId);
/***
* / 仿
* @param simID
*/
void pause(long simID);
/**
*
* FIXME
*/
void speed();
public slots:
void route(const QString& key, const QString& message) override;
};
#endif //CSCI_SIMULATION_CONTROLLER_H