Class BaseSocket¶
- Defined in File base_socket.hpp
Inheritance Relationships¶
Derived Types¶
public CommandSocket
(Class CommandSocket)public StateSocket
(Class StateSocket)public VideoSocket
(Class VideoSocket)
Class Documentation¶
-
class
BaseSocket
¶ Abstract class inhereted by the other socket classes.
Subclassed by CommandSocket, StateSocket, VideoSocket
Public Functions
-
BaseSocket
(asio::io_service &io_service, const std::string &drone_ip, const std::string &drone_port, const std::string &local_port)¶ Constructor of base socket.
- Return
- no return
- Parameters
io_service
: io_service object used to handle all socket communicationdrone_ip
: ip address of dronedrone_port
: port number on the dronelocal_port
: port on the local machine used to communicate with the drone port mentioned above
-
virtual
~BaseSocket
()¶
-