FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairSourceMQInterface< FairSourceType, DataType > Class Template Reference

#include <FairSourceMQInterface.h>

Inheritance diagram for FairSourceMQInterface< FairSourceType, DataType >:

Public Member Functions

 FairSourceMQInterface ()
 
 FairSourceMQInterface (const FairSourceMQInterface &)=delete
 
FairSourceMQInterface operator= (const FairSourceMQInterface &)=delete
 
virtual ~FairSourceMQInterface ()
 
int64_t GetNumberOfEvent ()
 
void SetFileProperties (const std::string &filename, const std::string &branchname)
 
template<typename T = FairSourceType, enable_if_match< T, FairFileSource > = 0>
void InitSource ()
 
template<typename T = FairSourceType, enable_if_match< T, FairFileSource > = 0>
void SetIndex (int64_t eventIdx)
 
template<typename T = FairSourceType, enable_if_match< T, FairFileSource > = 0>
DataType_ptr GetOutData ()
 
void GetOutData (DataType_ptr &data, int64_t evtIdx)
 
void deserialize_impl (int64_t evtIdx)
 

Protected Attributes

FairSourceType * fSource
 
DataType_ptr fInput
 
std::unique_ptr< DataType > fInput2
 
int64_t fIndex
 
int64_t fMaxIndex
 
std::string fClassName
 
std::string fBranchName
 
std::string fSourceName
 
FairRunAnafRunAna
 

Detailed Description

template<typename FairSourceType, typename DataType>
class FairSourceMQInterface< FairSourceType, DataType >

Definition at line 24 of file FairSourceMQInterface.h.

Constructor & Destructor Documentation

template<typename FairSourceType , typename DataType >
FairSourceMQInterface< FairSourceType, DataType >::FairSourceMQInterface ( )
inline

Definition at line 30 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
FairSourceMQInterface< FairSourceType, DataType >::FairSourceMQInterface ( const FairSourceMQInterface< FairSourceType, DataType > &  )
delete
template<typename FairSourceType , typename DataType >
virtual FairSourceMQInterface< FairSourceType, DataType >::~FairSourceMQInterface ( )
inlinevirtual

Definition at line 45 of file FairSourceMQInterface.h.

Member Function Documentation

template<typename FairSourceType , typename DataType >
void FairSourceMQInterface< FairSourceType, DataType >::deserialize_impl ( int64_t  evtIdx)
inline

Definition at line 99 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
int64_t FairSourceMQInterface< FairSourceType, DataType >::GetNumberOfEvent ( )
inline

Definition at line 57 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
template<typename T = FairSourceType, enable_if_match< T, FairFileSource > = 0>
DataType_ptr FairSourceMQInterface< FairSourceType, DataType >::GetOutData ( )
inline

Definition at line 86 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
void FairSourceMQInterface< FairSourceType, DataType >::GetOutData ( DataType_ptr &  data,
int64_t  evtIdx 
)
inline

Definition at line 92 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
template<typename T = FairSourceType, enable_if_match< T, FairFileSource > = 0>
void FairSourceMQInterface< FairSourceType, DataType >::InitSource ( )
inline

Definition at line 69 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
FairSourceMQInterface FairSourceMQInterface< FairSourceType, DataType >::operator= ( const FairSourceMQInterface< FairSourceType, DataType > &  )
delete
template<typename FairSourceType , typename DataType >
void FairSourceMQInterface< FairSourceType, DataType >::SetFileProperties ( const std::string &  filename,
const std::string &  branchname 
)
inline

Definition at line 59 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
template<typename T = FairSourceType, enable_if_match< T, FairFileSource > = 0>
void FairSourceMQInterface< FairSourceType, DataType >::SetIndex ( int64_t  eventIdx)
inline

Definition at line 80 of file FairSourceMQInterface.h.

Member Data Documentation

template<typename FairSourceType , typename DataType >
std::string FairSourceMQInterface< FairSourceType, DataType >::fBranchName
protected

Definition at line 108 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
std::string FairSourceMQInterface< FairSourceType, DataType >::fClassName
protected

Definition at line 107 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
int64_t FairSourceMQInterface< FairSourceType, DataType >::fIndex
protected

Definition at line 105 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
DataType_ptr FairSourceMQInterface< FairSourceType, DataType >::fInput
protected

Definition at line 103 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
std::unique_ptr<DataType> FairSourceMQInterface< FairSourceType, DataType >::fInput2
protected

Definition at line 104 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
int64_t FairSourceMQInterface< FairSourceType, DataType >::fMaxIndex
protected

Definition at line 106 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
FairRunAna* FairSourceMQInterface< FairSourceType, DataType >::fRunAna
protected

Definition at line 110 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
FairSourceType* FairSourceMQInterface< FairSourceType, DataType >::fSource
protected

Definition at line 102 of file FairSourceMQInterface.h.

template<typename FairSourceType , typename DataType >
std::string FairSourceMQInterface< FairSourceType, DataType >::fSourceName
protected

Definition at line 109 of file FairSourceMQInterface.h.


The documentation for this class was generated from the following file: