|
Mech-Eye API 2.3.1
API reference documentation for Mech-Eye Industrial 3D Camera
|
Manages device user sets. More...
#include <UserSetManager.h>
Public Member Functions | |
| virtual | ~UserSetManager () |
| Destructor. | |
| UserSet & | currentUserSet () const |
| Returns a reference to the UserSet object. | |
| ErrorStatus | getAllUserSetNames (std::vector< std::string > &userSets) const |
| Gets the names of all available device user sets. | |
| ErrorStatus | selectUserSet (const std::string &userSetName) const |
| Selects a device user set to associate with all parameter adjustments. | |
| ErrorStatus | addUserSet (const std::string &userSetName) const |
| Adds a device user set to the device. | |
| ErrorStatus | deleteUserSet (const std::string &userSetName) const |
| Deletes the selected device user set. | |
| ErrorStatus | saveToFile (const std::string &fileName) const |
| Exports all device user sets to a JSON file. | |
| ErrorStatus | loadFromFile (const std::string &fileName) |
| Imports device user sets from a JSON file and overwrites existing device user sets on the device. | |
Friends | |
| class | CameraImpl |
| class | ProfilerImpl |
Manages device user sets.
Definition at line 14 of file UserSetManager.h.
| ErrorStatus mmind::eye::UserSetManager::addUserSet | ( | const std::string & | userSetName | ) | const |
Adds a device user set to the device.
| [in] | userSetName | The input user set name to add. |
| UserSet & mmind::eye::UserSetManager::currentUserSet | ( | ) | const |
| ErrorStatus mmind::eye::UserSetManager::deleteUserSet | ( | const std::string & | userSetName | ) | const |
Deletes the selected device user set.
| [in] | userSetName | The input user set name to delete. |
| ErrorStatus mmind::eye::UserSetManager::getAllUserSetNames | ( | std::vector< std::string > & | userSets | ) | const |
Gets the names of all available device user sets.
| [out] | userSets | The array of all user set names. |
| ErrorStatus mmind::eye::UserSetManager::loadFromFile | ( | const std::string & | fileName | ) |
Imports device user sets from a JSON file and overwrites existing device user sets on the device.
| [in] | fileName | The input file name. |
| ErrorStatus mmind::eye::UserSetManager::saveToFile | ( | const std::string & | fileName | ) | const |
Exports all device user sets to a JSON file.
| [in] | fileName | The input file name. |
| ErrorStatus mmind::eye::UserSetManager::selectUserSet | ( | const std::string & | userSetName | ) | const |
Selects a device user set to associate with all parameter adjustments.
| [in] | userSetName | The input user set name to select. |
|
friend |
Definition at line 119 of file UserSetManager.h.
|
friend |
Definition at line 120 of file UserSetManager.h.