mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-12 16:21:13 +00:00
35 lines
1.1 KiB
C++
35 lines
1.1 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" *
|
|
********************************************************************************/
|
|
|
|
#ifndef FAIRMQREGIONZMQ_H_
|
|
#define FAIRMQREGIONZMQ_H_
|
|
|
|
#include "FairMQRegion.h"
|
|
|
|
#include <cstddef> // size_t
|
|
|
|
class FairMQRegionZMQ : public FairMQRegion
|
|
{
|
|
friend class FairMQSocketSHM;
|
|
|
|
public:
|
|
FairMQRegionZMQ(const size_t size);
|
|
FairMQRegionZMQ(const FairMQRegionZMQ&) = delete;
|
|
FairMQRegionZMQ operator=(const FairMQRegionZMQ&) = delete;
|
|
|
|
virtual void* GetData() const override;
|
|
virtual size_t GetSize() const override;
|
|
|
|
virtual ~FairMQRegionZMQ();
|
|
|
|
private:
|
|
void* fBuffer;
|
|
size_t fSize;
|
|
};
|
|
|
|
#endif /* FAIRMQREGIONZMQ_H_ */ |