[root] / trunk / core / base / inc / TQObject.h Repository:
ViewVC logotype

Log of /trunk/core/base/inc/TQObject.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48786 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 1 14:14:01 2013 UTC (22 months, 3 weeks ago) by axel
File length: 9634 byte(s)
Diff to previous 22961
cling knows PP macros; no need for LoadRQ_OBJECT() to inject the macro into the interpreter.

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 9670 byte(s)
Diff to previous 22791
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 22791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 20 15:33:49 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9670 byte(s)
Diff to previous 22539
added new static methods:
   AreAllSignalsBlocked()
   BlockAllSignals(Bool_t)
which allows to block the emission of all signals.

Revision 22539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 8 14:36:37 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9498 byte(s)
Diff to previous 20877
From Alja, Bertrand & Matevz: merged branches/dev/fireworks 21757:22514.

This includes:

- development for event-displays of ALICE and CMS since 5.18 in eve/,
  gl/ and gui/;

- many new tutorials and demos for eve/;

- fix in TQObject to support class-signals from all base-classes.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9180 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9180 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9229 byte(s)
Diff to previous 18019
remove :$ from tag line

Revision 18019 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 19 15:48:37 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9239 byte(s)
Diff to previous 17996
re-export all methods to CINT, they are needed for the signal-slots.

Revision 17996 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 18 14:56:42 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 9291 byte(s)
Diff to previous 17607
For abstract interfaces, generate the CINT stub functions only for
the strict minimum of functions.
Keep only one pure function known to CINT such that CINT can
recognize that the class is abstract and has pure functions.
This optimization gains about one megabyte of generated code.

Revision 17607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 14:20:21 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 9241 byte(s)
Diff to previous 17588
-Remove inclusion of Varargs.h

Revision 17588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 30 17:58:38 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 9290 byte(s)
Diff to previous 17554
From Ilka:
Fix broken include due to an invalid comment.

Revision 17554 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 10:18:52 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 9095 byte(s)
Diff to previous 15849
Remove inclusion of TClass.h. This should reduce considerably the number
of classes to be recompiled when chamging TClass.h in the future.

Revision 15849 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9213 byte(s)
Diff to previous 15181
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.

Revision 15181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 15:13:03 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9372 byte(s)
Diff to previous 15134
one more round of code cleanup: change NULL by 0 in all C++ code.

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 9394 byte(s)
Diff to previous 14342
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 14342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 21 05:20:34 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/base/inc/TQObject.h
File length: 8908 byte(s)
Diff to previous 14335
Add include statements that are no longer strictly required but
are needed to preserve backward compatibility.

Revision 14335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:42:28 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/base/inc/TQObject.h
File length: 8839 byte(s)
Diff to previous 11902
Extract the TQClass declaration from the TQObject header.
The TQClass declaration is only needed in the dictionaries and
introduce a spurrious depedency of any TQObject on TClass.h
CVS ----------------------------------------------------------------------

Revision 11902 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 16:42:59 2005 UTC (9 years, 7 months ago) by pcanal
Original Path: trunk/base/inc/TQObject.h
File length: 10406 byte(s)
Diff to previous 11893
TIsaProxy and TVirtualIsaProxy are renamed TIsAproxy and TVirtualIsAProxy

Revision 11893 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 03:00:05 2005 UTC (9 years, 8 months ago) by pcanal
Original Path: trunk/base/inc/TQObject.h
File length: 10403 byte(s)
Diff to previous 11318
From Markus:

This patch significantly improves the IsA lookup for foreign
classes (i.e the lookup by typeid). It is inspired from the
implementation used by POOL/Reflex.

The type of the fIsA data member is changed from a static function
with the signature TClass *(*IsAFunc_t)(const void *obj) to
a functor similar to
class TIsaProxy  {
    private:
      TClass* fClass;
      void*   fContext;
      std::map<const std::type_info*, TClass*> fSubTypes;
      IsaProxy(TClass* cl, void* ctx);
      IsaProxy(const IsaProxy& copy);
      TClass* operator(const void* obj);
  };

The map is empty in the beginning; then slowly as new types come
along which are calling fIsa(obj) first a local lookup is
done by typeid (We also want to keep explicitly the
last TClass), then a semi-local lookup is done (in the map)
and if all fails the "big" lookup in gROOT->GetClass(typeid)
is done. This last call is used to fill the map, so that
after the first unknown object types the following calls can
be satisfied by the map. i.e. the map is self-learning.

