mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
First version of the shared memory transport.
Use via `--transport shmem` cmd option. No pub/sub.
This commit is contained in:
27
fairmq/shmem/FairMQContextSHM.h
Normal file
27
fairmq/shmem/FairMQContextSHM.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/********************************************************************************
|
||||
* 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 FAIRMQCONTEXTSHM_H_
|
||||
#define FAIRMQCONTEXTSHM_H_
|
||||
|
||||
class FairMQContextSHM
|
||||
{
|
||||
public:
|
||||
/// Constructor
|
||||
FairMQContextSHM(int numIoThreads);
|
||||
FairMQContextSHM(const FairMQContextSHM&) = delete;
|
||||
FairMQContextSHM operator=(const FairMQContextSHM&) = delete;
|
||||
|
||||
virtual ~FairMQContextSHM();
|
||||
void* GetContext();
|
||||
void Close();
|
||||
|
||||
private:
|
||||
void* fContext;
|
||||
};
|
||||
|
||||
#endif /* FAIRMQCONTEXTSHM_H_ */
|
Reference in New Issue
Block a user