ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
RealTime2 Class Reference

#include <RealTime2.h>

Inheritance diagram for RealTime2:
Inheritance graph
[legend]
Collaboration diagram for RealTime2:
Collaboration graph
[legend]

Public Member Functions

bool GetStatus ()
 get the status More...
 
void SetMessage (std::vector< std::string > &message)
 deal with the list, fill and remove, protected by lock_guard More...
 
std::vector< std::string > GetMessage ()
 
 ClassDef (RealTime2, 0)
 

Static Public Member Functions

static RealTime2getInstance ()
 public access More...
 
static void killInstance ()
 public destructor More...
 

Private Member Functions

 RealTime2 ()
 Constructor private, called by getInstance. More...
 
 ~RealTime2 ()
 

Private Attributes

std::list< std::vector
< std::string > > 
ListMessages
 vector to conserve the messages, producer/consumer between SM and Main-Loop maybe to protect when writing/reading More...
 
boost::mutex mutex
 

Static Private Attributes

static bool status_rt
 static variable for switching on/off the real time More...
 
static RealTime2frealtime
 private pointer to the real object More...
 

Detailed Description

Definition at line 47 of file RealTime2.h.

Constructor & Destructor Documentation

RealTime2::RealTime2 ( )
inlineprivate

Constructor private, called by getInstance.

Definition at line 54 of file RealTime2.h.

RealTime2::~RealTime2 ( )
inlineprivate

Definition at line 55 of file RealTime2.h.

Member Function Documentation

RealTime2::ClassDef ( RealTime2  ,
 
)
RealTime2 * RealTime2::getInstance ( )
static

public access

Definition at line 14 of file RealTime2.cxx.

Referenced by ClassImp().

Here is the caller graph for this function:

std::vector< std::string > RealTime2::GetMessage ( )

Definition at line 56 of file RealTime2.cxx.

References ListMessages, and mutex.

Referenced by GUIMainFrame::CheckUpdateRT().

Here is the caller graph for this function:

bool RealTime2::GetStatus ( )
inline

get the status

Definition at line 75 of file RealTime2.h.

References status_rt.

void RealTime2::killInstance ( )
static

public destructor

Definition at line 28 of file RealTime2.cxx.

References frealtime, and status_rt.

void RealTime2::SetMessage ( std::vector< std::string > &  message)

deal with the list, fill and remove, protected by lock_guard

Definition at line 41 of file RealTime2.cxx.

References ListMessages, and mutex.

Referenced by GUIMainFrame::UpdateRT().

Here is the caller graph for this function:

Field Documentation

RealTime2* RealTime2::frealtime
staticprivate

private pointer to the real object

Definition at line 52 of file RealTime2.h.

Referenced by killInstance().

std::list< std::vector<std::string> > RealTime2::ListMessages
private

vector to conserve the messages, producer/consumer between SM and Main-Loop maybe to protect when writing/reading

Definition at line 62 of file RealTime2.h.

Referenced by GetMessage(), and SetMessage().

boost::mutex RealTime2::mutex
private

Definition at line 66 of file RealTime2.h.

Referenced by GetMessage(), and SetMessage().

bool RealTime2::status_rt
staticprivate

static variable for switching on/off the real time

Definition at line 50 of file RealTime2.h.

Referenced by GetStatus(), and killInstance().


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