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.

50 lines
864 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#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();
/**
* 停止仿真
* @param simId 仿真id
*/
void stop();
/***
* 暂停/继续 仿真
* @param simID
*/
void pause();
/**
* 播放速度控制
* FIXME 现阶段不实现
*/
void speed();
public slots:
void route(const QString& key, const QString& message) override;
};
#endif //CSCI_SIMULATION_CONTROLLER_H