#include <TMethodCall.h>
Inheritance diagram for TMethodCall:

Public Types | |
| enum | EReturnType |
| enum | EReturnType |
Public Member Functions | |
| TMethodCall () | |
| TMethodCall (TClass *cl, const char *method, const char *params) | |
| TMethodCall (const char *function, const char *params) | |
| TMethodCall (const TMethodCall &org) | |
| TMethodCall & | operator= (const TMethodCall &rhs) |
| ~TMethodCall () | |
| void | Init (TClass *cl, const char *method, const char *params) |
| void | Init (const char *function, const char *params) |
| void | InitWithPrototype (TClass *cl, const char *method, const char *proto) |
| void | InitWithPrototype (const char *function, const char *proto) |
| Bool_t | IsValid () const |
| TObject * | Clone (const char *newname="") const |
| void | CallDtorOnly (Bool_t set=kTRUE) |
| TFunction * | GetMethod () |
| const char * | GetMethodName () const |
| const char * | GetParams () const |
| const char * | GetProto () const |
| EReturnType | ReturnType () |
| void | SetParamPtrs (void *paramArr, Int_t nparam=-1) |
| void | ResetParam () |
| void | SetParam (Long_t l) |
| void | SetParam (Double_t d) |
| void | SetParam (Long64_t ll) |
| void | SetParam (ULong64_t ull) |
| void | Execute (void *object) |
| void | Execute (void *object, const char *params) |
| void | Execute (void *object, Long_t &retLong) |
| void | Execute (void *object, const char *params, Long_t &retLong) |
| void | Execute (void *object, Double_t &retDouble) |
| void | Execute (void *object, const char *params, Double_t &retDouble) |
| void | Execute (void *object, char **retText) |
| void | Execute (void *object, const char *params, char **retText) |
| void | Execute () |
| void | Execute (const char *params) |
| void | Execute (Long_t &retLong) |
| void | Execute (const char *params, Long_t &retLong) |
| void | Execute (Double_t &retDouble) |
| void | Execute (const char *params, Double_t &retDouble) |
| TMethodCall () | |
| TMethodCall (TClass *cl, const char *method, const char *params) | |
| TMethodCall (const char *function, const char *params) | |
| TMethodCall (const TMethodCall &org) | |
| TMethodCall & | operator= (const TMethodCall &rhs) |
| ~TMethodCall () | |
| void | Init (TClass *cl, const char *method, const char *params) |
| void | Init (const char *function, const char *params) |
| void | InitWithPrototype (TClass *cl, const char *method, const char *proto) |
| void | InitWithPrototype (const char *function, const char *proto) |
| Bool_t | IsValid () const |
| TObject * | Clone (const char *newname="") const |
| void | CallDtorOnly (Bool_t set=kTRUE) |
| TFunction * | GetMethod () |
| const char * | GetMethodName () const |
| const char * | GetParams () const |
| const char * | GetProto () const |
| EReturnType | ReturnType () |
| void | SetParamPtrs (void *paramArr, Int_t nparam=-1) |
| void | ResetParam () |
| void | SetParam (Long_t l) |
| void | SetParam (Double_t d) |
| void | SetParam (Long64_t ll) |
| void | SetParam (ULong64_t ull) |
| void | Execute (void *object) |
| void | Execute (void *object, const char *params) |
| void | Execute (void *object, Long_t &retLong) |
| void | Execute (void *object, const char *params, Long_t &retLong) |
| void | Execute (void *object, Double_t &retDouble) |
| void | Execute (void *object, const char *params, Double_t &retDouble) |
| void | Execute (void *object, char **retText) |
| void | Execute (void *object, const char *params, char **retText) |
| void | Execute () |
| void | Execute (const char *params) |
| void | Execute (Long_t &retLong) |
| void | Execute (const char *params, Long_t &retLong) |
| void | Execute (Double_t &retDouble) |
| void | Execute (const char *params, Double_t &retDouble) |
Private Member Functions | |
| void | Execute (const char *, const char *, int *=0) |
| void | Execute (TMethod *, TObjArray *, int *=0) |
| void | InitImplementation (const char *methodname, const char *params, const char *proto, TClass *cl, const ClassInfo_t *cinfo) |
| void | Execute (const char *, const char *, int *=0) |
| void | Execute (TMethod *, TObjArray *, int *=0) |
| void | InitImplementation (const char *methodname, const char *params, const char *proto, TClass *cl, const ClassInfo_t *cinfo) |
Private Attributes | |
| CallFunc_t * | fFunc |
| Long_t | fOffset |
| TClass * | fClass |
| TFunction * | fMetPtr |
| TString | fMethod |
| TString | fParams |
| TString | fProto |
| Bool_t | fDtorOnly |
| EReturnType | fRetType |
| CallFunc_t * | fFunc |
| TClass * | fClass |
| TFunction * | fMetPtr |
Definition at line 37 of file TMethodCall.h.
Definition at line 40 of file TMethodCall.h.
Definition at line 40 of file TMethodCall.h.
| TMethodCall::TMethodCall | ( | ) |
Referenced by Clone().
| TMethodCall::TMethodCall | ( | TClass * | cl, | |
| const char * | method, | |||
| const char * | params | |||
| ) |
| TMethodCall::TMethodCall | ( | const char * | function, | |
| const char * | params | |||
| ) |
| TMethodCall::TMethodCall | ( | const TMethodCall & | org | ) |
| TMethodCall::~TMethodCall | ( | ) |
Definition at line 122 of file TMethodCall.cxx.
References TInterpreter::CallFunc_Delete(), fFunc, fMetPtr, and gCint.
| TMethodCall::TMethodCall | ( | ) |
| TMethodCall::TMethodCall | ( | TClass * | cl, | |
| const char * | method, | |||
| const char * | params | |||
| ) |
| TMethodCall::TMethodCall | ( | const char * | function, | |
| const char * | params | |||
| ) |
| TMethodCall::TMethodCall | ( | const TMethodCall & | org | ) |
| TMethodCall::~TMethodCall | ( | ) |
| void TMethodCall::Execute | ( | const char * | , | |
| const char * | , | |||
| int * | = 0 | |||
| ) | [inline, private, virtual] |
Reimplemented from TObject.
Definition at line 53 of file TMethodCall.h.
Referenced by ClassImp(), TPacketizerMulti::CreatePacketizer(), TFoam::Eval(), TF1::EvalPar(), RooGenCategory::evalUserFunc(), TClass::GetActualClass(), TFormLeafInfoMethod::GetLocalValuePointer(), TProofServ::HandleCache(), TProofPlayerRemote::Incorporate(), TProofPlayerRemote::InitPacketizer(), TProof::LoadPackageOnClient(), TSeqCollection::Merge(), TProofPlayerRemote::MergeFeedback(), TProofPlayerRemote::MergeOutput(), TFormLeafInfoMethod::ReadValue(), TToggle::SetState(), TToggle::SetValue(), and TToggle::Toggle().
| void TMethodCall::InitImplementation | ( | const char * | methodname, | |
| const char * | params, | |||
| const char * | proto, | |||
| TClass * | cl, | |||
| const ClassInfo_t * | cinfo | |||
| ) | [private] |
Definition at line 207 of file TMethodCall.cxx.
References TInterpreter::CallFunc_Factory(), TInterpreter::CallFunc_Init(), TInterpreter::CallFunc_SetFunc(), TInterpreter::CallFunc_SetFuncProto(), TInterpreter::ClassInfo_Delete(), TInterpreter::ClassInfo_Factory(), fClass, fDtorOnly, fFunc, fMethod, fMetPtr, fOffset, fParams, fProto, fRetType, gCint, gCINTMutex, TClass::GetClassInfo(), kFALSE, kNone, and R__LOCKGUARD2.
Referenced by Init(), and InitWithPrototype().
| TMethodCall & TMethodCall::operator= | ( | const TMethodCall & | rhs | ) |
Definition at line 99 of file TMethodCall.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_FactoryCopy(), fClass, fDtorOnly, fFunc, fMethod, fMetPtr, fOffset, fParams, fProto, fRetType, and gCint.
| void TMethodCall::Init | ( | TClass * | cl, | |
| const char * | method, | |||
| const char * | params | |||
| ) |
Definition at line 170 of file TMethodCall.cxx.
References TInterpreter::ClassInfo_Delete(), TInterpreter::ClassInfo_Factory(), gCint, InitImplementation(), and R__FindScope().
Referenced by TMethodCall().
| void TMethodCall::Init | ( | const char * | function, | |
| const char * | params | |||
| ) |
Definition at line 190 of file TMethodCall.cxx.
References TInterpreter::ClassInfo_Delete(), TInterpreter::ClassInfo_Factory(), gCint, InitImplementation(), and R__FindScope().
| void TMethodCall::InitWithPrototype | ( | TClass * | cl, | |
| const char * | method, | |||
| const char * | proto | |||
| ) |
Definition at line 250 of file TMethodCall.cxx.
References TInterpreter::ClassInfo_Delete(), TInterpreter::ClassInfo_Factory(), gCint, InitImplementation(), and R__FindScope().
Referenced by ClassImp(), TF1::CreateFromCintClass(), TPacketizerMulti::CreatePacketizer(), TProofServ::HandleCache(), TProofPlayerRemote::Incorporate(), RooGenCategory::initialize(), TProofPlayerRemote::InitPacketizer(), TProof::LoadPackageOnClient(), TSeqCollection::Merge(), TProofPlayerRemote::MergeFeedback(), TProofPlayerRemote::MergeOutput(), TBackCompFitter::SetFCN(), TFitterMinuit::SetFCN(), TMinuit::SetFCN(), TVirtualFitter::SetFCN(), TFoam::SetRhoInt(), TPluginHandler::SetupCallEnv(), and TF1::TF1().
| void TMethodCall::InitWithPrototype | ( | const char * | function, | |
| const char * | proto | |||
| ) |
Definition at line 270 of file TMethodCall.cxx.
References TInterpreter::ClassInfo_Delete(), TInterpreter::ClassInfo_Factory(), gCint, InitImplementation(), and R__FindScope().
| Bool_t TMethodCall::IsValid | ( | ) | const |
Definition at line 287 of file TMethodCall.cxx.
References TInterpreter::CallFunc_IsValid(), fFunc, gCint, and kFALSE.
Referenced by ClassImp(), TF1::CreateFromCintClass(), TPacketizerMulti::CreatePacketizer(), TProofPlayerRemote::Incorporate(), TProofPlayerRemote::InitPacketizer(), TSeqCollection::Merge(), TProofPlayerRemote::MergeFeedback(), TProofPlayerRemote::MergeOutput(), and TF1::TF1().
| TObject * TMethodCall::Clone | ( | const char * | newname = "" |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 131 of file TMethodCall.cxx.
References TMethodCall().
| TFunction * TMethodCall::GetMethod | ( | ) |
Definition at line 296 of file TMethodCall.cxx.
References TString::Data(), fClass, fMethod, fMetPtr, fParams, fProto, TROOT::GetGlobalFunction(), TROOT::GetGlobalFunctionWithPrototype(), gROOT, and kTRUE.
Referenced by TXMLPlayer::ElementGetter(), TXMLPlayer::ElementSetter(), TClass::GetActualClass(), TFormLeafInfoMethod::GetClass(), TRootContextMenu::HandleButton(), ReturnType(), and TFormLeafInfoMethod::TFormLeafInfoMethod().
| const char* TMethodCall::GetMethodName | ( | ) | const [inline] |
Definition at line 75 of file TMethodCall.h.
References TString::Data(), and fMethod.
Referenced by TXMLPlayer::ElementGetter(), TXMLPlayer::ElementSetter(), TDataMember::GetterMethod(), and TDataMember::SetterMethod().
| const char* TMethodCall::GetParams | ( | ) | const [inline] |
Definition at line 76 of file TMethodCall.h.
References TString::Data(), and fParams.
Referenced by TDataMember::SetterMethod().
| const char* TMethodCall::GetProto | ( | ) | const [inline] |
| TMethodCall::EReturnType TMethodCall::ReturnType | ( | ) |
Definition at line 461 of file TMethodCall.cxx.
References TObject::Error(), fRetType, func(), gCint, GetMethod(), kDouble, kFALSE, kLong, kNone, kOther, kString, kTRUE, name, TInterpreter::TypedefInfo_Delete(), TInterpreter::TypedefInfo_Factory(), TInterpreter::TypedefInfo_Init(), TInterpreter::TypedefInfo_TrueName(), TInterpreter::TypeInfo_Delete(), TInterpreter::TypeInfo_Factory(), TInterpreter::TypeInfo_Init(), TInterpreter::TypeInfo_Property(), TInterpreter::TypeInfo_TrueName(), and TInterpreter::TypeName().
Referenced by TFormLeafInfoMethod::GetClass(), TFormLeafInfoMethod::GetLocalValuePointer(), TFormLeafInfoMethod::IsInteger(), TFormLeafInfoMethod::IsString(), TFormLeafInfoMethod::ReadValue(), and TFormLeafInfoMethod::TFormLeafInfoMethod().
| void TMethodCall::SetParamPtrs | ( | void * | paramArr, | |
| Int_t | nparam = -1 | |||
| ) |
Definition at line 540 of file TMethodCall.cxx.
References TInterpreter::CallFunc_SetArgArray(), fFunc, gCint, gCINTMutex, and R__LOCKGUARD2.
Referenced by TFoam::Eval(), RooGenCategory::evalUserFunc(), and TF1::InitArgs().
| void TMethodCall::ResetParam | ( | ) |
Definition at line 554 of file TMethodCall.cxx.
References TInterpreter::CallFunc_ResetArg(), fFunc, and gCint.
Referenced by TPacketizerMulti::CreatePacketizer(), TProofServ::HandleCache(), TProofPlayerRemote::InitPacketizer(), and TProof::LoadPackageOnClient().
| void TMethodCall::SetParam | ( | Long_t | l | ) |
Definition at line 563 of file TMethodCall.cxx.
References TInterpreter::CallFunc_SetArg(), fFunc, and gCint.
Referenced by ClassImp(), TPacketizerMulti::CreatePacketizer(), TProofServ::HandleCache(), TProofPlayerRemote::Incorporate(), TProofPlayerRemote::InitPacketizer(), TProof::LoadPackageOnClient(), TSeqCollection::Merge(), TProofPlayerRemote::MergeFeedback(), and TProofPlayerRemote::MergeOutput().
| void TMethodCall::SetParam | ( | Double_t | d | ) |
Definition at line 572 of file TMethodCall.cxx.
References TInterpreter::CallFunc_SetArg(), fFunc, and gCint.
| void TMethodCall::SetParam | ( | Long64_t | ll | ) |
Definition at line 581 of file TMethodCall.cxx.
References TInterpreter::CallFunc_SetArg(), fFunc, and gCint.
| void TMethodCall::SetParam | ( | ULong64_t | ull | ) |
Definition at line 590 of file TMethodCall.cxx.
References TInterpreter::CallFunc_SetArg(), fFunc, and gCint.
| void TMethodCall::Execute | ( | void * | object | ) |
Definition at line 327 of file TMethodCall.cxx.
References TInterpreter::CallFunc_Exec(), fDtorOnly, fFunc, fOffset, gCint, gCINTMutex, TInterpreter::Getgvp(), R__LOCKGUARD2, TInterpreter::Setgvp(), and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params | |||
| ) |
Definition at line 348 of file TMethodCall.cxx.
References TInterpreter::CallFunc_Exec(), TInterpreter::CallFunc_SetArgs(), fFunc, fOffset, gCint, gCINTMutex, R__LOCKGUARD2, and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | void * | object, | |
| Long_t & | retLong | |||
| ) |
Definition at line 365 of file TMethodCall.cxx.
References TInterpreter::CallFunc_ExecInt(), fFunc, fOffset, gCint, gCINTMutex, R__LOCKGUARD2, and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params, | |||
| Long_t & | retLong | |||
| ) |
Definition at line 380 of file TMethodCall.cxx.
References TInterpreter::CallFunc_ExecInt(), TInterpreter::CallFunc_SetArgs(), fFunc, fOffset, gCint, gCINTMutex, R__LOCKGUARD2, and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | void * | object, | |
| Double_t & | retDouble | |||
| ) |
Definition at line 397 of file TMethodCall.cxx.
References TInterpreter::CallFunc_ExecDouble(), fFunc, fOffset, gCint, gCINTMutex, R__LOCKGUARD2, and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params, | |||
| Double_t & | retDouble | |||
| ) |
Definition at line 412 of file TMethodCall.cxx.
References TInterpreter::CallFunc_ExecDouble(), TInterpreter::CallFunc_SetArgs(), fFunc, fOffset, gCint, gCINTMutex, R__LOCKGUARD2, and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | void * | object, | |
| char ** | retText | |||
| ) |
Definition at line 429 of file TMethodCall.cxx.
References TInterpreter::CallFunc_ExecInt(), fFunc, fOffset, gCint, gCINTMutex, R__LOCKGUARD2, and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params, | |||
| char ** | retText | |||
| ) |
Definition at line 444 of file TMethodCall.cxx.
References TInterpreter::CallFunc_ExecInt(), TInterpreter::CallFunc_SetArgs(), fFunc, fOffset, gCint, gCINTMutex, R__LOCKGUARD2, and TInterpreter::SetTempLevel().
| void TMethodCall::Execute | ( | ) | [inline] |
| void TMethodCall::Execute | ( | const char * | params | ) | [inline] |
| void TMethodCall::Execute | ( | Long_t & | retLong | ) | [inline] |
| void TMethodCall::Execute | ( | const char * | params, | |
| Long_t & | retLong | |||
| ) | [inline] |
| void TMethodCall::Execute | ( | Double_t & | retDouble | ) | [inline] |
| void TMethodCall::Execute | ( | const char * | params, | |
| Double_t & | retDouble | |||
| ) | [inline] |
| void TMethodCall::Execute | ( | const char * | , | |
| const char * | , | |||
| int * | = 0 | |||
| ) | [inline, private, virtual] |
| void TMethodCall::InitImplementation | ( | const char * | methodname, | |
| const char * | params, | |||
| const char * | proto, | |||
| TClass * | cl, | |||
| const ClassInfo_t * | cinfo | |||
| ) | [private] |
| TMethodCall& TMethodCall::operator= | ( | const TMethodCall & | rhs | ) |
| void TMethodCall::Init | ( | TClass * | cl, | |
| const char * | method, | |||
| const char * | params | |||
| ) |
| void TMethodCall::Init | ( | const char * | function, | |
| const char * | params | |||
| ) |
| void TMethodCall::InitWithPrototype | ( | TClass * | cl, | |
| const char * | method, | |||
| const char * | proto | |||
| ) |
| void TMethodCall::InitWithPrototype | ( | const char * | function, | |
| const char * | proto | |||
| ) |
| Bool_t TMethodCall::IsValid | ( | ) | const |
| TObject* TMethodCall::Clone | ( | const char * | newname = "" |
) | const [virtual] |
Reimplemented from TObject.
| TFunction* TMethodCall::GetMethod | ( | ) |
| const char* TMethodCall::GetMethodName | ( | ) | const [inline] |
| const char* TMethodCall::GetParams | ( | ) | const [inline] |
| const char* TMethodCall::GetProto | ( | ) | const [inline] |
| EReturnType TMethodCall::ReturnType | ( | ) |
| void TMethodCall::SetParamPtrs | ( | void * | paramArr, | |
| Int_t | nparam = -1 | |||
| ) |
| void TMethodCall::ResetParam | ( | ) |
| void TMethodCall::SetParam | ( | Long_t | l | ) |
| void TMethodCall::SetParam | ( | Double_t | d | ) |
| void TMethodCall::SetParam | ( | Long64_t | ll | ) |
| void TMethodCall::SetParam | ( | ULong64_t | ull | ) |
| void TMethodCall::Execute | ( | void * | object | ) |
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params | |||
| ) |
| void TMethodCall::Execute | ( | void * | object, | |
| Long_t & | retLong | |||
| ) |
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params, | |||
| Long_t & | retLong | |||
| ) |
| void TMethodCall::Execute | ( | void * | object, | |
| Double_t & | retDouble | |||
| ) |
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params, | |||
| Double_t & | retDouble | |||
| ) |
| void TMethodCall::Execute | ( | void * | object, | |
| char ** | retText | |||
| ) |
| void TMethodCall::Execute | ( | void * | object, | |
| const char * | params, | |||
| char ** | retText | |||
| ) |
| void TMethodCall::Execute | ( | ) |
| void TMethodCall::Execute | ( | const char * | params | ) |
| void TMethodCall::Execute | ( | Long_t & | retLong | ) |
| void TMethodCall::Execute | ( | const char * | params, | |
| Long_t & | retLong | |||
| ) |
| void TMethodCall::Execute | ( | Double_t & | retDouble | ) |
| void TMethodCall::Execute | ( | const char * | params, | |
| Double_t & | retDouble | |||
| ) |
CallFunc_t* TMethodCall::fFunc [private] |
Definition at line 43 of file TMethodCall.h.
Referenced by Execute(), InitImplementation(), IsValid(), operator=(), ResetParam(), SetParam(), SetParamPtrs(), TMethodCall(), and ~TMethodCall().
Long_t TMethodCall::fOffset [private] |
Definition at line 44 of file TMethodCall.h.
Referenced by Execute(), InitImplementation(), operator=(), and TMethodCall().
TClass* TMethodCall::fClass [private] |
Definition at line 45 of file TMethodCall.h.
Referenced by GetMethod(), InitImplementation(), operator=(), and TMethodCall().
TFunction* TMethodCall::fMetPtr [private] |
Definition at line 46 of file TMethodCall.h.
Referenced by GetMethod(), InitImplementation(), operator=(), TMethodCall(), and ~TMethodCall().
TString TMethodCall::fMethod [private] |
Definition at line 47 of file TMethodCall.h.
Referenced by GetMethod(), GetMethodName(), InitImplementation(), operator=(), and TMethodCall().
TString TMethodCall::fParams [private] |
Definition at line 48 of file TMethodCall.h.
Referenced by GetMethod(), GetParams(), InitImplementation(), operator=(), and TMethodCall().
TString TMethodCall::fProto [private] |
Definition at line 49 of file TMethodCall.h.
Referenced by GetMethod(), GetProto(), InitImplementation(), operator=(), and TMethodCall().
Bool_t TMethodCall::fDtorOnly [private] |
Definition at line 50 of file TMethodCall.h.
Referenced by CallDtorOnly(), Execute(), InitImplementation(), operator=(), and TMethodCall().
EReturnType TMethodCall::fRetType [private] |
Definition at line 51 of file TMethodCall.h.
Referenced by InitImplementation(), operator=(), ReturnType(), and TMethodCall().
CallFunc_t* TMethodCall::fFunc [private] |
Definition at line 43 of file TMethodCall.h.
TClass* TMethodCall::fClass [private] |
Definition at line 45 of file TMethodCall.h.
TFunction* TMethodCall::fMetPtr [private] |
Definition at line 46 of file TMethodCall.h.
1.5.1