|
fswatch
1.11.2
|
Helper class to register monitor factories. More...
#include <monitor.hpp>
Public Member Functions | |
| monitor_registrant (const std::string &name, const fsw_monitor_type &type) | |
Constructs a monitor registrant for the specified type. More... | |
Helper class to register monitor factories.
The constructor of this class perform the registration of the given (name, type) pair in the monitor_factory registry. This class is used by the REGISTER_MONITOR and REGISTER_MONITOR_IMPL macros.
|
inline |
Constructs a monitor registrant for the specified type.
| name | The name of the type whose factory is being registered. |
| type | The type whose factory is being registered. |
1.8.13