4#ifndef _Stroika_Foundation_IO_Network_LinkMonitor_h_
5#define _Stroika_Foundation_IO_Network_LinkMonitor_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
9#if qStroika_Platform_POSIX
11#elif qStroika_Platform_Windows
19#include "Stroika/Foundation/Common/Common.h"
38 using Characters::String;
119 using Callback = function<void (
const Event&)>;
139 shared_ptr<Rep_> fRep_;
149#include "LinkMonitor.inl"
#define Stroika_Define_Enum_Bounds(FIRST_ITEM, LAST_ITEM)
String is like std::u32string, except it is much easier to use, often much more space efficient,...
The callbacks an object calls when something happens - each added, and removed by the ID Add gave it ...
What a callback is told: an address added to (or removed from) an interface.
Interface::SystemIDType fInterfaceID
nonvirtual String ToString() const
nonvirtual CallbackID AddCallback(const Callback &callback)
Call callback with each change from when this returns (.
nonvirtual void RemoveCallback(CallbackID callback)
Once this returns, that callback is not running, and is not called again (.
Execution::CallbackRegistry< void(const Event &)>::ID CallbackID
Names a callback AddCallback added, for RemoveCallback.