YARP
Yet Another Robot Platform
Name.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_OS_NAME_H
11 #define YARP_OS_NAME_H
12 
13 #include <yarp/os/Contact.h>
14 
15 namespace yarp {
16 namespace os {
17 
22 {
23 public:
29  Name(const std::string& txt);
30 
37  bool isRooted() const;
38 
46  Contact toAddress() const;
47 
48  std::string getCarrierModifier(const char* mod, bool* hasModifier = nullptr);
49 
50 private:
52 };
53 
54 } // namespace os
55 } // namespace yarp
56 
57 #endif // YARP_OS_NAME_H
YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.
Definition: system.h:339
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::Name
Simple abstraction for a YARP port name.
Definition: Name.h:22
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::os::Contact
Represents how to reach a part of a YARP network.
Definition: Contact.h:39
Contact.h