SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ChildLoop Class Reference

Public Member Functions

 ChildLoop (const ChildLoopConfig &clc)
 
void run ()
 
void abort ()
 Set the abort flag, causing the mainloop to be left.
 
bool isAborted () const
 
uint16_t getPort () const
 
uint32_t getServerOnlineId () const
 

Private Member Functions

float getLimitedDt ()
 

Private Attributes

const ChildLoopConfigm_cl_config
 
std::atomic_bool m_abort
 
std::atomic< uint16_t > m_port
 
std::atomic< uint32_t > m_server_online_id
 
uint64_t m_curr_time
 
uint64_t m_prev_time
 

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