![]() |
SparkFun Iridium 9604
v1.0.0
Library for the Iridium 9604 Hybrid LTE-M Cellular + Iridium Satellite (SBD) + GNSS IoT module
|
The registry of URC handler classes - mirrors the GNSS v4 message registries. More...
#include <urcHandler.h>
Public Types | |
| typedef urcHandler *(* | urcHandlerFactoryFn) (void) |
| The factory function type. More... | |
Public Member Functions | |
| void | registerHandler (urcHandlerFactoryFn factory) |
| Register one URC handler class's factory function, if not already registered. More... | |
| void | buildAll (std::vector< urcHandler * > &handlers) const |
| Construct one instance of every currently-registered URC handler class. More... | |
Static Public Member Functions | |
| static urcHandlerRegistry & | get (void) |
| Get the single, lazily-constructed urcHandlerRegistry instance. More... | |
The registry of URC handler classes - mirrors the GNSS v4 message registries.
| typedef urcHandler *(* SparkFun_Iridium_9604::urcHandlerRegistry::urcHandlerFactoryFn) (void) |
The factory function type.
|
inline |
Construct one instance of every currently-registered URC handler class.
|
inlinestatic |
Get the single, lazily-constructed urcHandlerRegistry instance.
|
inline |
Register one URC handler class's factory function, if not already registered.
Called by each urcHandlerBuilder<HandlerType> at static-initialization time. De-duplicates by function-pointer value: every translation unit which includes a handler header declares its own static builder, but they all share the same (template) factory function.