mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Remaining warnings originate from boost::msm and boost::mpl. Also, warnings with missing initializer list entries for DeviceOptions are false positives, since those are PODs.
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
/********************************************************************************
|
|
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
|
|
* *
|
|
* This software is distributed under the terms of the *
|
|
* GNU Lesser General Public Licence version 3 (LGPL) version 3, *
|
|
* copied verbatim in the file "LICENSE" *
|
|
********************************************************************************/
|
|
/**
|
|
* FairMQPollerNN.h
|
|
*
|
|
* @since 2014-01-23
|
|
* @author A. Rybalchenko
|
|
*/
|
|
|
|
#ifndef FAIRMQPOLLERNN_H_
|
|
#define FAIRMQPOLLERNN_H_
|
|
|
|
#include <vector>
|
|
|
|
#include "FairMQPoller.h"
|
|
#include "FairMQSocket.h"
|
|
|
|
using namespace std;
|
|
|
|
class FairMQPollerNN : public FairMQPoller
|
|
{
|
|
public:
|
|
FairMQPollerNN(const vector<FairMQSocket*>& inputs);
|
|
|
|
virtual void Poll(int timeout);
|
|
virtual bool CheckInput(int index);
|
|
virtual bool CheckOutput(int index);
|
|
|
|
virtual ~FairMQPollerNN();
|
|
|
|
private:
|
|
nn_pollfd* items;
|
|
int fNumItems;
|
|
|
|
/// Copy Constructor
|
|
FairMQPollerNN(const FairMQPollerNN&);
|
|
FairMQPollerNN operator=(const FairMQPollerNN&);
|
|
};
|
|
|
|
#endif /* FAIRMQPOLLERNN_H_ */ |