HW-SD
1.0.0
|
Base class for runtime-attached DSOs of a query implementation. More...
#include <module.h>
Public Member Functions | |
Module () | |
Register and construct a new module. | |
virtual | ~Module () |
Destruct this module. | |
virtual bool | announce (const std::string &session) const |
Announce the information about all found resources. | |
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.