Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ExampleApplication Class Reference

Example application class; this class may also run as standalone application without the threaded client-server mechanism (e.g. More...

#include <TGo4ExampleApplication.h>

Inheritance diagram for TGo4ExampleApplication:

TGo4CommandReceiver List of all members.

Public Member Functions

 TGo4ExampleApplication (TGo4BufferQueue *datq=0)
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

Private Attributes

TGo4BufferQueuefxDataQ
TH1D * fxDemoHistogram

Detailed Description

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 29 of file TGo4ExampleApplication.h.


Constructor & Destructor Documentation

TGo4ExampleApplication::TGo4ExampleApplication TGo4BufferQueue datq = 0  ) 
 

Definition at line 26 of file TGo4ExampleApplication.cxx.

References fxDataQ, fxDemoHistogram, TGo4CommandInvoker::Instance(), TGo4CommandInvoker::Register(), and TRACE.

TGo4ExampleApplication::~TGo4ExampleApplication  )  [virtual]
 

Definition at line 37 of file TGo4ExampleApplication.cxx.

References fxDemoHistogram, TRACE, and TGo4CommandInvoker::UnRegister().


Member Function Documentation

void TGo4ExampleApplication::CommandAction1  ) 
 

Definition at line 85 of file TGo4ExampleApplication.cxx.

References GetHistogram(), SendData(), and TRACE.

void TGo4ExampleApplication::CommandAction2  ) 
 

Definition at line 79 of file TGo4ExampleApplication.cxx.

References TRACE.

void TGo4ExampleApplication::FillHistograms  ) 
 

Definition at line 64 of file TGo4ExampleApplication.cxx.

References fxDemoHistogram, and TRACE.

Referenced by TGo4MainRunnable::Run().

TH1 * TGo4ExampleApplication::GetHistogram  ) 
 

Definition at line 59 of file TGo4ExampleApplication.cxx.

References fxDemoHistogram, and TRACE.

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 44 of file TGo4ExampleApplication.cxx.

References TGo4BufferQueue::AddBufferFromObject(), fxDataQ, and TRACE.

Referenced by CommandAction1().


Member Data Documentation

TGo4BufferQueue* TGo4ExampleApplication::fxDataQ [private]
 

Definition at line 53 of file TGo4ExampleApplication.h.

Referenced by SendData(), and TGo4ExampleApplication().

TH1D* TGo4ExampleApplication::fxDemoHistogram [private]
 

Definition at line 55 of file TGo4ExampleApplication.h.

Referenced by FillHistograms(), GetHistogram(), TGo4ExampleApplication(), and ~TGo4ExampleApplication().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:52 2008 for Go4-v3.04-1 by  doxygen 1.4.2