ROOT
Version v6.34
master
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
▼
roofit
►
batchcompute
►
doc
►
histfactory
►
hs3
►
jsoninterface
►
multiprocess
►
roofit
►
roofitcore
►
roofitmore
▼
roofitZMQ
►
res
▼
src
►
functions.cpp
►
ppoll.cpp
ZeroMQPoller.cpp
►
ZeroMQSvc.cpp
►
roostats
►
xroofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-34-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
ppoll.cpp
Go to the documentation of this file.
1
/*
2
* Project: RooFit
3
* Authors:
4
* PB, Patrick Bos, Netherlands eScience Center, p.bos@esciencecenter.nl
5
*
6
* Copyright (c) 2021, CERN
7
*
8
* Redistribution and use in source and binary forms,
9
* with or without modification, are permitted according to the terms
10
* listed in LICENSE (http://roofit.sourceforge.net/license.txt)
11
*/
12
13
#include "
RooFit_ZMQ/ppoll.h
"
14
15
namespace
ZMQ
{
16
17
/// Wrapper around zmq_ppoll
18
/// This function can throw, so wrap in try-catch!
19
int
ppoll
(
zmq_pollitem_t
*
items_
,
size_t
nitems_
,
long
timeout_
,
const
sigset_t *
sigmask_
)
20
{
21
int
rc
=
zmq_ppoll
(
items_
,
static_cast<
int
>
(
nitems_
),
timeout_
,
sigmask_
);
22
if
(
rc
< 0)
23
throw
ppoll_error_t
();
24
return
rc
;
25
}
26
27
/// Wrapper around zmq_ppoll
28
/// This function can throw, so wrap in try-catch!
29
int
ppoll
(std::vector<zmq_pollitem_t> &
items
,
long
timeout_
,
const
sigset_t *
sigmask_
)
30
{
31
return
ppoll
(
items
.data(),
items
.size(),
timeout_
,
sigmask_
);
32
}
33
34
}
// namespace ZMQ
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
ZMQ::ppoll_error_t
Definition
ppoll.h:23
ZMQ
Definition
functions.h:19
ZMQ::ppoll
int ppoll(zmq_pollitem_t *items_, size_t nitems_, long timeout_, const sigset_t *sigmask_)
Wrapper around zmq_ppoll This function can throw, so wrap in try-catch!
Definition
ppoll.cpp:19
ppoll.h
roofit
roofitZMQ
src
ppoll.cpp
ROOT tags/6-34-04 - Reference Guide Generated on Thu Mar 27 2025 04:47:27 (GVA Time) using Doxygen 1.10.0