ROOT logo
ROOT » CORE » BASE » TQClass

class TQClass: public TQObject, public TClass


This is the ROOT implementation of the Qt object communication
mechanism (see also http://www.troll.no/qt/metaobjects.html)

Signals and slots are used for communication between objects.
When an object has changed in some way that might be interesting
for the outside world, it emits a signal to tell whoever is
listening. All slots that are connected to this signal will be
activated (called). It is even possible to connect a signal
directly to another signal (this will emit the second signal
immediately whenever the first is emitted.) There is no limitation
on the number of slots that can be connected to a signal.
The slots will be activated in the order they were connected
to the signal. This mechanism allows objects to be easily reused,
because the object that emits a signal does not need to know
to which objects the signals are connected.
Together, signals and slots make up a powerfull component
programming mechanism.

This implementation is provided by
Valeriy Onuchin (onuchin@sirius.ihep.su).


Function Members (Methods)

public:
TQClass(const char* name, Version_t cversion, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t showmembers, const char* dfil = 0, const char* ifil = 0, Int_t dl = 0, Int_t il = 0)
virtual~TQClass()
voidTObject::AbstractMethod(const char* method) const
static voidTClass::AddClass(TClass* cl)
voidTClass::AddImplFile(const char* filename, int line)
voidTClass::AddInstance(Bool_t heap = kFALSE)
static Bool_tTClass::AddRule(const char* rule)
voidTClass::AdoptMemberStreamer(const char* name, TMemberStreamer* strm)
voidTClass::AdoptReferenceProxy(TVirtualRefProxy* proxy)
voidTClass::AdoptSchemaRules(ROOT::TSchemaRuleSet* rules)
voidTClass::AdoptStreamer(TClassStreamer* strm)
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
static Int_tTClass::AutoBrowse(TObject* obj, TBrowser* browser)
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTClass::Browse(TBrowser* b)
Int_tTClass::Browse(void* obj, TBrowser* b) const
voidTClass::BuildEmulatedRealData(const char* name, Long_t offset, TClass* cl)
voidTClass::BuildRealData(void* pointer = 0, Bool_t isTransient = kFALSE)
voidTClass::CalculateStreamerOffset() const
Bool_tTClass::CallShowMembers(void* obj, TMemberInspector& insp, Int_t isATObject = -1) const
Bool_tTClass::CanIgnoreTObjectStreamer()
Bool_tTClass::CanSplit() const
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TClass::Clone(const char* newname = "") const
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
virtual Int_tTNamed::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
virtual voidTNamed::Copy(TObject& named) const
voidTClass::CopyCollectionProxy(const TVirtualCollectionProxy&)
voidTDictionary::CreateAttributeMap()
virtual voidTObject::Delete(Option_t* option = "")MENU
voidTClass::DeleteArray(void* ary, Bool_t dtorOnly = kFALSE)
virtual voidTQObject::Destroyed()SIGNAL
voidTClass::Destructor(void* obj, Bool_t dtorOnly = kFALSE)
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTClass::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTClass::Dump() const
voidTClass::Dump(void* obj) const
void*TClass::DynamicCast(const TClass* base, void* obj, Bool_t up = kTRUE)
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
char*TClass::EscapeChars(const char* text) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
TVirtualStreamerInfo*TClass::FindConversionStreamerInfo(const char* onfile_classname, UInt_t checksum) const
TVirtualStreamerInfo*TClass::FindConversionStreamerInfo(const TClass* onfile_cl, UInt_t checksum) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TVirtualStreamerInfo*TClass::FindStreamerInfo(UInt_t checksum) const
TVirtualStreamerInfo*TClass::FindStreamerInfoAbstractEmulated(UInt_t checksum) const
TClass*TClass::GetActualClass(const void* object) const
TDictAttributeMap*TDictionary::GetAttributeMap() const
TClass*TClass::GetBaseClass(const char* classname)
TClass*TClass::GetBaseClass(const TClass* base)
Int_tTClass::GetBaseClassOffset(const TClass* base)
TClass*TClass::GetBaseDataMember(const char* datamember)
UInt_tTClass::GetCheckSum(TClass::ECheckSum code = kCurrentCheckSum) const
static TClass*TClass::GetClass(const char* name, Bool_t load = kTRUE, Bool_t silent = kFALSE)
static TClass*TClass::GetClass(const type_info& typeinfo, Bool_t load = kTRUE, Bool_t silent = kFALSE)
ClassInfo_t*TClass::GetClassInfo() const
Int_tTClass::GetClassSize() const
Version_tTClass::GetClassVersion() const
TVirtualCollectionProxy*TClass::GetCollectionProxy() const
const char*TClass::GetContextMenuTitle() const
TVirtualStreamerInfo*TClass::GetConversionStreamerInfo(const char* onfile_classname, Int_t version) const
TVirtualStreamerInfo*TClass::GetConversionStreamerInfo(const TClass* onfile_cl, Int_t version) const
TVirtualStreamerInfo*TClass::GetCurrentStreamerInfo()
TDataMember*TClass::GetDataMember(const char* datamember) const
Long_tTClass::GetDataMemberOffset(const char* membername) const
Short_tTClass::GetDeclFileLine() const
const char*TClass::GetDeclFileName() const
ROOT::DelFunc_tTClass::GetDelete() const
ROOT::DelArrFunc_tTClass::GetDeleteArray() const
ROOT::DesFunc_tTClass::GetDestructor() const
static VoidFuncPtr_tTClass::GetDict(const char* cname)
static VoidFuncPtr_tTClass::GetDict(const type_info& info)
static TDictionary*TDictionary::GetDictionary(const char* name)
static TDictionary*TDictionary::GetDictionary(const type_info& typeinfo)
ROOT::DirAutoAdd_tTClass::GetDirectoryAutoAdd() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
UInt_tTClass::GetHeapInstanceCount() const
virtual const char*TObject::GetIconName() const
Short_tTClass::GetImplFileLine() const
const char*TClass::GetImplFileName() const
UInt_tTClass::GetInstanceCount() const
TVirtualIsAProxy*TClass::GetIsAProxy() const
TVirtualStreamerInfo*TClass::GetLastReadInfo() const
TList*TClass::GetListOfAllPublicDataMembers()
TList*TClass::GetListOfAllPublicMethods()
TList*TClass::GetListOfBases()
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TClass::GetListOfDataMembers()
TList*TClass::GetListOfMethods()
TList*TClass::GetListOfRealData() const
TList*TQObject::GetListOfSignals() const
voidTClass::GetMenuItems(TList* listitems)
TList*TClass::GetMenuList() const
ROOT::MergeFunc_tTClass::GetMerge() const
TMethod*TClass::GetMethod(const char* method, const char* params)
TMethod*TClass::GetMethodAllAny(const char* method)
TMethod*TClass::GetMethodAny(const char* method)
TMethod*TClass::GetMethodWithPrototype(const char* method, const char* proto)
virtual const char*TNamed::GetName() const
Int_tTClass::GetNdata()
ROOT::NewFunc_tTClass::GetNew() const
ROOT::NewArrFunc_tTClass::GetNewArray() const
Int_tTClass::GetNmethods()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TClass**TClass::GetPersistentRef() const
TRealData*TClass::GetRealData(const char* name) const
TVirtualRefProxy*TClass::GetReferenceProxy() const
ROOT::ResetAfterMergeFunc_tTClass::GetResetAfterMerge() const
const ROOT::TSchemaRuleSet*TClass::GetSchemaRules() const
ROOT::TSchemaRuleSet*TClass::GetSchemaRules(Bool_t create = kFALSE)
const char*TClass::GetSharedLibs()
ShowMembersFunc_tTClass::GetShowMembersWrapper() const
TClassStreamer*TClass::GetStreamer() const
ClassStreamerFunc_tTClass::GetStreamerFunc() const
TVirtualStreamerInfo*TClass::GetStreamerInfo(Int_t version = 0) const
TVirtualStreamerInfo*TClass::GetStreamerInfoAbstractEmulated(Int_t version = 0) const
TObjArray*TClass::GetStreamerInfos() const
virtual const char*TNamed::GetTitle() const
const type_info*TClass::GetTypeInfo() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
Bool_tTClass::HasDefaultConstructor() const
virtual ULong_tTNamed::Hash() const
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
voidTClass::IgnoreTObjectStreamer(Bool_t ignore = kTRUE)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTClass::InheritsFrom(const char* cl) const
virtual Bool_tTClass::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTClass::InterpretedShowMembers(void* obj, TMemberInspector& insp)
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
static TClass::ENewTypeTClass::IsCallingNew()
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTClass::IsFolder() const
Bool_tTClass::IsFolder(void* obj) const
Bool_tTClass::IsForeign() const
Bool_tTClass::IsLoaded() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTClass::IsStartingWithTObject() const
Bool_tTClass::IsTObject() const
Bool_tTClass::IsVersioned() const
Bool_tTObject::IsZombie() const
static TClass*TClass::Load(TBuffer& b)
static voidTQObject::LoadRQ_OBJECT()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTClass::ls(Option_t* opt = "") const
voidTClass::MakeCustomMenuList()
Bool_tTClass::MatchLegacyCheckSum(UInt_t checksum) const
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
voidTClass::Move(void* arenaFrom, void* arenaTo) const
void*TClass::New(TClass::ENewType defConstructor = kClassNew) const
void*TClass::New(void* arena, TClass::ENewType defConstructor = kClassNew) const
void*TClass::NewArray(Long_t nElements, TClass::ENewType defConstructor = kClassNew) const
void*TClass::NewArray(Long_t nElements, void* arena, TClass::ENewType defConstructor = kClassNew) const
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTClass::PostLoadCheck()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Long_tTClass::Property() const
virtual Int_tTObject::Read(const char* name)
Int_tTClass::ReadBuffer(TBuffer& b, void* pointer)
Int_tTClass::ReadBuffer(TBuffer& b, void* pointer, Int_t version, UInt_t start, UInt_t count)
static Int_tTClass::ReadRules()
static Int_tTClass::ReadRules(const char* filename)
virtual voidTObject::RecursiveRemove(TObject* obj)
static voidTClass::RemoveClass(TClass* cl)
voidTClass::ReplaceWith(TClass* newcl, Bool_t recurse = kTRUE) const
voidTObject::ResetBit(UInt_t f)
voidTClass::ResetClassInfo(Long_t tagnum)
voidTClass::ResetInstanceCount()
voidTClass::ResetMenuList()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTClass::SetCanSplit(Int_t splitmode)
voidTClass::SetCollectionProxy(const ROOT::TCollectionProxyInfo&)
voidTClass::SetContextMenuTitle(const char* title)
voidTClass::SetCurrentStreamerInfo(TVirtualStreamerInfo* info)
voidTClass::SetDeclFile(const char* name, int line)
voidTClass::SetDelete(ROOT::DelFunc_t deleteFunc)
voidTClass::SetDeleteArray(ROOT::DelArrFunc_t deleteArrayFunc)
voidTClass::SetDestructor(ROOT::DesFunc_t destructorFunc)
voidTClass::SetDirectoryAutoAdd(ROOT::DirAutoAdd_t dirAutoAddFunc)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTClass::SetGlobalIsA(IsAGlobalFunc_t)
voidTClass::SetImplFileName(const char* implFileName)
voidTClass::SetLastReadInfo(TVirtualStreamerInfo* info)
voidTClass::SetMemberStreamer(const char* name, MemberStreamerFunc_t strm)
voidTClass::SetMerge(ROOT::MergeFunc_t mergeFunc)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidTClass::SetNew(ROOT::NewFunc_t newFunc)
voidTClass::SetNewArray(ROOT::NewArrFunc_t newArrayFunc)
static voidTObject::SetObjectStat(Bool_t stat)
voidTClass::SetResetAfterMerge(ROOT::ResetAfterMergeFunc_t resetFunc)
voidTClass::SetStreamerFunc(ClassStreamerFunc_t strm)
TVirtualStreamerInfo*TClass::SetStreamerInfo(Int_t version, const char* info = "")
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTClass::SetUnloaded()
virtual voidShowMembers(TMemberInspector&)
Int_tTClass::Size() const
virtual Int_tTNamed::Sizeof() const
voidTClass::Store(TBuffer& b) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Int_tTClass::WriteBuffer(TBuffer& b, void* pointer, const char* info = "")
protected:
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TVirtualStreamerInfo*TClass::FindStreamerInfo(TObjArray* arr, UInt_t checksum) const
static THashTable*TClass::GetClassShortTypedefHash()
virtual void*TQObject::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidTObject::MakeZombie()
private:
TQClass(const TClass&)
TQClass&operator=(const TQClass&)

Data Members

protected:
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
TStringTNamed::fNameobject identifier
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
TStringTNamed::fTitleobject title
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TQClass(const TClass& )
{}
TQClass& operator=(const TQClass& )
{ return *this; }
TQClass(const char* name, Version_t cversion, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t showmembers, const char* dfil = 0, const char* ifil = 0, Int_t dl = 0, Int_t il = 0)
{ }
virtual ~TQClass()
{ Disconnect(); }