|
Robot Raconteur Companion C++ Library
|
Device connection information for use with DeviceConnector class. More...
#include <DeviceConnector.h>
Public Member Functions | |
| DeviceConnectorDetails ()=default | |
| Construct an empty DeviceConnectorDetails. | |
| DeviceConnectorDetails (const std::string &device_nickname) | |
| Construct a new DeviceConnectorDetails with nickname. | |
| DeviceConnectorDetails (const std::string &device_nickname, const com::robotraconteur::identifier::IdentifierPtr &device, const std::vector< std::string > &root_object_type, const std::vector< com::robotraconteur::identifier::IdentifierPtr > &tags={}, const std::vector< RobotRaconteur::ServiceSubscriptionFilterNodePtr > &service_nodes={}) | |
| Construct a new DeviceConnectorDetails for use with "device" identifier. | |
| DeviceConnectorDetails (const std::string &device_nickname, const std::string &url, const RobotRaconteur::ServiceSubscriptionFilterNodePtr &url_auth=nullptr) | |
| Construct a new DeviceConnectorDetails for use with URL connection. | |
| DeviceConnectorDetails (const std::string &device_nickname, const std::vector< std::string > &root_object_type, const RobotRaconteur::ServiceSubscriptionFilterPtr &subscription_filter) | |
| Construct a new DeviceConnectorDetails for use with Robot Raconteur subscription filter. | |
Device connection information for use with DeviceConnector class.
The DeviceConnectorDetails contains information that is used by the DeviceConnector class to connect to devices. The DeviceConnector can connect to devicues using three different methods:
Different combinations of fields are valid depending on the connection method used. See the DeviceConnector documentation for more information on how to use the DeviceConnectorDetails class.
| RobotRaconteur::Companion::Util::DeviceConnectorDetails::DeviceConnectorDetails | ( | const std::string & | device_nickname | ) |
Construct a new DeviceConnectorDetails with nickname.
| device_nickname | The nickname of the device |
| RobotRaconteur::Companion::Util::DeviceConnectorDetails::DeviceConnectorDetails | ( | const std::string & | device_nickname, |
| const com::robotraconteur::identifier::IdentifierPtr & | device, | ||
| const std::vector< std::string > & | root_object_type, | ||
| const std::vector< com::robotraconteur::identifier::IdentifierPtr > & | tags = {}, | ||
| const std::vector< RobotRaconteur::ServiceSubscriptionFilterNodePtr > & | service_nodes = {} ) |
Construct a new DeviceConnectorDetails for use with "device" identifier.
| device_nickname | The nickname of the device |
| device | The identifier of the desired device |
| root_object_type | The root object type of the device. Defaults to com::robotraconteur::device::Device. In most cases it will be necessary to specify this, otherwise only the Device object will be available. |
| tags | An optional list of tags to match when connecting to the device with "AND" operation. |
| service_nodes | An optional list of service nodes to match including authentication information. |
| RobotRaconteur::Companion::Util::DeviceConnectorDetails::DeviceConnectorDetails | ( | const std::string & | device_nickname, |
| const std::string & | url, | ||
| const RobotRaconteur::ServiceSubscriptionFilterNodePtr & | url_auth = nullptr ) |
Construct a new DeviceConnectorDetails for use with URL connection.
| device_nickname | The nickname of the device |
| url | The URL to connect to |
| url_auth | Authentication information for the URL connection |
| RobotRaconteur::Companion::Util::DeviceConnectorDetails::DeviceConnectorDetails | ( | const std::string & | device_nickname, |
| const std::vector< std::string > & | root_object_type, | ||
| const RobotRaconteur::ServiceSubscriptionFilterPtr & | subscription_filter ) |
Construct a new DeviceConnectorDetails for use with Robot Raconteur subscription filter.
| device_nickname | The nickname of the device |
| root_object_type | The desired root object types |
| subscription_filter | The subscription filter |