Displays ROOT canvases, etc, outside the ROOT interactive environment. More...
#include <RootGraphix.hh>
Public Types | |
typedef std::auto_ptr< TLockGuard > | Lock |
wrap a TLockGuard into a std::auto_ptr | |
Public Member Functions | |
int | Process (EventPtr) |
Process a single event. Must be overridden. Return 0 if no error. | |
int | Initialize () |
Initialize the module before starting a run. Return 0 if no error. | |
int | Finalize () |
Finalize state after a run has processed. Return 0 if no error. | |
Lock | AcquireLock () |
Lock the mutex protecting graphics updates to make changes safely. | |
TCanvas * | GetCanvas (const char *title=0, bool preventclose=true, bool hidemenu=false) |
Get a new canvas to draw objects on. | |
Static Public Member Functions | |
static const std::string | GetDefaultName () |
Private Member Functions | |
void | LoadStyle () |
Private Attributes | |
TMutex | _mutex |
TThread | _thread |
std::vector< TCanvas * > | _canvases |
TGMainFrame * | _mainframe |
bool | _single_window |
int | _window_w |
int | _window_h |
Displays ROOT canvases, etc, outside the ROOT interactive environment.
Definition at line 25 of file RootGraphix.hh.