GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Example application class; this class may also run as standalone application without the threaded client-server mechanism (e.g. More...
#include <TGo4ExampleApplication.h>
Public Member Functions | |
TGo4ExampleApplication (TGo4BufferQueue *datq=nullptr) | |
virtual | ~TGo4ExampleApplication () |
void | CommandAction1 () |
void | CommandAction2 () |
void | FillHistograms () |
TH1 * | GetHistogram () |
void | SendData (TNamed *data) |
put named data object into the current data queue; will be sent to the gui server | |
![]() | |
TGo4CommandReceiver () | |
virtual | ~TGo4CommandReceiver () |
Private Attributes | |
TGo4BufferQueue * | fxDataQ |
TH1D * | fxDemoHistogram |
Example application class; this class may also run as standalone application without the threaded client-server mechanism (e.g.
as later analysis class)
Definition at line 27 of file TGo4ExampleApplication.h.
TGo4ExampleApplication::TGo4ExampleApplication | ( | TGo4BufferQueue * | datq = nullptr | ) |
Definition at line 24 of file TGo4ExampleApplication.cxx.
References fxDataQ, fxDemoHistogram, GO4TRACE, TGo4CommandInvoker::Instance(), and TGo4CommandInvoker::Register().
|
virtual |
Definition at line 35 of file TGo4ExampleApplication.cxx.
References fxDemoHistogram, GO4TRACE, and TGo4CommandInvoker::UnRegister().
void TGo4ExampleApplication::CommandAction1 | ( | ) |
Definition at line 83 of file TGo4ExampleApplication.cxx.
References GetHistogram(), GO4TRACE, and SendData().
void TGo4ExampleApplication::CommandAction2 | ( | ) |
Definition at line 77 of file TGo4ExampleApplication.cxx.
References GO4TRACE.
void TGo4ExampleApplication::FillHistograms | ( | ) |
Definition at line 63 of file TGo4ExampleApplication.cxx.
References fxDemoHistogram, GO4TRACE, and TGo4LockGuard.
TH1 * TGo4ExampleApplication::GetHistogram | ( | ) |
Definition at line 57 of file TGo4ExampleApplication.cxx.
References fxDemoHistogram, and GO4TRACE.
Referenced by CommandAction1().
void TGo4ExampleApplication::SendData | ( | TNamed * | data | ) |
put named data object into the current data queue; will be sent to the gui server
Definition at line 42 of file TGo4ExampleApplication.cxx.
References fxDataQ, and GO4TRACE.
Referenced by CommandAction1().
|
private |
Definition at line 51 of file TGo4ExampleApplication.h.
Referenced by TGo4ExampleApplication(), and SendData().
|
private |
Definition at line 53 of file TGo4ExampleApplication.h.
Referenced by TGo4ExampleApplication(), ~TGo4ExampleApplication(), FillHistograms(), and GetHistogram().