23class DsClient :
public std::enable_shared_from_this<DsClient> {
24 struct private_init {};
29 return std::make_shared<DsClient>(loop, logger, private_init{});
44 void HandleIncoming(std::string_view in);
49 std::shared_ptr<wpi::uv::Tcp> m_tcp;
50 std::shared_ptr<wpi::uv::Timer> m_timer;
sig::Signal clearIp
Definition DsClient.h:40
sig::Signal< std::string_view > setIp
Definition DsClient.h:39
static std::shared_ptr< DsClient > Create(wpi::uv::Loop &loop, wpi::Logger &logger)
Definition DsClient.h:27
DsClient & operator=(const DsClient &)=delete
DsClient(wpi::uv::Loop &loop, wpi::Logger &logger, const private_init &)
DsClient(const DsClient &)=delete
SignalBase is an implementation of the observer pattern, through the use of an emitting object and sl...
Definition Signal.h:495
Event loop.
Definition Loop.h:37
Foonathan namespace.
Definition ntcore_cpp.h:26