Definition at line 644 of file TRecorder.h.
Public Member Functions | |
void | FilterEventPave () |
Change the state of the flag to kTRUE when you are recording a pavelabel. | |
virtual TRecorder::ERecorderState | GetState () const |
void | RecordCmdEvent (const char *line) |
Records commandline event (text and time) ans saves the previous commandline event This 1 event delay in saving ensures that the last commandline events 'TRecorder::Stop' will be not stored. | |
void | RecordExtraEvent (TString line, TTime extTime) |
Records TLatex or TPaveLabel object created in TCreatePrimitives, ExtTime is needed for the correct replay of these events. | |
void | RecordGuiBldEvent (Event_t *e) |
Special case for the gui builder, having a timer handling some of the events. | |
void | RecordGuiCNEvent (Event_t *e) |
Records GUI Event_t *e of type kConfigureNotify. | |
void | RecordGuiEvent (Event_t *e, Window_t wid) |
Records GUI Event_t *e different from kConfigureNotify (they are recorded in TRecorderRecording::RecordGuiCNEvent) | |
void | RecordMousePosition () |
Try to record all mouse moves... | |
void | RecordPave (const TObject *obj) |
Records TPaveLabel object created in TCreatePrimitives::Pave() | |
void | RecordText (const TObject *obj) |
Records TLatex object created in TCreatePrimitives::Text() | |
void | RegisterWindow (Window_t w) |
This method is called when RegisteredWindow(Window_t) is emitted from TGClient. | |
void | StartEditing () |
Memorize the starting time of editinga TLatex or a TPaveLabel. | |
virtual void | Stop (TRecorder *r, Bool_t guiCommand) |
Disconnects all slots and stopps recording. | |
![]() | |
virtual | ~TRecorderState () |
virtual void | ListCmd (const char *) |
virtual void | ListGui (const char *) |
virtual void | Pause (TRecorder *) |
virtual void | PrevCanvases (const char *, Option_t *) |
virtual Bool_t | Replay (TRecorder *, const char *, Bool_t, TRecorder::EReplayModes) |
virtual void | ReplayStop (TRecorder *) |
virtual void | Resume (TRecorder *) |
virtual void | Start (TRecorder *, const char *, Option_t *, Window_t *, Int_t) |
Protected Member Functions | |
TRecorderRecording (TRecorder *r, const char *filename, Option_t *option, Window_t *w, Int_t winCount) | |
Initializes TRecorderRecording for recording What is allocated here is deleted in destructor. | |
Bool_t | StartRecording () |
Connects appropriate signals and slots in order to gain all registered windows and processed events in ROOT and then starts recording. | |
![]() | |
void | ChangeState (TRecorder *r, TRecorderState *s, Bool_t deletePreviousState) |
Private Member Functions | |
virtual | ~TRecorderRecording () |
Freeing of allocated memory. | |
void | CopyEvent (Event_t *e, Window_t wid) |
Copies all items of given event to fGuiEvent. | |
Bool_t | IsFiltered (Window_t id) |
Returns kTRUE if passed id belongs to window IDs of recorder GUI itself. | |
void | SetTypeOfConfigureNotify (Event_t *e) |
Sets type of kConfigureNotify event to one of EConfigureNotify. | |
Friends | |
class | TRecorderInactive |
#include <TRecorder.h>
|
privatevirtual |
Freeing of allocated memory.
Definition at line 1255 of file TRecorder.cxx.
|
protected |
Initializes TRecorderRecording for recording What is allocated here is deleted in destructor.
Definition at line 1207 of file TRecorder.cxx.
Copies all items of given event to fGuiEvent.
Definition at line 1666 of file TRecorder.cxx.
void TRecorderRecording::FilterEventPave | ( | ) |
Change the state of the flag to kTRUE when you are recording a pavelabel.
Definition at line 1639 of file TRecorder.cxx.
|
inlinevirtual |
Implements TRecorderState.
Definition at line 689 of file TRecorder.h.
Returns kTRUE if passed id belongs to window IDs of recorder GUI itself.
Definition at line 1710 of file TRecorder.cxx.
void TRecorderRecording::RecordCmdEvent | ( | const char * | line | ) |
Records commandline event (text and time) ans saves the previous commandline event This 1 event delay in saving ensures that the last commandline events 'TRecorder::Stop' will be not stored.
Definition at line 1419 of file TRecorder.cxx.
Records TLatex or TPaveLabel object created in TCreatePrimitives, ExtTime is needed for the correct replay of these events.
Definition at line 1656 of file TRecorder.cxx.
Special case for the gui builder, having a timer handling some of the events.
Definition at line 1481 of file TRecorder.cxx.
Records GUI Event_t *e of type kConfigureNotify.
It is called via signal-slot when an kConfigureNotify event is processed in TGFrame::HandleEvent
Definition at line 1530 of file TRecorder.cxx.
Records GUI Event_t *e different from kConfigureNotify (they are recorded in TRecorderRecording::RecordGuiCNEvent)
It is called via signal-slot when an event is processed in TGClient::HandleEvent(Event_t *event) or in TGClient::HandleMaskEvent(Event_t *event, Window_t wid)
If signal is emitted from TGClient::HandleEvent(Event_t *event), then wid = 0
Definition at line 1447 of file TRecorder.cxx.
void TRecorderRecording::RecordMousePosition | ( | ) |
Try to record all mouse moves...
Definition at line 1499 of file TRecorder.cxx.
Records TPaveLabel object created in TCreatePrimitives::Pave()
Definition at line 1553 of file TRecorder.cxx.
Records TLatex object created in TCreatePrimitives::Text()
Definition at line 1597 of file TRecorder.cxx.
This method is called when RegisteredWindow(Window_t) is emitted from TGClient.
Definition at line 1406 of file TRecorder.cxx.
Sets type of kConfigureNotify event to one of EConfigureNotify.
On Linux paremeters of GUI event kConfigureNotify are different than parameters of the same event executed on Windows. Therefore we need to distinguish [on Linux], if the event is movement or resize event. On Windows, we do not need to distinguish them.
Definition at line 1728 of file TRecorder.cxx.
void TRecorderRecording::StartEditing | ( | ) |
Memorize the starting time of editinga TLatex or a TPaveLabel.
Definition at line 1647 of file TRecorder.cxx.
|
protected |
Connects appropriate signals and slots in order to gain all registered windows and processed events in ROOT and then starts recording.
Definition at line 1272 of file TRecorder.cxx.
Disconnects all slots and stopps recording.
Reimplemented from TRecorderState.
Definition at line 1366 of file TRecorder.cxx.
|
friend |
Definition at line 683 of file TRecorder.h.
|
private |
Definition at line 658 of file TRecorder.h.
|
private |
Definition at line 667 of file TRecorder.h.
|
private |
Definition at line 670 of file TRecorder.h.
|
private |
Definition at line 662 of file TRecorder.h.
|
private |
Definition at line 668 of file TRecorder.h.
|
private |
Definition at line 663 of file TRecorder.h.
|
private |
Definition at line 655 of file TRecorder.h.
|
private |
Definition at line 678 of file TRecorder.h.
|
private |
Definition at line 677 of file TRecorder.h.
|
private |
Definition at line 680 of file TRecorder.h.
|
private |
Definition at line 666 of file TRecorder.h.
|
private |
Definition at line 661 of file TRecorder.h.
|
private |
Definition at line 657 of file TRecorder.h.
|
private |
Definition at line 652 of file TRecorder.h.
|
private |
Definition at line 674 of file TRecorder.h.
|
private |
Definition at line 656 of file TRecorder.h.
|
private |
Definition at line 665 of file TRecorder.h.
|
private |
Definition at line 660 of file TRecorder.h.