ADD: added build and push script and added the possibility to order contacts
This commit is contained in:
@@ -55,8 +55,15 @@ class SimControl{
|
||||
|
||||
|
||||
void startShip(std::string name);
|
||||
void updateShip(nlohmann::json request);
|
||||
void deleteShip(nlohmann::json request);
|
||||
|
||||
void startWebApp();
|
||||
|
||||
void startWebsocketServer();
|
||||
void HandleWebsocketMessages(std::shared_ptr<ix::ConnectionState> connectionState, ix::WebSocket &websocket, const ix::WebSocketMessagePtr &msg);
|
||||
void HandleBroadcastMessage(std::string msg);
|
||||
|
||||
std::unique_ptr<kubecontrol::PodController> PodController_;
|
||||
std::unique_ptr<TrackList> Tracklist_;
|
||||
|
||||
@@ -73,11 +80,8 @@ class SimControl{
|
||||
int port = 9999;
|
||||
std::string host = "0.0.0.0";
|
||||
std::shared_ptr<ix::WebSocketServer> WebsocketServer_ = nullptr;
|
||||
void startWebsocketServer();
|
||||
void HandleWebsocketMessages(std::shared_ptr<ix::ConnectionState> connectionState, ix::WebSocket &websocket, const ix::WebSocketMessagePtr &msg);
|
||||
|
||||
std::shared_ptr<WHISPER::InternalUDPListener> BroadcastListener_;
|
||||
void HandleBroadcastMessage(std::string msg);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,6 +19,10 @@ namespace SimControl
|
||||
TrackList();
|
||||
void addTrack(std::shared_ptr<SimCore::SimTrack> Track);
|
||||
std::shared_ptr<SimCore::SimTrack> getTrack(SimCore::Identifier);
|
||||
|
||||
|
||||
std::shared_ptr<SimCore::SimTrack> getTrackBySringID(std::string ID);
|
||||
|
||||
|
||||
void getJsonTRackList(nlohmann::json &message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user