YARP
Yet Another Robot Platform
Name.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef YARP_OS_NAME_H
8 #define YARP_OS_NAME_H
9 
10 #include <yarp/os/Contact.h>
11 
12 namespace yarp {
13 namespace os {
14 
19 {
20 public:
26  Name(const std::string& txt);
27 
34  bool isRooted() const;
35 
43  Contact toAddress() const;
44 
45  std::string getCarrierModifier(const char* mod, bool* hasModifier = nullptr);
46 
47 private:
49 };
50 
51 } // namespace os
52 } // namespace yarp
53 
54 #endif // YARP_OS_NAME_H
Represents how to reach a part of a YARP network.
Definition: Contact.h:36
Simple abstraction for a YARP port name.
Definition: Name.h:19
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.
Definition: system.h:336
#define YARP_os_API
Definition: api.h:18