GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4DabcAccess Class Reference
+ Inheritance diagram for TGo4DabcAccess:

Public Member Functions

 TGo4DabcAccess (const std::string &node, const dabc::Hierarchy &item)
 
 TGo4DabcAccess (const std::string &node, const std::string &sinfoname)
 request compression from server
 
virtual ~TGo4DabcAccess ()
 
Int_t AssignObjectTo (TGo4ObjectManager *rcv, const char *path) override
 Have to assign object to provided receiver.
 
Bool_t CanGetObject () const override
 Returns kTRUE, when object can be directly obtained with GetObject() method.
 
Bool_t GetObject (TObject *&obj, Bool_t &owner) const override
 
TClass * GetObjectClass () const override
 
const char * GetObjectClassName () const override
 
const char * GetObjectName () const override
 
Bool_t IsRemote () const override
 Indicate if object is remote.
 
double ProcessCommandReply (dabc::Command cmd)
 Returns repetition timeout, negative - delete access object.
 
- Public Member Functions inherited from TGo4Access
virtual ~TGo4Access ()
 
Int_t AssignObjectToSlot (TGo4Slot *slot)
 Made for convenience - extracts OM and slot path and calls AssignObjectTo method.
 

Protected Attributes

Bool_t fCompression {false}
 raw data, get from command
 
int fHistoryLength {0}
 
bool fIsRate {false}
 
std::string fItemName
 
std::string fMasterItemName
 
std::string fMasterName
 
std::string fNodeName
 
std::string fObjName
 
dabc::Buffer fRawData
 
std::string fRootClassName
 
TGo4ObjectManagerfxReceiver {nullptr}
 
TString fxRecvPath
 

Additional Inherited Members

- Public Types inherited from TGo4Access
enum  {
  kndNone = -1 , kndObject = 0 , kndFolder = 1 , kndTreeBranch = 2 ,
  kndTreeLeaf = 3 , kndGo4Param = 4 , kndDataMember = 5 , kndEventElement = 6 ,
  kndMoreFolder = 7 , kndRootCommand = 8
}
 
- Protected Member Functions inherited from TGo4Access
void DoObjectAssignement (TGo4ObjectManager *rcv, const char *path, TObject *obj, Bool_t owner)
 

Detailed Description

Definition at line 81 of file TGo4DabcProxy.cxx.

Constructor & Destructor Documentation

◆ TGo4DabcAccess() [1/2]

TGo4DabcAccess::TGo4DabcAccess ( const std::string & node,
const std::string & sinfoname )
inline

request compression from server

Definition at line 98 of file TGo4DabcProxy.cxx.

References fCompression, fHistoryLength, fIsRate, fItemName, fMasterItemName, fMasterName, fNodeName, fObjName, fRawData, fRootClassName, fxReceiver, and fxRecvPath.

Referenced by ProcessCommandReply().

◆ TGo4DabcAccess() [2/2]

TGo4DabcAccess::TGo4DabcAccess ( const std::string & node,
const dabc::Hierarchy & item )
inline

◆ ~TGo4DabcAccess()

virtual TGo4DabcAccess::~TGo4DabcAccess ( )
inlinevirtual

Definition at line 154 of file TGo4DabcProxy.cxx.

Member Function Documentation

◆ AssignObjectTo()

Int_t TGo4DabcAccess::AssignObjectTo ( TGo4ObjectManager * rcv,
const char * path )
inlineoverridevirtual

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 183 of file TGo4DabcProxy.cxx.

References TGo4Log::Error(), fCompression, fHistoryLength, fIsRate, fItemName, fNodeName, fRootClassName, fxReceiver, and fxRecvPath.

◆ CanGetObject()

Bool_t TGo4DabcAccess::CanGetObject ( ) const
inlineoverridevirtual

Returns kTRUE, when object can be directly obtained with GetObject() method.

Reimplemented from TGo4Access.

Definition at line 160 of file TGo4DabcProxy.cxx.

◆ GetObject()

Bool_t TGo4DabcAccess::GetObject ( TObject *& obj,
Bool_t & owner ) const
inlineoverridevirtual

Reimplemented from TGo4Access.

Definition at line 162 of file TGo4DabcProxy.cxx.

◆ GetObjectClass()

TClass * TGo4DabcAccess::GetObjectClass ( ) const
inlineoverridevirtual

Reimplemented from TGo4Access.

Definition at line 164 of file TGo4DabcProxy.cxx.

References fRootClassName, and TGo4Proxy::GetClass().

◆ GetObjectClassName()

const char * TGo4DabcAccess::GetObjectClassName ( ) const
inlineoverridevirtual

Reimplemented from TGo4Access.

Definition at line 176 of file TGo4DabcProxy.cxx.

References fRootClassName.

◆ GetObjectName()

const char * TGo4DabcAccess::GetObjectName ( ) const
inlineoverridevirtual

Reimplemented from TGo4Access.

Definition at line 171 of file TGo4DabcProxy.cxx.

References fObjName.

◆ IsRemote()

Bool_t TGo4DabcAccess::IsRemote ( ) const
inlineoverridevirtual

Indicate if object is remote.

Reimplemented from TGo4Access.

Definition at line 158 of file TGo4DabcProxy.cxx.

◆ ProcessCommandReply()

Field Documentation

◆ fCompression

Bool_t TGo4DabcAccess::fCompression {false}
protected

raw data, get from command

Definition at line 94 of file TGo4DabcProxy.cxx.

Referenced by TGo4DabcAccess(), TGo4DabcAccess(), AssignObjectTo(), and ProcessCommandReply().

◆ fHistoryLength

int TGo4DabcAccess::fHistoryLength {0}
protected

◆ fIsRate

bool TGo4DabcAccess::fIsRate {false}
protected

◆ fItemName

std::string TGo4DabcAccess::fItemName
protected

◆ fMasterItemName

std::string TGo4DabcAccess::fMasterItemName
protected

Definition at line 88 of file TGo4DabcProxy.cxx.

Referenced by TGo4DabcAccess(), TGo4DabcAccess(), and ProcessCommandReply().

◆ fMasterName

std::string TGo4DabcAccess::fMasterName
protected

Definition at line 87 of file TGo4DabcProxy.cxx.

Referenced by TGo4DabcAccess(), TGo4DabcAccess(), and ProcessCommandReply().

◆ fNodeName

std::string TGo4DabcAccess::fNodeName
protected

◆ fObjName

std::string TGo4DabcAccess::fObjName
protected

◆ fRawData

dabc::Buffer TGo4DabcAccess::fRawData
protected

Definition at line 93 of file TGo4DabcProxy.cxx.

Referenced by TGo4DabcAccess(), TGo4DabcAccess(), and ProcessCommandReply().

◆ fRootClassName

std::string TGo4DabcAccess::fRootClassName
protected

◆ fxReceiver

TGo4ObjectManager* TGo4DabcAccess::fxReceiver {nullptr}
protected

◆ fxRecvPath

TString TGo4DabcAccess::fxRecvPath
protected

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