mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Add example and test of a n-to-m topology, incuding sub-channel use
This commit is contained in:
committed by
Dennis Klein
parent
539b088ade
commit
24aabdb854
24
examples/n-m/Header.h
Normal file
24
examples/n-m/Header.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/********************************************************************************
|
||||
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
|
||||
* *
|
||||
* This software is distributed under the terms of the *
|
||||
* GNU Lesser General Public Licence (LGPL) version 3, *
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
#ifndef FAIR_MQ_EXAMPLE_N_M_HEADER_H
|
||||
#define FAIR_MQ_EXAMPLE_N_M_HEADER_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace example_n_m
|
||||
{
|
||||
|
||||
struct Header
|
||||
{
|
||||
std::uint16_t id;
|
||||
int senderIndex;
|
||||
};
|
||||
|
||||
} // namespace example_n_m
|
||||
|
||||
#endif /* FAIR_MQ_EXAMPLE_N_M_HEADER_H */
|
Reference in New Issue
Block a user