[root] / trunk / core / base / src / TTask.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TTask.cxx

Parent Directory Parent Directory


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

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 11128 byte(s)
Diff to previous 31827
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 31827 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 11 07:52:09 2009 UTC (5 years, 1 month ago) by brun
File length: 11098 byte(s)
Diff to previous 31784
Correct implementation of the copy constructor and assignment operator

Revision 31784 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 10 13:47:29 2009 UTC (5 years, 1 month ago) by brun
File length: 10732 byte(s)
Diff to previous 31717
Temp fix such that classes deriving from TTask do not break.

Revision 31717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 10:05:46 2009 UTC (5 years, 1 month ago) by rdm
File length: 9959 byte(s)
Diff to previous 22961
From Coverity:
remove incorrect assignment and copy ctor, describe them unimplemented.

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: 10514 byte(s)
Diff to previous 20877
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

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/src/TTask.cxx
File length: 10514 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/src/TTask.cxx
File length: 10514 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/src/TTask.cxx
File length: 10562 byte(s)
Diff to previous 15742
remove :$ from tag line

Revision 15742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 05:27:55 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 10572 byte(s)
Diff to previous 15176
From Eddy:
Fix many typos in comments

Revision 15176 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 09:27:12 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 10567 byte(s)
Diff to previous 15134
Fix coding conventions violations

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/src/TTask.cxx
File length: 10529 byte(s)
Diff to previous 13258
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 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/base/src/TTask.cxx
File length: 10177 byte(s)
Diff to previous 7432
White spaces and comments update

Revision 7432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 13 18:24:22 2003 UTC (11 years, 3 months ago) by rdm
Original Path: trunk/base/src/TTask.cxx
File length: 10153 byte(s)
Diff to previous 5717
It seems, there is a typo in the "if(" in the TTask::Abort. Should be
"if(!fgBeginTask)".

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/src/TTask.cxx
File length: 10152 byte(s)
Diff to previous 4565
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 4565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 18 08:43:30 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 10058 byte(s)
Diff to previous 3748
Add explicit calls to the base classes copy constructors in the copy constructors.
This is required by gcc on MacOS X

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TTask.cxx
File length: 10043 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TTask.cxx
File length: 10043 byte(s)
Diff to previous 1205
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 10043 byte(s)
Diff to previous 591
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 591 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 6 14:20:10 2000 UTC (14 years, 4 months ago) by rdm
Original Path: trunk/base/src/TTask.cxx
File length: 10038 byte(s)
Diff to previous 583
cosmetic changes to adhere to coding convention (statics start with fg).

Revision 583 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 6 09:29:20 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 10110 byte(s)
Diff to previous 576
minor changes for CVS headers

Revision 576 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 11:11:00 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 9775 byte(s)
Diff to previous 568
Rename TTask::Execute to TTask::Exec to avoid a clash with TObject::Execute

Revision 568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 09:21:24 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 9786 byte(s)
Diff to previous 554
The following headers and classes have been modified to take into account;
  - the new signature of IsFolder (now const)
  - the new TObject::FindObject
  - the fact that the static functions of TObject have been moved to TROOT.

Revision 554 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Sep 4 10:39:57 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TTask.cxx
File length: 9777 byte(s)
Add a new Class TTask.
TTask is a base class that can be used to build a complex tree of Tasks.
Each TTask derived class may contain other TTasks that can be executed
recursively, such that a complex program can be dynamically built and executed
by invoking the services of the top level Task or one of its subtasks.

Use the TTask::Add function to add a subtask to an existing TTask.
To execute a TTask, one calls the ExecuteTask function. ExecuteTask will
call recursively:
     - the TTask::Execute function of the derived class
     - TTask::ExecuteTasks to execute for each task the list of its subtasks.
If the top level task is added to the list of Root
browsable objects, the tree of tasks can be visualized by the Root browser.
The browser can be used to start a task, set break points at the beginning
of a task or when the task has completed. At a breakpoint, data structures
generated by the execution up this point may be inspected asyncronously
and then the execution can be resumed by selecting the "Continue" function
of a task.

A TTask tree may be made persistent, saving the status of all the tasks.
See the class description for an example.

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