ROOT_Application
2.0
C++ Core modules and GUIStock
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src_gui_root
RealTime.h
Go to the documentation of this file.
1
/* \file RealTime.h
2
*
3
* RealTime derives from Ttimer
4
*
5
* Created on 16/01/2011
6
*
7
* Call GUIMainFrame:: UpdateStock() for the moment
8
* But should be called by other ?? good only one point access ??
9
*
10
*/
11
12
#ifndef _REALTIME_H_
13
#define _REALTIME_H_
14
15
#include <iostream>
16
#include <TTimer.h>
17
18
class
RealTime
:
public
TTimer
{
19
private
:
20
static
bool
status_rt
;
21
//bool status_rt;
22
static
RealTime
*
frealtime
;
23
//Constructor private, called by getInstance
24
RealTime
():
TTimer
() {}
25
~RealTime
() {std::cout <<
"Destructor RealTime"
<< std::endl;}
26
27
28
public
:
29
static
RealTime
*
getInstance
();
30
static
void
killInstance
();
31
bool
GetStatus
() {
return
status_rt
;}
32
33
void
ConnectToGUI
();
34
35
ClassDef
(
RealTime
,0);
36
};
37
38
#endif
/* _REALTIME_H */
RealTime::RealTime
RealTime()
Definition:
RealTime.h:24
RealTime::status_rt
static bool status_rt
Definition:
RealTime.h:20
RealTime::ClassDef
ClassDef(RealTime, 0)
RealTime::killInstance
static void killInstance()
Definition:
RealTime.cxx:22
TTimer
RealTime::ConnectToGUI
void ConnectToGUI()
Definition:
RealTime.cxx:36
RealTime::GetStatus
bool GetStatus()
Definition:
RealTime.h:31
RealTime
Definition:
RealTime.h:18
RealTime::~RealTime
~RealTime()
Definition:
RealTime.h:25
RealTime::frealtime
static RealTime * frealtime
Definition:
RealTime.h:22
RealTime::getInstance
static RealTime * getInstance()
Definition:
RealTime.cxx:11
Generated on Mon May 25 2015 20:35:30 for ROOT_Application by
1.8.6