Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRecorderInactive Class Reference

Represents state of TRecorder just after its creation.

Nor recording neither replaying is being executed in this state.

Not intended to be used by a user directly.

Definition at line 563 of file TRecorder.h.

Public Member Functions

 TRecorderInactive ()
 
 ~TRecorderInactive () override
 
TRecorder::ERecorderState GetState () const override
 
TClassIsA () const override
 
void ListCmd (const char *filename) override
 Prints out commandline events recorded in given file.
 
void ListGui (const char *filename) override
 Prints out GUI events recorded in given file.
 
void PrevCanvases (const char *filename, Option_t *option) override
 Save previous canvases in a .root file.
 
Bool_t Replay (TRecorder *r, const char *filename, Bool_t showMouseCursor, TRecorder::EReplayModes mode) override
 Switches from INACTIVE state of recorder to REPLAYING Return kTRUE if replaying has started or kFALSE if it is not possible (bad file etc.)
 
void Start (TRecorder *r, const char *filename, Option_t *option, Window_t *w=nullptr, Int_t winCount=0) override
 Switches from INACTIVE state to RECORDING and starts recording.
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TRecorderState
virtual ~TRecorderState ()
 
virtual void Pause (TRecorder *)
 
virtual void ReplayStop (TRecorder *)
 
virtual void Resume (TRecorder *)
 
virtual void Stop (TRecorder *, Bool_t)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static long DisplayValid (Long_t n)
 
static void DumpRootEvent (TRecGuiEvent *e, Int_t n)
 Prints out attributes of one GUI event TRecGuiEvent *e Int_n n is number of event if called in cycle.
 
- Static Public Member Functions inherited from TRecorderState
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

TSeqCollectionfCollect
 

Additional Inherited Members

- Protected Member Functions inherited from TRecorderState
void ChangeState (TRecorder *r, TRecorderState *s, Bool_t deletePreviousState)
 

#include <TRecorder.h>

Inheritance diagram for TRecorderInactive:
[legend]

Constructor & Destructor Documentation

◆ ~TRecorderInactive()

TRecorderInactive::~TRecorderInactive ( )
inlineoverride

Definition at line 570 of file TRecorder.h.

◆ TRecorderInactive()

TRecorderInactive::TRecorderInactive ( )
inline

Definition at line 571 of file TRecorder.h.

Member Function Documentation

◆ Class()

static TClass * TRecorderInactive::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TRecorderInactive::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TRecorderInactive::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 586 of file TRecorder.h.

◆ DeclFileName()

static const char * TRecorderInactive::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 586 of file TRecorder.h.

◆ DisplayValid()

static long TRecorderInactive::DisplayValid ( Long_t  n)
inlinestatic

Definition at line 582 of file TRecorder.h.

◆ DumpRootEvent()

void TRecorderInactive::DumpRootEvent ( TRecGuiEvent e,
Int_t  n 
)
static

Prints out attributes of one GUI event TRecGuiEvent *e Int_n n is number of event if called in cycle.

Definition at line 1066 of file TRecorder.cxx.

◆ GetState()

TRecorder::ERecorderState TRecorderInactive::GetState ( ) const
inlineoverridevirtual

Implements TRecorderState.

Definition at line 579 of file TRecorder.h.

◆ IsA()

TClass * TRecorderInactive::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TRecorderState.

Definition at line 586 of file TRecorder.h.

◆ ListCmd()

void TRecorderInactive::ListCmd ( const char *  filename)
overridevirtual

Prints out commandline events recorded in given file.

Reimplemented from TRecorderState.

Definition at line 982 of file TRecorder.cxx.

◆ ListGui()

void TRecorderInactive::ListGui ( const char *  filename)
overridevirtual

Prints out GUI events recorded in given file.

Reimplemented from TRecorderState.

Definition at line 1024 of file TRecorder.cxx.

◆ PrevCanvases()

void TRecorderInactive::PrevCanvases ( const char *  filename,
Option_t option 
)
overridevirtual

Save previous canvases in a .root file.

Reimplemented from TRecorderState.

Definition at line 1101 of file TRecorder.cxx.

◆ Replay()

Bool_t TRecorderInactive::Replay ( TRecorder r,
const char *  filename,
Bool_t  showMouseCursor,
TRecorder::EReplayModes  mode 
)
overridevirtual

Switches from INACTIVE state of recorder to REPLAYING Return kTRUE if replaying has started or kFALSE if it is not possible (bad file etc.)

Reimplemented from TRecorderState.

Definition at line 958 of file TRecorder.cxx.

◆ Start()

void TRecorderInactive::Start ( TRecorder r,
const char *  filename,
Option_t option,
Window_t w = nullptr,
Int_t  winCount = 0 
)
overridevirtual

Switches from INACTIVE state to RECORDING and starts recording.

Reimplemented from TRecorderState.

Definition at line 935 of file TRecorder.cxx.

◆ Streamer()

void TRecorderInactive::Streamer ( TBuffer )
overridevirtual

Reimplemented from TRecorderState.

◆ StreamerNVirtual()

void TRecorderInactive::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 586 of file TRecorder.h.

Member Data Documentation

◆ fCollect

TSeqCollection* TRecorderInactive::fCollect
private

Definition at line 567 of file TRecorder.h.

Libraries for TRecorderInactive:

The documentation for this class was generated from the following files: