GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
ConfigurationInterface Class Referenceabstract

This abstract class represents an interface to configuration parameters. More...

#include <configuration_interface.h>

Inheritance diagram for ConfigurationInterface:
FileConfiguration InMemoryConfiguration

Public Member Functions

virtual std::string property (std::string property_name, std::string default_value) const =0
virtual bool property (std::string property_name, bool default_value) const =0
virtual int64_t property (std::string property_name, int64_t default_value) const =0
virtual uint64_t property (std::string property_name, uint64_t default_value) const =0
virtual int32_t property (std::string property_name, int32_t default_value) const =0
virtual uint32_t property (std::string property_name, uint32_t default_value) const =0
virtual int16_t property (std::string property_name, int16_t default_value) const =0
virtual uint16_t property (std::string property_name, uint16_t default_value) const =0
virtual float property (std::string property_name, float default_value) const =0
virtual double property (std::string property_name, double default_value) const =0
virtual void set_property (std::string property_name, std::string value)=0
virtual bool is_present (const std::string &property_name) const =0

Detailed Description

This abstract class represents an interface to configuration parameters.

The interface defines an accessor method that gets a parameter name as input and returns the value of this parameter, a string, as output. Property names are defined here. This is an abstract class for interfaces. Since all its methods are virtual, this class cannot be instantiated directly, and a subclass can only be instantiated directly if all inherited pure virtual methods have been implemented by that class or a parent class.

Definition at line 44 of file configuration_interface.h.


The documentation for this class was generated from the following file: