138 std::unique_ptr<Private> d_ptr;
Server settings class.
Definition serversettings.h:24
bool isEmpty() const
Checks if all attributes are set to their default values (same as the default constructor)
void clear()
Clears the ServerSettings object After the call to this function, the ServerSettings object is the sa...
ServerSettings(const String &model, unsigned long interval=30000)
Construct a new Server Settings object.
const String & spaModel() const
Returns the spa model name.
bool operator!=(const ServerSettings &other) const
bool isNull() const
Returns true if the object is null (i.e. it has not been initialized, d_ptr is null)
void setSpaModel(const String &model)
Sets the publish interval.
bool operator==(const ServerSettings &other) const
ServerSettings & operator=(const ServerSettings &other)
Sets the ServerSettings object to be equal to other.
ServerSettings(ServerSettings &&other)
Move Constructor after the move, other is null, other.clear() must be called if it is to be used agai...
ServerSettings(const ServerSettings &other)
Copy Constructor.
unsigned long publishInterval() const
Returns the publish interval.
ServerSettings(const char *model, unsigned long interval=30000)
Construct a new Server Settings object.
virtual ~ServerSettings()
Destructor.
void setPublishInterval(unsigned long interval)
Sets the spa model name.
SpaIot name space.
Definition bussettings.h:15