ROOT_Application
2.0
C++ Core modules and GUIStock
|
#include <RealTime2.h>
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 RealTime2 * | getInstance () |
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 RealTime2 * | frealtime |
private pointer to the real object More... | |
Definition at line 47 of file RealTime2.h.
|
inlineprivate |
Constructor private, called by getInstance.
Definition at line 54 of file RealTime2.h.
|
inlineprivate |
Definition at line 55 of file RealTime2.h.
RealTime2::ClassDef | ( | RealTime2 | , |
0 | |||
) |
|
static |
public access
Definition at line 14 of file RealTime2.cxx.
Referenced by ClassImp().
std::vector< std::string > RealTime2::GetMessage | ( | ) |
Definition at line 56 of file RealTime2.cxx.
References ListMessages, and mutex.
Referenced by GUIMainFrame::CheckUpdateRT().
|
inline |
|
static |
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().
|
staticprivate |
private pointer to the real object
Definition at line 52 of file RealTime2.h.
Referenced by killInstance().
|
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().
|
private |
Definition at line 66 of file RealTime2.h.
Referenced by GetMessage(), and SetMessage().
|
staticprivate |
static variable for switching on/off the real time
Definition at line 50 of file RealTime2.h.
Referenced by GetStatus(), and killInstance().