|
| O3X (const std::string &ip=ifm3d::DEFAULT_IP, const std::uint16_t xmlrpc_port=ifm3d::DEFAULT_XMLRPC_PORT, const std::string &password=ifm3d::DEFAULT_PASSWORD) |
|
| O3X (O3X &&)=delete |
|
O3X & | operator= (O3X &&)=delete |
|
| O3X (O3X &)=delete |
|
O3X & | operator= (O3X &)=delete |
|
device_family | WhoAmI () override |
| This function can be used to retrieve the family of the connected device. More...
|
|
| LegacyDevice (const std::string &ip=ifm3d::DEFAULT_IP, const std::uint16_t xmlrpc_port=ifm3d::DEFAULT_XMLRPC_PORT, const std::string &password=ifm3d::DEFAULT_PASSWORD) |
| Initializes the device interface utilizing library defaults for password, ip, and xmlrpc port unless explicitly passed in. More...
|
|
virtual std::string | Password () |
| The password associated with this Device instance.
|
|
virtual std::string | SessionID () |
| Retrieves the active session id.
|
|
virtual void | FactoryReset () |
| Sets the device configuration back to the state in which it shipped from the ifm factory.
|
|
virtual std::string | RequestSession () |
| Requests an edit-mode session with the device. More...
|
|
virtual bool | CancelSession () |
| Explictly stops the current session with the sensor. More...
|
|
virtual bool | CancelSession (const std::string &sid) |
| Attempts to cancel a session with a particular session id. More...
|
|
virtual int | Heartbeat (int hb) |
| Heartbeat messages are used to keep a session with the sensor alive. More...
|
|
virtual std::unordered_map< std::string, std::string > | NetInfo () |
|
virtual std::unordered_map< std::string, std::string > | TimeInfo () |
|
virtual void | SetTemporaryApplicationParameters (const std::unordered_map< std::string, std::string > ¶ms) |
| Sets temporary application parameters in run mode. More...
|
|
virtual int | ActiveApplication () |
| Returns the integer index of the active application. More...
|
|
virtual json | ApplicationList () |
| Delivers basic information about all applications stored on the device. More...
|
|
virtual std::vector< std::string > | ApplicationTypes () |
| Lists the valid application types supported by the sensor. More...
|
|
virtual std::vector< std::string > | ImagerTypes () |
| Lists the valid imager types supported by the sensor. More...
|
|
virtual int | CopyApplication (int idx) |
| Creates a new application by copying the configuration of another application. More...
|
|
virtual int | CreateApplication (const std::string &type=DEFAULT_APPLICATION_TYPE) |
| Creates a new application on the device of the given type. More...
|
|
virtual void | DeleteApplication (int idx) |
| Deletes the application at the specified index from the sensor. More...
|
|
virtual void | SetCurrentTime (int epoch_secs=-1) |
| Explicitly sets the current time on the device. More...
|
|
virtual std::vector< std::uint8_t > | UnitVectors () |
| For devices that support fetching the Unit Vectors over XML-RPC, this function will return those data as a binary blob.
|
|
virtual std::vector< std::uint8_t > | ExportIFMConfig () |
| Exports the entire device configuration in a format compatible with Vision Assistant.
|
|
virtual std::vector< std::uint8_t > | ExportIFMApp (int idx) |
| Export the application at the specified index into a byte array suitable for writing to a file. More...
|
|
virtual void | ImportIFMConfig (const std::vector< std::uint8_t > &bytes, std::uint16_t flags=0x0) |
| Imports an entire device configuration from a format compatible with Vision Assistant.
|
|
virtual int | ImportIFMApp (const std::vector< std::uint8_t > &bytes) |
| Import the IFM-encoded application. More...
|
|
virtual void | SetPassword (std::string password="") |
| Sets or disable the password on the device. More...
|
|
json | ToJSON () override |
| Serializes the state of the device to JSON. More...
|
|
void | FromJSON (const json &j) override |
| Configures the device based on the parameter values of the passed in JSON. More...
|
|
void | ForceTrigger () override |
| Sends a S/W trigger to the device over XMLRPC. More...
|
|
| Device (const std::string &ip=ifm3d::DEFAULT_IP, const std::uint16_t xmlrpc_port=ifm3d::DEFAULT_XMLRPC_PORT) |
| Initializes the device interface utilizing library defaults for password, ip, and xmlrpc port unless explicitly passed in. More...
|
|
virtual | ~Device () |
| The dtor will cancel any open edit sessions with the device.
|
|
| Device (Device &&)=delete |
|
Device & | operator= (Device &&)=delete |
|
| Device (Device &)=delete |
|
Device & | operator= (Device &)=delete |
|
virtual std::string | IP () |
| The IP address associated with this Device instance.
|
|
virtual std::uint16_t | XMLRPCPort () |
| The XMLRPC Port associated with this Device instance.
|
|
virtual void | Reboot (const boot_mode &mode=ifm3d::Device::boot_mode::PRODUCTIVE) |
| Reboot the device. More...
|
|
virtual std::string | DeviceType (bool use_cached=true) |
| This is a convenience function for extracting out the device type of the connected device. More...
|
|
virtual bool | AmI (device_family family) |
| This is a convenience function for checking whether a device is one of the specified device family. More...
|
|
virtual std::string | DeviceParameter (const std::string &key) |
| Convenience accessor for extracting a device parameters (i.e., no edit session created on the device)
|
|
virtual std::vector< std::string > | TraceLogs (int count) |
| Delivers the trace log from the device A session is not required to call this function. More...
|
|
virtual std::string | ToJSONStr () |
| A stringified version of the JSON object returned by ToJSON() . More...
|
|
virtual void | FromJSONStr (const std::string &jstr) |
| Accepts a string with properly formatted/escaped JSON text, converts it to a json object, and call FromJSON() on it. More...
|
|
bool | CheckMinimumFirmwareVersion (unsigned int major, unsigned int minor, unsigned int patch) |
| Checks for a minimum ifm device software version. More...
|
|
ifm3d::SemVer | FirmwareVersion () |
| get the firmware version of the device
|
|
virtual ifm3d::Device::swu_version | SwUpdateVersion () |
| Checks the swupdater version supported by device. More...
|
|