Robot Raconteur Companion C++ Library
Loading...
Searching...
No Matches
AttributesUtil.h
Go to the documentation of this file.
1
23
24#include "IdentifierUtil.h"
25#include "UtilMacros.h"
26
27#include "com__robotraconteur__device.h"
28
29#pragma once
30
31namespace RobotRaconteur
32{
33namespace Companion
34{
35namespace Util
36{
37namespace detail
38{
39ROBOTRACONTEUR_COMPANION_UTIL_API bool TryAddIdentifier(std::map<std::string, RobotRaconteur::RRValuePtr>& o,
40 const std::string& name,
41 const com::robotraconteur::identifier::IdentifierPtr& id);
42
43ROBOTRACONTEUR_COMPANION_UTIL_API bool TryAddString(std::map<std::string, RobotRaconteur::RRValuePtr>& o,
44 const std::string& name, const std::string& str);
45} // namespace detail
46
66ROBOTRACONTEUR_COMPANION_UTIL_API std::map<std::string, RobotRaconteur::RRValuePtr>
67GetDefaultServiceAttributesFromDeviceInfo(const com::robotraconteur::device::DeviceInfoPtr& info);
68
69} // namespace Util
70} // namespace Companion
71} // namespace RobotRaconteur
std::map< std::string, RobotRaconteur::RRValuePtr > GetDefaultServiceAttributesFromDeviceInfo(const com::robotraconteur::device::DeviceInfoPtr &info)
Get the Default Service Attributes From Device Info object.