YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
NameServerContainer.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_NAMESERVERCONTAINER_H
8#define YARP_SERVERSQL_IMPL_NAMESERVERCONTAINER_H
9
10#include <yarp/os/Contact.h>
11#include <yarp/os/NameSpace.h>
12#include <yarp/os/Searchable.h>
13
20
21namespace yarp::serversql::impl {
22
24{
25private:
26 yarp::os::Contact contact;
28 SubscriberOnSql subscriber;
29 AllocatorConfig config;
32 StyleNameService style;
34 yarp::os::NameSpace *space{nullptr};
35public:
37
38 ~NameServerContainer() override;
39
40 const yarp::os::Contact& where();
42 void preregister(const yarp::os::Contact& c);
43 bool open(yarp::os::Searchable& options);
44};
45
46} // namespace yarp::serversql::impl
47
48
49#endif // YARP_SERVERSQL_IMPL_NAMESERVERCONTAINER_H
Represents how to reach a part of a YARP network.
Definition Contact.h:33
An abstract name space for ports.
Definition NameSpace.h:22
A base class for nested structures that can be searched.
Definition Searchable.h:31
Upper and lower bounds on port numbers etc for allocation.
Definition Allocator.h:19
Allocates network resources, and tracks them using a TripleSource.
Compose two name services into one.
void open(NameService &ns1, NameService &ns2)
bool open(yarp::os::Searchable &options)
void preregister(const yarp::os::Contact &c)
An implementation of name service operators on a triple store.
Interface for maintaining persistent connections using SQL.
Open and close a database, viewed as a collection of triples.