Revision 11318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 13 15:05:31 2005 UTC (9 years, 10 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 10388 byte(s)
Diff to previous 7004
add support for native long long handling. Also added new emit method:
EmitVA() which allows a variable length argument list which makes
multi argument signal and slot methods with float and double arguments
possible (was not possible in the past).

Revision 7004 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 17:22:38 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 10177 byte(s)
Diff to previous 6632
 From Valeriy Onuchin

- I think it's very usefull ( at least for debugging )
  to have TGFrame,TGCompositeFrame::Print method,
  which will print frame paramters (id, parent id, size, position etc.)

- I think few protected methods in TQObject clas must be
  public. That will allow to "SaveAs" TQObject connections

Revision 6632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 18:01:56 2003 UTC (11 years, 8 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 10177 byte(s)
Diff to previous 6368
also support emitting a signals with Long64_t and ULong64_t arguments.

Revision 6368 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 16:55:12 2003 UTC (11 years, 9 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 10081 byte(s)
Diff to previous 5717
G__CallFunc::SetArgArray() does now take an argument count if less than
all arguments are set (in case of default arguments one does not have
to specify all arguments). This change is now reflected in TMethodCall
and the classes that use this call. Execept for the signal/slot and
plugin manager code this is backward compatible in the ROOT sources
(e.g. since in TF1 the array contained always the values for all arguments).
The changes in the signal/slot and pluginmanager code make this change
also backward compatible for the user code.

Revision 5717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 10084 byte(s)
Diff to previous 4991
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.

Revision 4991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 19 11:41:01 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 10087 byte(s)
Diff to previous 4561
small cosmetic code layout changes and some comment updates.

Revision 4561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 17 20:40:01 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 10084 byte(s)
Diff to previous 4516
Fix a compilation problem on Mac OS X (Philippe, George)

Revision 4516 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 10 21:32:09 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 10060 byte(s)
Diff to previous 4504
Code cleanup by Philippe

Revision 4504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 9 22:56:43 2002 UTC (12 years, 8 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 10035 byte(s)
Diff to previous 4498
fix typo in comment.

Revision 4498 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 9 20:22:01 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 10034 byte(s)
Diff to previous 4460
New attempt to introduce the new additions (Philippe) to the I/O system
as well as as the new version of ClassDef/ClassImp.
With the additions to the I/O, it is now possible to generate
a dictionary for classes not instrumented with ClassDef.

Revision 4460 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 6 10:11:08 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 9163 byte(s)
Diff to previous 4446
Revert to the 3.03/05 situation.
The new I/O scheme still requires more work due
to portability problems and the size of the dictionaries.

Revision 4446 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 3 14:30:43 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/inc/TQObject.h
File length: 10033 byte(s)
Diff to previous 4082
Introduce a long patch by Philippe. With this patch, ROOT I/O
should be able to support foreign not-ROOT instrumented classes.
More information will come later.
This patch is tentatively put in the CVS head to facilitate
testing on all platforms.

Revision 4082 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 23 18:41:34 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9163 byte(s)
Diff to previous 3544
add Emit(Bool_t) to avoid to have to cast the bool to some other type.

Revision 3544 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 28 12:52:04 2001 UTC (13 years ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 9071 byte(s)
Diff to previous 3396
fix in CheckConnectArgs() in case signal is emitted via TQObjSender delegation
class (via RQ_OBJECT macro). To allow full checking of signal/slot consistency
in interpreted classes pass string containing class name to RQ_OBJECT macro
(see guitest.C). To be backward compatible also allow old form, but with
reduced checking capability.

Revision 3396 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 5 11:18:03 2001 UTC (13 years, 1 month ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8565 byte(s)
Diff to previous 2039
correct signature of ConnectCINT()  (char* to const char*).

Revision 2039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 21 17:20:23 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8526 byte(s)
Diff to previous 2023
some more fixes for TROOT creation and destruction.

Revision 2023 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 20 17:29:57 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8428 byte(s)
Diff to previous 1861
disconnect all signals in ~TQClass.

Revision 1861 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 28 16:49:01 2001 UTC (13 years, 10 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8414 byte(s)
Diff to previous 1196
TQObjSender dtor disconnects now properly signals from slots.

Revision 1196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 18:23:09 2000 UTC (14 years, 1 month ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8400 byte(s)
Diff to previous 873
comment out some unused arguments in inline methods.

Revision 873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 02:26:01 2000 UTC (14 years, 2 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8390 byte(s)
Diff to previous 830
provide valid Streamer for TQObject, altough none of its current members are
persistent. A top level base class must have a valid Streamer (vers id>0)
otherwise you will get an error message when writing a derived class.

Revision 830 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 16:28:38 2000 UTC (14 years, 2 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8388 byte(s)
Diff to previous 811
small cosmetics.

Revision 811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 22 19:21:29 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8388 byte(s)
Diff to previous 795
several small enhancements in the signal/slots classes. Added the method
TQObject::HasConnection() to see if a signal has been connected to.

Revision 795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 20 12:15:32 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8330 byte(s)
Diff to previous 774
remove const from GetSender() in TQObjSender (to override TQObject's
GetSender()).

Revision 774 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Oct 17 12:19:19 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/base/inc/TQObject.h
File length: 8288 byte(s)
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).

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9