hwsd
1.4.0
Local and remote ZeroConf service discovery for hardware resources
|
Base class for runtime-attached DSOs of a query implementation. More...
#include <module.h>
Public Member Functions | |
Module () | |
Register and construct a new module. More... | |
virtual | ~Module () |
Destruct this module. More... | |
virtual bool | announce (const std::string &session) const |
Announce the information about all found resources. More... | |
virtual T | discover () const =0 |
Public Attributes | |
Module< T > * | next_ |
Static Public Attributes | |
static HWSD_INL Module< T > * | stack_ |
Base class for runtime-attached DSOs of a query implementation.
hwsd::Module< T >::Module | ( | ) |
|
virtual |
|
virtual |
Announce the information about all found resources.
The default announcement goes to std::cout.
Reimplemented in hwsd::gpu::dns_sd::Module, and hwsd::net::dns_sd::Module.
Definition at line 60 of file module.ipp.
|
pure virtual |
Implemented in hwsd::gpu::glx::Module, hwsd::gpu::dns_sd::Module, hwsd::net::dns_sd::Module, and hwsd::net::sys::Module.