|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnOnlineSource.h>
Public Member Functions | |
| BmnOnlineSource (TString endpoint="tcp://localhost:5555") | |
| virtual | ~BmnOnlineSource () |
| virtual Bool_t | Init () |
| virtual Int_t | ReadEvent (UInt_t=0) |
| virtual void | Close () |
| BmnOnlineSource (const BmnOnlineSource &)=delete | |
| BmnOnlineSource & | operator= (const BmnOnlineSource &)=delete |
| BmnOnlineSource (TString endpoint="tcp://localhost:5555") | |
| virtual | ~BmnOnlineSource () |
| virtual Bool_t | Init () |
| virtual Int_t | ReadEvent (UInt_t=0) |
| virtual void | Close () |
| BmnOnlineSource (const BmnOnlineSource &)=delete | |
| BmnOnlineSource & | operator= (const BmnOnlineSource &)=delete |
Static Public Member Functions | |
| template<typename T> | |
| static void | DeserializeZmqMessage (zmq_msg_t *zmq_message, std::unique_ptr< T > &output) |
| template<typename T> | |
| static void | DeserializeZmqMessage (zmq_msg_t *zmq_message, std::unique_ptr< T > &output) |
Protected Member Functions | |
| void | RegisterBranches (std::unique_ptr< TTree > &tree) |
| void | UploadDataToRegisteredBranches (std::unique_ptr< TTree > &tree) |
| void | RegisterBranches (std::unique_ptr< TTree > &tree) |
| void | UploadDataToRegisteredBranches (std::unique_ptr< TTree > &tree) |
Protected Attributes | |
| TString | fEndpoint |
| std::shared_ptr< void > | fZmqContext |
| std::shared_ptr< void > | fZmqSubSocket |
| std::unordered_map< std::string, std::unique_ptr< TClonesArray > > | fRegisteredBranches |
Private Attributes | |
| Bool_t | fAreBranchesRegistered |
Definition at line 21 of file BmnOnlineSource.h.
| BmnOnlineSource::BmnOnlineSource | ( | TString | endpoint = "tcp://localhost:5555" | ) |
Definition at line 6 of file BmnOnlineSource.cxx.
References fAreBranchesRegistered, fEndpoint, fZmqContext, and fZmqSubSocket.
Referenced by BmnOnlineSource(), operator=(), and UploadDataToRegisteredBranches().
|
virtual |
Definition at line 13 of file BmnOnlineSource.cxx.
|
delete |
| BmnOnlineSource::BmnOnlineSource | ( | TString | endpoint = "tcp://localhost:5555" | ) |
|
virtual |
|
delete |
|
virtual |
Definition at line 67 of file BmnOnlineSource.cxx.
References fRegisteredBranches, fZmqContext, and fZmqSubSocket.
|
virtual |
|
inlinestatic |
Definition at line 35 of file BmnOnlineSource.h.
References TMessage::GetClass(), and TBufferFile::ReadObjectAny().
Referenced by ReadEvent().
|
inlinestatic |
Definition at line 35 of file BmnOnlineSource.h.
References TMessage::GetClass(), and TBufferFile::ReadObjectAny().
|
virtual |
Definition at line 15 of file BmnOnlineSource.cxx.
References fEndpoint, fZmqContext, and fZmqSubSocket.
|
virtual |
|
delete |
|
delete |
Definition at line 39 of file BmnOnlineSource.cxx.
References DeserializeZmqMessage(), fZmqSubSocket, RegisterBranches(), and UploadDataToRegisteredBranches().
|
protected |
Definition at line 75 of file BmnOnlineSource.cxx.
References fAreBranchesRegistered, fRegisteredBranches, and TNamed::GetName().
Referenced by ReadEvent().
|
protected |
|
protected |
Definition at line 102 of file BmnOnlineSource.cxx.
References fRegisteredBranches.
Referenced by ReadEvent().
|
protected |
|
private |
Definition at line 54 of file BmnOnlineSource.h.
Referenced by BmnOnlineSource(), RegisterBranches(), and UploadDataToRegisteredBranches().
|
protected |
Definition at line 43 of file BmnOnlineSource.h.
Referenced by BmnOnlineSource(), and Init().
|
protected |
Definition at line 48 of file BmnOnlineSource.h.
Referenced by Close(), RegisterBranches(), and UploadDataToRegisteredBranches().
|
protected |
Definition at line 45 of file BmnOnlineSource.h.
Referenced by BmnOnlineSource(), Close(), and Init().
|
protected |
Definition at line 46 of file BmnOnlineSource.h.
Referenced by BmnOnlineSource(), Close(), Init(), and ReadEvent().