Log of /trunk/core/base/inc/TQObject.h
Parent Directory
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
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
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
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
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
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
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
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
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
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
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
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
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.