| 
    KiCad PCB EDA Suite
    
   | 
 
#include <time_limit.h>
Public Member Functions | |
| TIME_LIMIT (int aMilliseconds=0) | |
| ~TIME_LIMIT () | |
| bool | Expired () const | 
| void | Restart () | 
| void | Set (int aMilliseconds) | 
| int | Get () const | 
Private Attributes | |
| int | m_limitMs | 
| int64_t | m_startTics | 
Definition at line 29 of file time_limit.h.
| PNS::TIME_LIMIT::TIME_LIMIT | ( | int | aMilliseconds = 0 | ) | 
Definition at line 28 of file time_limit.cpp.
| PNS::TIME_LIMIT::~TIME_LIMIT | ( | ) | 
Definition at line 35 of file time_limit.cpp.
| bool PNS::TIME_LIMIT::Expired | ( | ) | const | 
Definition at line 39 of file time_limit.cpp.
References m_limitMs, and m_startTics.
Referenced by PNS::SHOVE::shoveMainLoop().
      
  | 
  inline | 
Definition at line 39 of file time_limit.h.
References m_limitMs.
| void PNS::TIME_LIMIT::Restart | ( | ) | 
Definition at line 45 of file time_limit.cpp.
References m_startTics.
Referenced by PNS::SHOVE::shoveMainLoop(), and TIME_LIMIT().
| void PNS::TIME_LIMIT::Set | ( | int | aMilliseconds | ) | 
Definition at line 51 of file time_limit.cpp.
References m_limitMs.
      
  | 
  private | 
Definition at line 42 of file time_limit.h.
Referenced by Expired(), Get(), Set(), and TIME_LIMIT().
      
  | 
  private | 
Definition at line 43 of file time_limit.h.