GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TGo4ExampleApplication Class Reference

#include <TGo4ExampleApplication.h>

+ Inheritance diagram for TGo4ExampleApplication:

Public Member Functions

 TGo4ExampleApplication (TGo4BufferQueue *datq=0)
virtual ~TGo4ExampleApplication ()
void CommandAction1 ()
void CommandAction2 ()
void FillHistograms ()
TH1 * GetHistogram ()
void SendData (TNamed *data)
- Public Member Functions inherited from TGo4CommandReceiver
 TGo4CommandReceiver ()
virtual ~TGo4CommandReceiver ()

Private Attributes

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

Member Function Documentation

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

References fxDemoHistogram, and GO4TRACE.

Referenced by TGo4MainRunnable::Run().

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 TGo4BufferQueue::AddBufferFromObject(), fxDataQ, and GO4TRACE.

Referenced by CommandAction1().

Member Data Documentation

TGo4BufferQueue* TGo4ExampleApplication::fxDataQ

Definition at line 51 of file TGo4ExampleApplication.h.

Referenced by SendData(), and TGo4ExampleApplication().

TH1D* TGo4ExampleApplication::fxDemoHistogram

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