Robot Raconteur Companion C++ Library
Toggle main menu visibility
Loading...
Searching...
No Matches
include
RobotRaconteurCompanion
Util
LocalIdentifiersManager.h
Go to the documentation of this file.
1
23
24
#include "com__robotraconteur__identifier.h"
25
26
#include <RobotRaconteurCompanion/Util/UtilMacros.h>
27
28
#pragma once
29
30
namespace
RobotRaconteur
31
{
32
namespace
Companion
33
{
34
namespace
Util
35
{
36
class
ROBOTRACONTEUR_COMPANION_UTIL_API LocalIdentifierLock
37
{
38
public
:
39
LocalIdentifierLock(
const
com::robotraconteur::identifier::IdentifierPtr&
id
,
40
boost::shared_ptr<RobotRaconteur::NodeDirectoriesFD> fd);
41
42
com::robotraconteur::identifier::IdentifierPtr GetIdentifier();
43
44
protected
:
45
com::robotraconteur::identifier::IdentifierPtr id;
46
boost::shared_ptr<RobotRaconteur::NodeDirectoriesFD> fd;
47
};
48
49
using
LocalIdentifierLockPtr = boost::shared_ptr<LocalIdentifierLock>;
50
67
ROBOTRACONTEUR_COMPANION_UTIL_API LocalIdentifierLockPtr
68
GetIdentifierForNameAndLock
(
const
std::string& category,
const
std::string& name,
69
boost::shared_ptr<RobotRaconteur::RobotRaconteurNode> node =
70
boost::shared_ptr<RobotRaconteur::RobotRaconteurNode>());
71
72
}
// namespace Util
73
}
// namespace Companion
74
}
// namespace RobotRaconteur
RobotRaconteur::Companion::Util::GetIdentifierForNameAndLock
LocalIdentifierLockPtr 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.
Generated by
1.17.0