|
Robot Raconteur Companion C++ Library
|
Go to the source code of this file.
Functions | |
| LocalIdentifierLockPtr | RobotRaconteur::Companion::Util::GetIdentifierForNameAndLock (const std::string &category, const std::string &name, boost::shared_ptr< RobotRaconteur::RobotRaconteurNode > node=boost::shared_ptr< RobotRaconteur::RobotRaconteurNode >()) |
| Get the Identifier For Name And Lock object. | |
| LocalIdentifierLockPtr RobotRaconteur::Companion::Util::GetIdentifierForNameAndLock | ( | const std::string & | category, |
| const std::string & | name, | ||
| boost::shared_ptr< RobotRaconteur::RobotRaconteurNode > | node = boost::shared_ptr< RobotRaconteur::RobotRaconteurNode >() ) |
Get the Identifier For Name And Lock object.
This function is used to get a local identifier for a name. The identifier is locked to prevent other processes from using the same identifier. The identifier is locked until the LocalIdentifierLockPtr is destroyed.
This function is used to automatically generate UUID identifiers for services from a name and persist them to the local system.
| category | The category of the identifier. Should be "device" in most cases. |
| name | The name of the identifier |
| node | The Robot Raconteur node |