GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4Display Class Reference

#include <TGo4Display.h>

Inheritance diagram for TGo4Display:

Public Member Functions

 TGo4Display (Bool_t isserver=kTRUE)
 TGo4Display (Bool_t isserver=kTRUE)
virtual ~TGo4Display ()
virtual ~TGo4Display ()
Bool_t DisconnectSlave (const char *name=nullptr, Bool_t waitforslave=kTRUE) override
 Add functionality to reset gui appearance here:
Bool_t DisconnectSlave (const char *name=nullptr, Bool_t waitforslave=kTRUE) override
 Add functionality to reset gui appearance here:
void DisplayData (TObject *)
void DisplayData (TObject *)
void DisplayLog (TGo4Status *Status)
void DisplayLog (TGo4Status *Status)
void SetAnalysis (TGo4AnalysisProxy *an)
void SetAnalysis (TGo4AnalysisProxy *an)
Public Member Functions inherited from TGo4Master
 TGo4Master ()
 TGo4Master ()
 TGo4Master (const char *name, Bool_t isserver=kTRUE, const char *serverhost="localhost", UInt_t negotport=5000)
 TGo4Master (const char *name, Bool_t isserver=kTRUE, const char *serverhost="localhost", UInt_t negotport=5000)
virtual ~TGo4Master ()
virtual ~TGo4Master ()
virtual TGo4TaskHandlerCommandListCreateCommandList ()
 factory method for command list; overridden by implementation
virtual TGo4TaskHandlerCommandListCreateCommandList ()
 factory method for command list; overridden by implementation
Bool_t SubmitCommand (const char *name)
 send command specified by name to the current slave task
Bool_t SubmitCommand (const char *name)
 send command specified by name to the current slave task
Bool_t SubmitCommand (TGo4Command *com)
 send given command to the current slave task.
Bool_t SubmitCommand (TGo4Command *com)
 send given command to the current slave task.
Bool_t SubmitEmergencyCommand (Go4EmergencyCommand_t val)
 send emergency quit command to the current slave task
Bool_t SubmitEmergencyCommand (Go4EmergencyCommand_t val)
 send emergency quit command to the current slave task
Public Member Functions inherited from TGo4TaskOwner
 TGo4TaskOwner ()
 TGo4TaskOwner ()
 TGo4TaskOwner (Bool_t isserver)
 TGo4TaskOwner (Bool_t isserver)
virtual ~TGo4TaskOwner ()
virtual ~TGo4TaskOwner ()
const char * GetName () const
const char * GetName () const
TGo4TaskGetTask () const
TGo4TaskGetTask () const
TMutex * GetTaskManagerMutex ()
 Access to taskmanager mutex; to be locked outside main mutex.
TMutex * GetTaskManagerMutex ()
 Access to taskmanager mutex; to be locked outside main mutex.
Bool_t IsBeingQuit ()
Bool_t IsBeingQuit ()
Bool_t IsConnected ()
Bool_t IsConnected ()
Bool_t IsServer () const
Bool_t IsServer () const
virtual void Quit ()
 Quit this instance and the owned task; method to be called from command object, may be overridden in user implementation.
virtual void Quit ()
 Quit this instance and the owned task; method to be called from command object, may be overridden in user implementation.
virtual Int_t StartWorkThreads ()
 Start the working threads of the task owner implementation; this method is used after the current connection has changed, to continue reading/writing the queues.
virtual Int_t StartWorkThreads ()
 Start the working threads of the task owner implementation; this method is used after the current connection has changed, to continue reading/writing the queues.
virtual Int_t StopWorkThreads ()
 stop the working threads of the task owne implementation; this method is used before the current connection is changed to prevent reading/writing and waiting for the wrong queues.
virtual Int_t StopWorkThreads ()
 stop the working threads of the task owne implementation; this method is used before the current connection is changed to prevent reading/writing and waiting for the wrong queues.
Public Member Functions inherited from TGo4CommandReceiver
 TGo4CommandReceiver ()
 TGo4CommandReceiver ()
virtual ~TGo4CommandReceiver ()
virtual ~TGo4CommandReceiver ()

Private Attributes

TGo4AnalysisProxyfxAnalysis {nullptr}
TGo4DisplayDrawerTimerfxDrawTimer {nullptr}
 Timer for drawing job.
TGo4DisplayLoggerTimerfxLogTimer {nullptr}
 Timer for status logging job.

Additional Inherited Members

Protected Member Functions inherited from TGo4TaskOwner
void SetTask (TGo4Task *task, Bool_t delold=kTRUE)
void SetTask (TGo4Task *task, Bool_t delold=kTRUE)

Detailed Description

Definition at line 24 of file TGo4Display.h.

Constructor & Destructor Documentation

◆ TGo4Display() [1/2]

TGo4Display::TGo4Display ( Bool_t isserver = kTRUE)

◆ ~TGo4Display() [1/2]

◆ TGo4Display() [2/2]

TGo4Display::TGo4Display ( Bool_t isserver = kTRUE)

◆ ~TGo4Display() [2/2]

virtual TGo4Display::~TGo4Display ( )
virtual

Member Function Documentation

◆ DisconnectSlave() [1/2]

Bool_t TGo4Display::DisconnectSlave ( const char * name = nullptr,
Bool_t waitforslave = kTRUE )
overridevirtual

Add functionality to reset gui appearance here:

Reimplemented from TGo4Master.

Definition at line 81 of file TGo4Display.cxx.

References TGo4Master::DisconnectSlave(), and fxAnalysis.

◆ DisconnectSlave() [2/2]

Bool_t TGo4Display::DisconnectSlave ( const char * name = nullptr,
Bool_t waitforslave = kTRUE )
overridevirtual

Add functionality to reset gui appearance here:

Reimplemented from TGo4Master.

References fxDrawTimer.

◆ DisplayData() [1/2]

void TGo4Display::DisplayData ( TObject * data)

Definition at line 65 of file TGo4Display.cxx.

References fxAnalysis.

◆ DisplayData() [2/2]

void TGo4Display::DisplayData ( TObject * )

◆ DisplayLog() [1/2]

void TGo4Display::DisplayLog ( TGo4Status * Status)

Definition at line 73 of file TGo4Display.cxx.

References fxAnalysis.

◆ DisplayLog() [2/2]

void TGo4Display::DisplayLog ( TGo4Status * Status)

◆ SetAnalysis() [1/2]

void TGo4Display::SetAnalysis ( TGo4AnalysisProxy * an)
inline

Definition at line 33 of file TGo4Display.h.

References fxAnalysis.

◆ SetAnalysis() [2/2]

void TGo4Display::SetAnalysis ( TGo4AnalysisProxy * an)
inline

Definition at line 33 of file TGo4Display.h.

References fxAnalysis.

Field Documentation

◆ fxAnalysis

TGo4AnalysisProxy * TGo4Display::fxAnalysis {nullptr}
private

◆ fxDrawTimer

TGo4DisplayDrawerTimer * TGo4Display::fxDrawTimer {nullptr}
private

Timer for drawing job.

Definition at line 42 of file TGo4Display.h.

Referenced by TGo4Display(), ~TGo4Display(), and DisconnectSlave().

◆ fxLogTimer

TGo4DisplayLoggerTimer * TGo4Display::fxLogTimer {nullptr}
private

Timer for status logging job.

Definition at line 45 of file TGo4Display.h.

Referenced by TGo4Display(), and ~TGo4Display().


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