ADD: added build and push script and added the possibility to order contacts

This commit is contained in:
Henry Winkel
2023-10-27 14:23:29 +02:00
parent 3340178c9f
commit 1cf8906470
10 changed files with 94 additions and 14 deletions

View File

@@ -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);

View File

@@ -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);