Definition at line 552 of file TRecorder.h.
#include <TRecorder.h>
◆ ~TRecorderReplaying()
TRecorderReplaying::~TRecorderReplaying |
( |
| ) |
|
|
privatevirtual |
Closes all signal-slot connections Frees all memory allocated in contructor.
Definition at line 404 of file TRecorder.cxx.
◆ TRecorderReplaying()
TRecorderReplaying::TRecorderReplaying |
( |
const char * |
filename | ) |
|
|
protected |
Allocates all necessary data structures used for replaying What is allocated here is deleted in destructor.
Definition at line 370 of file TRecorder.cxx.
◆ CanOverlap()
Bool_t TRecorderReplaying::CanOverlap |
( |
| ) |
|
|
private |
ButtonPress and ButtonRelease must be sometimes replayed more times Example: pressing of a button opens small window and user chooses something from that window (color) Window must be opened while user is choosing.
Definition at line 829 of file TRecorder.cxx.
◆ Continue()
void TRecorderReplaying::Continue |
( |
| ) |
|
|
virtual |
Continues previously paused replaying.
Definition at line 969 of file TRecorder.cxx.
◆ FilterEvent()
◆ GetState()
◆ Initialize()
Initialization of data structures for replaying.
Start of replaying.
Return value:
- kTRUE = everything is OK and replaying has begun
- kFALSE = non existing or invalid log file, replaying has not started
Definition at line 436 of file TRecorder.cxx.
◆ Pause()
◆ PrepareNextEvent()
Bool_t TRecorderReplaying::PrepareNextEvent |
( |
| ) |
|
|
private |
Finds the next event in log file to replay and sets it to fNextEvent.
Reads both from CmdTree and GuiTree and chooses that event that becomes earlier
- fCmdTreeCounter determines actual position in fCmdTree
- fGuiTreeCounter determines actual position in fCmdTree
If GUI event should be replayed, we must first make sure that there is appropriate mapping for this event
RETURN VALUE: kFALSE = there is no event to be replayed kTRUE = there is still at least one event to be replayed. Cases:
- fNextEvent = 0 => We are waiting for the appropriate window to be registered
- fNextEvent != 0 => fNextEvent can be replayed (windows are ready)
Definition at line 724 of file TRecorder.cxx.
◆ RegisterWindow()
Creates mapping for the newly registered window w and adds this mapping to fWindowList.
Called by signal whenever a new window is registered during replaying.
The new window ID is mapped to the old one with the same number in the list of registered windows. It means that 1st new window is mapped to the 1st original, 2nd to the 2nd, Nth new to the Nth original.
Definition at line 541 of file TRecorder.cxx.
◆ RemapWindowReferences()
Bool_t TRecorderReplaying::RemapWindowReferences |
( |
| ) |
|
|
private |
All references to the old windows (IDs) in fNextEvent are replaced by new ones according to the mappings in fWindowList.
Definition at line 609 of file TRecorder.cxx.
◆ ReplayRealtime()
void TRecorderReplaying::ReplayRealtime |
( |
| ) |
|
Replays the next event.
It is called when fTimer times out. Every time fTimer is set again to time equal to time difference between current two events being replayed.
It can happen that execution of an event lasts different time during the recording and during the replaying. If fTimer times out too early and the previous event has not been yet replayed, it is usually postponed in order to keep events execution in the right order. The excpetions are determined by TRecorderReplaying::CanOverlap()
Definition at line 873 of file TRecorder.cxx.
◆ ReplayStop()
◆ TRecorderInactive
◆ TRecorderPaused
◆ fCanv
◆ fCmdEvent
◆ fCmdTree
TTree* TRecorderReplaying::fCmdTree |
|
private |
◆ fCmdTreeCounter
Int_t TRecorderReplaying::fCmdTreeCounter |
|
private |
◆ fEventReplayed
Bool_t TRecorderReplaying::fEventReplayed |
|
private |
◆ fExtraEvent
◆ fExtraTree
TTree* TRecorderReplaying::fExtraTree |
|
private |
◆ fExtraTreeCounter
Int_t TRecorderReplaying::fExtraTreeCounter |
|
private |
◆ fFile
TFile* TRecorderReplaying::fFile |
|
private |
◆ fFilterStatusBar
Bool_t TRecorderReplaying::fFilterStatusBar |
|
private |
◆ fGuiEvent
◆ fGuiTree
TTree* TRecorderReplaying::fGuiTree |
|
private |
◆ fGuiTreeCounter
Int_t TRecorderReplaying::fGuiTreeCounter |
|
private |
◆ fMutex
TMutex* TRecorderReplaying::fMutex |
|
private |
◆ fNextEvent
◆ fPreviousEventTime
TTime TRecorderReplaying::fPreviousEventTime |
|
private |
◆ fRecorder
◆ fRegWinCounter
Int_t TRecorderReplaying::fRegWinCounter |
|
private |
◆ fShowMouseCursor
Bool_t TRecorderReplaying::fShowMouseCursor |
|
private |
◆ fTimer
TTimer* TRecorderReplaying::fTimer |
|
private |
◆ fWaitingForWindow
Bool_t TRecorderReplaying::fWaitingForWindow |
|
private |
◆ fWin
◆ fWindowList
TList* TRecorderReplaying::fWindowList |
|
private |
◆ fWinTree
TTree* TRecorderReplaying::fWinTree |
|
private |
◆ fWinTreeEntries
Int_t TRecorderReplaying::fWinTreeEntries |
|
private |
[legend]
The documentation for this class was generated from the following files: