Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hdview2.cc File Reference
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#include <TGApplication.h>
#include "hdview2.h"
#include "MyProcessor.h"

Go to the source code of this file.

Functions

void PrintFactoryList (JApplication *japp)
 
void ParseCommandLineArguments (int &narg, char *argv[], JApplication *japp)
 
void Usage (JApplication *japp)
 
int main (int narg, char *argv[])
 

Variables

int GO = 0
 
bool PRINT_FACTORY_LIST = false
 
bool SKIP_EPICS_EVENTS = true
 
TCanvas * maincanvas =NULL
 
JApplication * japp
 
JEventLoop * eventloop =NULL
 
MyProcessormyproc = NULL
 
int32_t RUNNUMBER = 9999
 

Function Documentation

int main ( int  narg,
char *  argv[] 
)
void ParseCommandLineArguments ( int &  narg,
char *  argv[],
JApplication *  japp 
)

Definition at line 134 of file hdview2.cc.

References PRINT_FACTORY_LIST, and Usage().

void PrintFactoryList ( JApplication *  japp)

Definition at line 88 of file hdview2.cc.

References _DBG_.

void Usage ( JApplication *  japp)

Definition at line 167 of file hdview2.cc.

Variable Documentation

JEventLoop* eventloop =NULL

Definition at line 16 of file hdview2.cc.

Referenced by hdv_mainframe::DoNext(), and main().

int GO = 0

Definition at line 10 of file hdview2.cc.

Referenced by hdv_mainframe::DoCont(), and hdv_mainframe::DoStop().

JApplication* japp
TCanvas* maincanvas =NULL

Definition at line 14 of file hdview2.cc.

MyProcessor* myproc = NULL

Definition at line 17 of file hdview2.cc.

Referenced by main().

bool PRINT_FACTORY_LIST = false

Definition at line 11 of file hdview2.cc.

Referenced by main(), and ParseCommandLineArguments().

int32_t RUNNUMBER = 9999

Definition at line 19 of file hdview2.cc.

Referenced by hdv_mainframe::hdv_mainframe(), and main().

bool SKIP_EPICS_EVENTS = true

Definition at line 12 of file hdview2.cc.

Referenced by hdv_mainframe::DoNext().