YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
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:64
BrokerEventSink * eventSink
Definition broker.h:65
unsigned int generateID()
Definition broker.cpp:26
void setEventSink(BrokerEventSink *pEventSink)
Definition broker.cpp:21