Public Member Functions | Private Attributes

TGo4ExampleApplication Class Reference

#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)

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


Constructor & Destructor Documentation

TGo4ExampleApplication::TGo4ExampleApplication ( TGo4BufferQueue datq = 0  ) 
TGo4ExampleApplication::~TGo4ExampleApplication (  )  [virtual]

Member Function Documentation

void TGo4ExampleApplication::CommandAction1 (  ) 

Definition at line 82 of file TGo4ExampleApplication.cxx.

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

void TGo4ExampleApplication::CommandAction2 (  ) 

Definition at line 76 of file TGo4ExampleApplication.cxx.

References GO4TRACE.

void TGo4ExampleApplication::FillHistograms (  ) 

Definition at line 61 of file TGo4ExampleApplication.cxx.

References fxDemoHistogram, and GO4TRACE.

Referenced by TGo4MainRunnable::Run().

TH1 * TGo4ExampleApplication::GetHistogram (  ) 

Definition at line 56 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 41 of file TGo4ExampleApplication.cxx.

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

Referenced by CommandAction1().


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines