YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
ConnectThread.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_SERVERSQL_IMPL_CONNECTTHREAD_H
8
#define YARP_SERVERSQL_IMPL_CONNECTTHREAD_H
9
10
#include <
yarp/os/Thread.h
>
11
12
#include <mutex>
13
#include <string>
14
15
namespace
yarp::serversql::impl
{
16
17
class
ConnectThread
:
public
yarp::os::Thread
18
{
19
public
:
20
bool
needed
{
true
};
21
bool
positive
{
true
};
22
int
ct
{0};
23
std::mutex&
mutex
;
24
25
std::string
src
;
26
std::string
dest
;
27
28
ConnectThread
(std::mutex&
mutex
);
29
30
void
run
()
override
;
31
};
32
33
}
// namespace yarp::serversql::impl
34
35
36
#endif
// YARP_SERVERSQL_IMPL_CONNECTTHREAD_H
Thread.h
yarp::os::Thread
An abstraction for a thread of execution.
Definition
Thread.h:21
yarp::serversql::impl::ConnectThread
Definition
ConnectThread.h:18
yarp::serversql::impl::ConnectThread::positive
bool positive
Definition
ConnectThread.h:21
yarp::serversql::impl::ConnectThread::ct
int ct
Definition
ConnectThread.h:22
yarp::serversql::impl::ConnectThread::src
std::string src
Definition
ConnectThread.h:25
yarp::serversql::impl::ConnectThread::mutex
std::mutex & mutex
Definition
ConnectThread.h:23
yarp::serversql::impl::ConnectThread::run
void run() override
Main body of the new thread.
Definition
ConnectThread.cpp:23
yarp::serversql::impl::ConnectThread::needed
bool needed
Definition
ConnectThread.h:20
yarp::serversql::impl::ConnectThread::dest
std::string dest
Definition
ConnectThread.h:26
yarp::serversql::impl
Definition
Allocator.h:13
YARP
3.11.100+20250401.4+gitb9213d601
src
libYARP_serversql
src
yarp
serversql
impl
ConnectThread.h
Generated on Fri May 9 2025 02:40:49 for YARP by
1.9.8