mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Adding multiple transports support & other fixes:
- Avoid polling when only one input channel is used. - Send only handles for shared memory transport. - Avoid waiting in the rate logger thread when nothing to log. - Hide warnings from generated files - Fix #483
This commit is contained in:
committed by
Mohammad Al-Turany
parent
e53ad151a7
commit
c66fd6fe91
@@ -42,22 +42,28 @@ class FairMQMessageSHM : public FairMQMessage
|
||||
|
||||
virtual void SetDeviceId(const std::string& deviceId);
|
||||
|
||||
virtual FairMQ::Transport GetType() const;
|
||||
|
||||
virtual void Copy(const std::unique_ptr<FairMQMessage>& msg);
|
||||
|
||||
void CloseMessage();
|
||||
|
||||
virtual ~FairMQMessageSHM();
|
||||
|
||||
static void StringDeleter(void* data, void* str);
|
||||
// static void StringDeleter(void* data, void* str);
|
||||
|
||||
private:
|
||||
zmq_msg_t fMessage;
|
||||
FairMQ::shmem::ShPtrOwner* fOwner;
|
||||
static uint64_t fMessageID;
|
||||
static std::string fDeviceID;
|
||||
bool fReceiving;
|
||||
// FairMQ::shmem::ShPtrOwner* fOwner;
|
||||
// static uint64_t fMessageID;
|
||||
// static std::string fDeviceID;
|
||||
// bool fReceiving;
|
||||
bool fQueued;
|
||||
bool fMetaCreated;
|
||||
static std::atomic<bool> fInterrupted;
|
||||
bipc::managed_shared_memory::handle_t fHandle;
|
||||
size_t fChunkSize;
|
||||
void* fLocalPtr;
|
||||
};
|
||||
|
||||
#endif /* FAIRMQMESSAGESHM_H_ */
|
||||
|
Reference in New Issue
Block a user