|
penguins
1.0.0
|
Definition at line 57 of file bot_thread.hh.
Public Member Functions | |
| BotPlacementThread (BotTurnController *controller) | |
Public Member Functions inherited from BotThread | |
| BotThread (BotTurnController *controller) | |
| virtual | ~BotThread () |
| void | cancel () |
Public Member Functions inherited from wxThread | |
| wxThread (wxThreadKind kind=wxTHREAD_DETACHED) | |
| virtual | ~wxThread () |
| wxThreadError | Create (unsigned int stackSize=0) |
| wxThreadError | Delete (ExitCode *rc=NULL, wxThreadWait waitMode=wxTHREAD_WAIT_DEFAULT) |
| wxThreadIdType | GetId () const |
| WXHANDLE | MSWGetHandle () const |
| wxThreadKind | GetKind () const |
| unsigned int | GetPriority () const |
| bool | IsAlive () const |
| bool | IsDetached () const |
| bool | IsPaused () const |
| bool | IsRunning () const |
| wxThreadError | Kill () |
| wxThreadError | Pause () |
| wxThreadError | Resume () |
| wxThreadError | Run () |
| void | SetPriority (unsigned int priority) |
| virtual bool | TestDestroy () |
| ExitCode | Wait (wxThreadWait flags=wxTHREAD_WAIT_DEFAULT) |
Protected Member Functions | |
| virtual ExitCode | Entry () override |
Protected Member Functions inherited from BotThread | |
| virtual void | OnExit () override |
| bool | SetName (const wxString &WXUNUSED(name)) |
Protected Member Functions inherited from wxThread | |
| void | Exit (ExitCode exitcode=0) |
| bool | SetName (const wxString &name) |
Additional Inherited Members | |
Public Types inherited from wxThread | |
| typedef void * | ExitCode |
Static Public Member Functions inherited from wxThread | |
| static int | GetCPUCount () |
| static wxThreadIdType | GetCurrentId () |
| static wxThreadIdType | GetMainId () |
| static bool | IsMain () |
| static bool | SetConcurrency (size_t level) |
| static void | Sleep (unsigned long milliseconds) |
| static wxThread * | This () |
| static void | Yield () |
Data Fields inherited from BotThread | |
| std::shared_ptr< BotThreadShared > | shared { new BotThreadShared() } |
Static Protected Member Functions inherited from wxThread | |
| static bool | SetNameForCurrent (const wxString &name) |
Protected Attributes inherited from BotThread | |
| BotTurnController * | controller |
| std::unique_ptr< Game, decltype(&game_free)> | game { nullptr, game_free } |
| std::shared_ptr< BotParameters > | bot_params { nullptr } |
| std::unique_ptr< BotState, decltype(&bot_state_free)> | bot_state { nullptr, bot_state_free } |
| BetterRng | rng |
| volatile bool * | cancelled_ptr = nullptr |
|
inline |
Definition at line 59 of file bot_thread.hh.
|
overrideprotectedvirtual |
Implements wxThread.
Definition at line 48 of file bot_thread.cc.