16 #ifdef DEBUG_CONT_FRAME
17 std::cout <<
"RealTime2::getInstance() " << std::endl;
31 std::cout <<
"RealTime::killInstance, but has not been run, nothing to do " << std::endl;
42 #ifdef DEBUG_CONT_FRAME
43 std::cout <<
"RealTime2::ListMessages push back a new message " << std::endl;
49 boost::lock_guard<boost::mutex> lock(
mutex);
51 #ifdef DEBUG_CONT_FRAME
52 std::cout <<
"Size of the list " <<
ListMessages.size() << std::endl;
62 std::vector<std::string> message;
73 boost::lock_guard<boost::mutex> lock(
mutex);
79 #ifdef DEBUG_CONT_FRAME
80 std::cout <<
"return a non-empty message" << std::endl;
void SetMessage(std::vector< std::string > &message)
deal with the list, fill and remove, protected by lock_guard
RealTime2 derives from TTimer.
ClassImp(CanvasStock) CanvasStock
static RealTime2 * frealtime
private pointer to the real object
static bool status_rt
static variable for switching on/off the real time
static void killInstance()
public destructor
std::vector< std::string > GetMessage()
std::list< std::vector< std::string > > ListMessages
vector to conserve the messages, producer/consumer between SM and Main-Loop maybe to protect when wri...