YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ContactStyle.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_CONTACTSTYLE_H
8#define YARP_OS_CONTACTSTYLE_H
9
10#include <yarp/os/api.h>
11
12#include <string>
13
14namespace yarp::os {
15
23{
24public:
30 bool admin;
31
35 bool quiet;
36
41
46 double timeout;
47
53
58
63
69 {
70 OPENENDED = 0,
71 END_WITH_FROM_PORT = 1,
72 END_WITH_TO_PORT = 2,
73 NO_PERSISTENCE = 3
74 };
75
81
85 explicit ContactStyle();
86};
87
88} // namespace yarp::os
89
90#endif // YARP_OS_CONTACTSTYLE_H
Preferences for how to communicate with a contact.
double timeout
Set a timeout for communication (in units of seconds, fractional seconds allowed).
PersistenceType persistenceType
Specify kind of persistence to use.
bool quiet
Suppress all outputs and warnings.
std::string carrier
Request that communication be made using a particular carrier.
bool verboseOnSuccess
Allow output on success.
bool expectReply
Specify whether you expect a reply to a message.
bool admin
Ask recipient to treat message as administrative.
PersistenceType
Persistence types, controlling the lifetime of a persistent connection.
bool persistent
Specify whether a requested connection should be persistent.
An interface to the operating system, including Port based communication.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.
Definition system.h:338
#define YARP_os_API
Definition api.h:18