TQSlot Class Reference

Inheritance diagram for TQSlot:

TObject TRefCnt List of all members.

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
TFunctionfMethod
Long_t fOffset
TString fName
Int_t fExecuting

Detailed Description

Definition at line 51 of file TQConnection.cxx.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

void TQSlot::ExecuteMethod ( void *  object,
Long_t paramArr,
Int_t  nparam = -1 
) [inline]

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]

Reimplemented from TObject.

Definition at line 75 of file TQConnection.cxx.

References Print().

Bool_t TQSlot::IsExecuting (  )  const [inline]

Definition at line 77 of file TQConnection.cxx.

Referenced by TQSlotPool::Free().


Member Data Documentation

CallFunc_t* TQSlot::fFunc [protected]

Definition at line 54 of file TQConnection.cxx.

Referenced by ExecuteMethod(), TQSlot(), and ~TQSlot().

ClassInfo_t* TQSlot::fClass [protected]

Definition at line 55 of file TQConnection.cxx.

Referenced by TQSlot(), and ~TQSlot().

TFunction* TQSlot::fMethod [protected]

Definition at line 56 of file TQConnection.cxx.

Referenced by ExecuteMethod(), and TQSlot().

Long_t TQSlot::fOffset [protected]

Definition at line 57 of file TQConnection.cxx.

Referenced by ExecuteMethod(), and TQSlot().

TString TQSlot::fName [protected]

Definition at line 58 of file TQConnection.cxx.

Referenced by ExecuteMethod(), and TQSlot().

Int_t TQSlot::fExecuting [protected]

Definition at line 59 of file TQConnection.cxx.

Referenced by ExecuteMethod(), TQSlot(), and ~TQSlot().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:45:55 2011 for ROOT_528-00b_version by  doxygen 1.5.1