YARP
Yet Another Robot Platform
broker.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
7
8using namespace yarp::manager;
9
10//unsigned int Broker::UNIQUEID = 0;
11
12Broker::Broker()
13{
14 UNIQUEID = 0;
15 eventSink = nullptr;
16 bWithWatchDog = false;
17}
18
19Broker::~Broker() = default;
20
22{
23 eventSink = pEventSink;
24}
25
26unsigned int Broker::generateID()
27{
28 return UNIQUEID++;
29}
unsigned int UNIQUEID
Definition: broker.h:67
BrokerEventSink * eventSink
Definition: broker.h:68
unsigned int generateID()
Definition: broker.cpp:26
void setEventSink(BrokerEventSink *pEventSink)
Definition: broker.cpp:21