Inheritance diagram for TQSlot:
Public Member Functions | |
TQSlot (TClass *cl, const char *method, const char *funcname) | |
TQSlot (const char *class_name, const char *funcname) | |
virtual | ~TQSlot () |
const char * | GetName () const |
void | ExecuteMethod (void *object) |
void | ExecuteMethod (void *object, Int_t nargs, va_list ap) |
void | ExecuteMethod (void *object, Long_t param) |
void | ExecuteMethod (void *object, Long64_t param) |
void | ExecuteMethod (void *object, Double_t param) |
void | ExecuteMethod (void *object, const char *params) |
void | ExecuteMethod (void *object, Long_t *paramArr, Int_t nparam=-1) |
void | Print (Option_t *opt="") const |
void | ls (Option_t *opt="") const |
Bool_t | IsExecuting () const |
Protected Attributes | |
CallFunc_t * | fFunc |
ClassInfo_t * | fClass |
TFunction * | fMethod |
Long_t | fOffset |
TString | fName |
Int_t | fExecuting |
Definition at line 51 of file TQConnection.cxx.
TQSlot::TQSlot | ( | TClass * | cl, | |
const char * | method, | |||
const char * | funcname | |||
) |
Definition at line 82 of file TQConnection.cxx.
References TInterpreter::CallFunc_Factory(), TInterpreter::CallFunc_SetFunc(), TInterpreter::CallFunc_SetFuncProto(), TInterpreter::ClassInfo_Factory(), fClass, fExecuting, fFunc, fMethod, fName, fOffset, gCint, gCINTMutex, TClass::GetClassInfo(), TROOT::GetGlobalFunction(), TROOT::GetGlobalFunctionWithPrototype(), TClass::GetMethod(), TClass::GetMethodWithPrototype(), gROOT, kTRUE, method, params, R__LOCKGUARD2, and strcpy().
TQSlot::TQSlot | ( | const char * | class_name, | |
const char * | funcname | |||
) |
Definition at line 154 of file TQConnection.cxx.
References TInterpreter::CallFunc_Factory(), TInterpreter::CallFunc_SetFunc(), TInterpreter::CallFunc_SetFuncProto(), TInterpreter::ClassInfo_Factory(), TInterpreter::ClassInfo_Init(), fClass, fExecuting, fFunc, fMethod, fName, fOffset, gCint, gCINTMutex, TClass::GetClass(), TROOT::GetGlobalFunction(), TROOT::GetGlobalFunctionWithPrototype(), TClass::GetMethod(), TClass::GetMethodWithPrototype(), gROOT, kTRUE, method, params, R__LOCKGUARD2, and strcpy().
TQSlot::~TQSlot | ( | ) | [virtual] |
Definition at line 220 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::ClassInfo_Delete(), fClass, fExecuting, fFunc, and gCint.
const char* TQSlot::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 65 of file TQConnection.cxx.
References TString::Data().
Referenced by TQConnection::GetName(), and Print().
void TQSlot::ExecuteMethod | ( | void * | object | ) | [inline] |
Definition at line 232 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_Exec(), fExecuting, fFunc, fOffset, gCint, gCINTMutex, TObject::kNotDeleted, R__LOCKGUARD2, and TObject::TestBit().
Referenced by TQConnection::ExecuteMethod().
void TQSlot::ExecuteMethod | ( | void * | object, | |
Int_t | nargs, | |||
va_list | ap | |||
) | [inline] |
Definition at line 248 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_Exec(), TInterpreter::CallFunc_ResetArg(), TInterpreter::CallFunc_SetArg(), TString::Data(), TObject::Error(), fExecuting, fFunc, fMethod, fName, fOffset, gCint, gCINTMutex, TDataType::GetFullTypeName(), TFunction::GetListOfMethodArgs(), TFunction::GetNargs(), TFunction::GetNargsOpt(), TROOT::GetType(), gROOT, i, TObject::kNotDeleted, Long64_t, R__LOCKGUARD2, TObject::TestBit(), and type.
void TQSlot::ExecuteMethod | ( | void * | object, | |
Long_t | param | |||
) | [inline] |
Definition at line 325 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_Exec(), TInterpreter::CallFunc_ResetArg(), TInterpreter::CallFunc_SetArg(), fExecuting, fFunc, fOffset, gCint, gCINTMutex, TObject::kNotDeleted, R__LOCKGUARD2, and TObject::TestBit().
void TQSlot::ExecuteMethod | ( | void * | object, | |
Long64_t | param | |||
) | [inline] |
Definition at line 343 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_Exec(), TInterpreter::CallFunc_ResetArg(), TInterpreter::CallFunc_SetArg(), fExecuting, fFunc, fOffset, gCint, gCINTMutex, TObject::kNotDeleted, R__LOCKGUARD2, and TObject::TestBit().
void TQSlot::ExecuteMethod | ( | void * | object, | |
Double_t | param | |||
) | [inline] |
Definition at line 361 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_Exec(), TInterpreter::CallFunc_ResetArg(), TInterpreter::CallFunc_SetArg(), fExecuting, fFunc, fOffset, gCint, gCINTMutex, TObject::kNotDeleted, R__LOCKGUARD2, and TObject::TestBit().
void TQSlot::ExecuteMethod | ( | void * | object, | |
const char * | params | |||
) | [inline] |
Definition at line 379 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_Exec(), TInterpreter::CallFunc_SetArgs(), fExecuting, fFunc, fOffset, gCint, gCINTMutex, gTQSlotParams, TObject::kNotDeleted, R__LOCKGUARD2, and TObject::TestBit().
Definition at line 396 of file TQConnection.cxx.
References TInterpreter::CallFunc_Delete(), TInterpreter::CallFunc_Exec(), TInterpreter::CallFunc_SetArgArray(), fExecuting, fFunc, fOffset, gCint, gCINTMutex, TObject::kNotDeleted, R__LOCKGUARD2, and TObject::TestBit().
void TQSlot::Print | ( | Option_t * | opt = "" |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 418 of file TQConnection.cxx.
References GetName(), and TRefCnt::References().
void TQSlot::ls | ( | Option_t * | opt = "" |
) | const [inline, virtual] |
Bool_t TQSlot::IsExecuting | ( | ) | const [inline] |
CallFunc_t* TQSlot::fFunc [protected] |
Definition at line 54 of file TQConnection.cxx.
Referenced by ExecuteMethod(), TQSlot(), and ~TQSlot().
ClassInfo_t* TQSlot::fClass [protected] |
TFunction* TQSlot::fMethod [protected] |
Long_t TQSlot::fOffset [protected] |
TString TQSlot::fName [protected] |
Int_t TQSlot::fExecuting [protected] |
Definition at line 59 of file TQConnection.cxx.
Referenced by ExecuteMethod(), TQSlot(), and ~TQSlot().