Public Member Functions | |
TGo4DabcAccess (const std::string &node, const std::string &sinfoname) | |
request compression from server | |
TGo4DabcAccess (const std::string &node, const dabc::Hierarchy &item) | |
virtual | ~TGo4DabcAccess () |
virtual Bool_t | IsRemote () const |
virtual Bool_t | CanGetObject () const |
virtual Bool_t | GetObject (TObject *&obj, Bool_t &owner) const |
virtual TClass * | GetObjectClass () const |
virtual const char * | GetObjectName () const |
virtual const char * | GetObjectClassName () const |
virtual Int_t | AssignObjectTo (TGo4ObjectManager *rcv, const char *path) |
double | ProcessCommandReply (dabc::Command cmd) |
Protected Attributes | |
std::string | fNodeName |
std::string | fObjName |
std::string | fItemName |
std::string | fRootClassName |
std::string | fMasterName |
std::string | fMasterItemName |
bool | fIsRate |
int | fHistoryLength |
TGo4ObjectManager * | fxReceiver |
TString | fxRecvPath |
dabc::Buffer | fRawData |
Bool_t | fCompression |
raw data, get from command |
Definition at line 76 of file TGo4DabcProxy.cxx.
TGo4DabcAccess::TGo4DabcAccess | ( | const std::string & | node, | |
const std::string & | sinfoname | |||
) | [inline] |
request compression from server
Definition at line 93 of file TGo4DabcProxy.cxx.
References fItemName, fObjName, and fRootClassName.
Referenced by ProcessCommandReply().
TGo4DabcAccess::TGo4DabcAccess | ( | const std::string & | node, | |
const dabc::Hierarchy & | item | |||
) | [inline] |
Definition at line 116 of file TGo4DabcProxy.cxx.
References fHistoryLength, fIsRate, fItemName, fMasterItemName, fMasterName, fObjName, and fRootClassName.
virtual TGo4DabcAccess::~TGo4DabcAccess | ( | ) | [inline, virtual] |
Definition at line 151 of file TGo4DabcProxy.cxx.
virtual Int_t TGo4DabcAccess::AssignObjectTo | ( | TGo4ObjectManager * | rcv, | |
const char * | path | |||
) | [inline, virtual] |
Have to assign object to provided receiver. Returns: 0 - if object can not be assigned 1 - if object assigned 2 - if object will be assigned later
Reimplemented from TGo4Access.
Definition at line 182 of file TGo4DabcProxy.cxx.
References TGo4Log::Error(), fCompression, fHistoryLength, fIsRate, fItemName, fNodeName, fRootClassName, fxReceiver, and fxRecvPath.
Referenced by ProcessCommandReply().
virtual Bool_t TGo4DabcAccess::CanGetObject | ( | ) | const [inline, virtual] |
Returns kTRUE, when object can be directly obtained with GetObject() method
Reimplemented from TGo4Access.
Definition at line 158 of file TGo4DabcProxy.cxx.
virtual Bool_t TGo4DabcAccess::GetObject | ( | TObject *& | obj, | |
Bool_t & | owner | |||
) | const [inline, virtual] |
Reimplemented from TGo4Access.
Definition at line 160 of file TGo4DabcProxy.cxx.
virtual TClass* TGo4DabcAccess::GetObjectClass | ( | ) | const [inline, virtual] |
Reimplemented from TGo4Access.
Definition at line 162 of file TGo4DabcProxy.cxx.
References fRootClassName.
virtual const char* TGo4DabcAccess::GetObjectClassName | ( | ) | const [inline, virtual] |
Reimplemented from TGo4Access.
Definition at line 174 of file TGo4DabcProxy.cxx.
References fRootClassName.
virtual const char* TGo4DabcAccess::GetObjectName | ( | ) | const [inline, virtual] |
Reimplemented from TGo4Access.
Definition at line 169 of file TGo4DabcProxy.cxx.
References fObjName.
virtual Bool_t TGo4DabcAccess::IsRemote | ( | ) | const [inline, virtual] |
Indicate if object is remote
Reimplemented from TGo4Access.
Definition at line 156 of file TGo4DabcProxy.cxx.
double TGo4DabcAccess::ProcessCommandReply | ( | dabc::Command | cmd | ) | [inline] |
Returns repetition timeout, negative - delete access object
Definition at line 239 of file TGo4DabcProxy.cxx.
References AssignObjectTo(), TGo4Log::Debug(), TGo4Access::DoObjectAssignement(), TGo4Log::Error(), fCompression, fHistoryLength, TGo4Slot::FindSlot(), fIsRate, fItemName, fMasterItemName, fMasterName, fNodeName, fObjName, fRawData, fRootClassName, fxReceiver, fxRecvPath, TGo4Slot::GetFullName(), TGo4Slot::GetIntPar(), TGo4Slot::GetPar(), TGo4Slot::GetParent(), TGo4Slot::GetSlot(), R__unzip(), R__unzip_header(), TGo4Slot::SetPar(), and TGo4DabcAccess().
Referenced by TReplyTimer::Notify().
Bool_t TGo4DabcAccess::fCompression [protected] |
raw data, get from command
Definition at line 89 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), and ProcessCommandReply().
int TGo4DabcAccess::fHistoryLength [protected] |
Definition at line 85 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), ProcessCommandReply(), and TGo4DabcAccess().
bool TGo4DabcAccess::fIsRate [protected] |
Definition at line 84 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), ProcessCommandReply(), and TGo4DabcAccess().
std::string TGo4DabcAccess::fItemName [protected] |
Definition at line 80 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), ProcessCommandReply(), and TGo4DabcAccess().
std::string TGo4DabcAccess::fMasterItemName [protected] |
Definition at line 83 of file TGo4DabcProxy.cxx.
Referenced by ProcessCommandReply(), and TGo4DabcAccess().
std::string TGo4DabcAccess::fMasterName [protected] |
Definition at line 82 of file TGo4DabcProxy.cxx.
Referenced by ProcessCommandReply(), and TGo4DabcAccess().
std::string TGo4DabcAccess::fNodeName [protected] |
Definition at line 78 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), and ProcessCommandReply().
std::string TGo4DabcAccess::fObjName [protected] |
Definition at line 79 of file TGo4DabcProxy.cxx.
Referenced by GetObjectName(), ProcessCommandReply(), and TGo4DabcAccess().
dabc::Buffer TGo4DabcAccess::fRawData [protected] |
Definition at line 88 of file TGo4DabcProxy.cxx.
Referenced by ProcessCommandReply().
std::string TGo4DabcAccess::fRootClassName [protected] |
Definition at line 81 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), GetObjectClass(), GetObjectClassName(), ProcessCommandReply(), and TGo4DabcAccess().
TGo4ObjectManager* TGo4DabcAccess::fxReceiver [protected] |
Definition at line 86 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), and ProcessCommandReply().
TString TGo4DabcAccess::fxRecvPath [protected] |
Definition at line 87 of file TGo4DabcProxy.cxx.
Referenced by AssignObjectTo(), and ProcessCommandReply().