Commit 46b4c65d authored by Valentin Platzgummer's avatar Valentin Platzgummer

RosBridgeClient imporved

parent 25095ced
......@@ -44,26 +44,18 @@ class RosbridgeWsClient
ServiceTopicName = 1,
ClientName = 2,
WPClient = 3
};
struct Task;
};
const std::string server_port_path;
std::unordered_map<std::string /*client name*/,
std::shared_ptr<WsClient> /*client*/> client_map;
std::deque<EntryData> service_topic_list;
std::mutex mutex;
std::shared_ptr<std::atomic_bool> hasConnection;
std::shared_ptr<std::atomic_bool> isConnected;
std::shared_ptr<std::atomic_bool> stopped;
std::shared_ptr<std::thread> pPoll_thread;
std::string available_topics;
std::string available_services;
std::shared_ptr<std::thread> pWorker_thread;
std::list<std::shared_ptr<Task>> to_do_list;
std::mutex task_mutex;
std::shared_ptr<std::thread> periodic_thread;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment