mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-12 16:21:13 +00:00
Add license text to all header files Add license text to all c++ source files Add license text to all C macro files Converting file to UNIX format. Add license text to all build system files Add license text to all c source files Rename file LICENCE to LICENSE. Change preamble in all files.
39 lines
1.2 KiB
C++
39 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" *
|
|
********************************************************************************/
|
|
/**
|
|
* FairMQMessage.h
|
|
*
|
|
* @since 2012-12-05
|
|
* @author D. Klein, A. Rybalchenko
|
|
*/
|
|
|
|
#ifndef FAIRMQMESSAGE_H_
|
|
#define FAIRMQMESSAGE_H_
|
|
|
|
#include <cstddef> // for size_t
|
|
|
|
class FairMQMessage
|
|
{
|
|
public:
|
|
virtual void Rebuild() = 0;
|
|
virtual void Rebuild(size_t size) = 0;
|
|
virtual void Rebuild(void* data, size_t size) = 0;
|
|
|
|
virtual void* GetMessage() = 0;
|
|
virtual void* GetData() = 0;
|
|
virtual size_t GetSize() = 0;
|
|
virtual void SetMessage(void* data, size_t size) = 0;
|
|
|
|
virtual void CloseMessage() = 0;
|
|
virtual void Copy(FairMQMessage* msg) = 0;
|
|
|
|
virtual ~FairMQMessage() {};
|
|
};
|
|
|
|
#endif /* FAIRMQMESSAGE_H_ */
|