117 std::shared_ptr<class UserSetManagerImpl> _impl;
118 explicit UserSetManager(
const std::shared_ptr<ZmqClientImpl>& client);
119 friend class CameraImpl;
120 friend class ProfilerImpl;
Manages device user sets.
ErrorStatus selectUserSet(const std::string &userSetName) const
Selects a device user set to be associated with unsaved parameter adjustments.
ErrorStatus getAllUserSetNames(std::vector< std::string > &userSets) const
Gets the names of all available device user sets.
ErrorStatus addUserSet(const std::string &userSetName) const
Adds a user set to the device.
virtual ~UserSetManager()
Destructor.
ErrorStatus deleteUserSet(const std::string &userSetName) const
Deletes the specified device user set.
ErrorStatus loadFromFile(const std::string &fileName)
Imports device user sets from a JSON file and overwrites existing user sets on the device.
ErrorStatus saveToFile(const std::string &fileName) const
Exports all device user sets to a JSON file.
UserSet & currentUserSet() const
Returns a reference to the UserSet object.
Describes the types of errors.