sil-kit
sil-kit copied to clipboard
Participant parameters
Get the actual values of SIL Kit parameters that are set by public API and possibly overwritten by the participant configuration.
Instead of a seperate interface per parameter, a enum is handed in specifying which parameter should be obtained:
auto GetParameter(SilKit::Parameter parameter) -> const std::string& override;
Currently, the participantName and registryURI are available:#
enum class Parameter : SilKit_Parameter
{
//! An undefined parameter
Undefined = SilKit_Parameter_Undefined,
//! The name of the participant
ParticipantName = SilKit_Parameter_ParticipantName,
//! The registry URI
RegistryUri = SilKit_Parameter_ReistryUri,
};
Any more parameters?
How to deal with non-string parameters?