|
openDAQ
Open data acquisition platform
|
Module authenticator interface. More...
Inherits ObjectPtr< IModuleAuthenticator >.
Module authenticator interface.
Public Member Functions | |
| daq::StringPtr | authenticateModuleBinary (daq::Bool &binaryValid, const daq::StringPtr &binaryPath) const |
| Verify the module binary with a certificate file. More... | |
| void | setLogger (const daq::LoggerPtr &logger) const |
| API call to add allow the openDAQ instance to add it's logger after during construction. More... | |
|
inline |
Verify the module binary with a certificate file.
| binaryPath | Absolute path to the binary. | |
| [out] | binaryValid | The binarys checksum matches and it's considered valid. |
|
inline |
API call to add allow the openDAQ instance to add it's logger after during construction.
Because the IModuleAuthenticator is constructed before the openDAQ IInstance and passed to the instance builder, the logger needs to be added seperately. To allow for this, the call needs to be added to the API, as the instance doesn't know the type of ModuleAuthenticatorImpl it's using.
| logger | The instance's logger. |