Inherits NLMISC::IRunnable.
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 |
Definition at line 31 of file stdin_monitor_thread.cpp.
| NLNET::CStdinMonitorThread::CStdinMonitorThread | ( | ) |
Definition at line 55 of file stdin_monitor_thread.cpp.
References _CommandWaiting.
| 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.
volatile bool NLNET::CStdinMonitorThread::_CommandWaiting [private] |
Definition at line 47 of file stdin_monitor_thread.cpp.
Referenced by commandWaiting(), CStdinMonitorThread(), popCommand(), and pushCommand().
std::string NLNET::CStdinMonitorThread::_NextCommand [private] |
Definition at line 46 of file stdin_monitor_thread.cpp.
Referenced by popCommand(), and pushCommand().
1.6.1