NLNET::CStdinMonitorThread Class Reference

Inherits NLMISC::IRunnable.

List of all members.

Public Member Functions

 CStdinMonitorThread ()
void run ()
void pushCommand (std::string nextCommand)
std::string popCommand ()
bool commandWaiting () const

Private Attributes

std::string _NextCommand
volatile bool _CommandWaiting

Detailed Description

Definition at line 31 of file stdin_monitor_thread.cpp.


Constructor & Destructor Documentation

NLNET::CStdinMonitorThread::CStdinMonitorThread (  ) 

Definition at line 55 of file stdin_monitor_thread.cpp.

References _CommandWaiting.


Member Function Documentation

bool NLNET::CStdinMonitorThread::commandWaiting (  )  const

Definition at line 121 of file stdin_monitor_thread.cpp.

References _CommandWaiting.

Referenced by run(), and NLNET::CStdinMonitorSingleton::update().

std::string NLNET::CStdinMonitorThread::popCommand (  ) 

Definition at line 101 of file stdin_monitor_thread.cpp.

References _CommandWaiting, and _NextCommand.

Referenced by NLNET::CStdinMonitorSingleton::update().

void NLNET::CStdinMonitorThread::pushCommand ( std::string  nextCommand  ) 

Definition at line 79 of file stdin_monitor_thread.cpp.

References _CommandWaiting, _NextCommand, and NLMISC::nlSleep().

Referenced by run().

void NLNET::CStdinMonitorThread::run ( void   )  [virtual]

Implements NLMISC::IRunnable.

Definition at line 60 of file stdin_monitor_thread.cpp.

References commandWaiting(), NLMISC::nlSleep(), pushCommand(), and sizeofarray.


Member Data Documentation

Definition at line 46 of file stdin_monitor_thread.cpp.

Referenced by popCommand(), and pushCommand().


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

Generated on Thu Jan 7 08:30:21 2010 for NeL by  doxygen 1.6.1