penguins  1.0.0
LogEntryViewerController Class Reference
Inheritance diagram for LogEntryViewerController:
[legend]

Detailed Description

Definition at line 107 of file controllers.hh.

Public Member Functions

 LogEntryViewerController (GamePanel *panel, size_t entry_index)
 
virtual ~LogEntryViewerController ()
 
virtual void on_activated () override
 
virtual void update_status_bar () override
 
virtual void configure_log_viewer_ui () override
 
virtual void paint_overlay (wxDC &dc) override
 
- Public Member Functions inherited from GameController
 GameController (GamePanel *panel)
 
virtual ~GameController ()
 
void update_game_state_and_indirectly_delete_this ()
 
virtual void configure_bot_turn_ui ()
 
virtual void on_deactivated (GameController *next_controller)
 
virtual void update_tile_attributes ()
 
virtual void on_mouse_enter_leave (wxMouseEvent &event)
 
virtual void on_mouse_down (wxMouseEvent &event)
 
virtual void on_mouse_move (wxMouseEvent &event)
 
virtual void on_mouse_up (wxMouseEvent &event)
 
- Public Member Functions inherited from wxEvtHandler
virtual void QueueEvent (wxEvent *event)
 
virtual void AddPendingEvent (const wxEvent &event)
 
void CallAfter (void(T::*method)(T1,...), T1 x1,...)
 
void CallAfter (const T &functor)
 
virtual bool ProcessEvent (wxEvent &event)
 
bool ProcessEventLocally (wxEvent &event)
 
bool SafelyProcessEvent (wxEvent &event)
 
void ProcessPendingEvents ()
 
void DeletePendingEvents ()
 
void Connect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
void Connect (int id, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
void Connect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
bool Disconnect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
bool Disconnect (int id=wxID_ANY, wxEventType eventType=wxEVT_NULL, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
bool Disconnect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
void Bind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
void Bind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
bool Unbind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
bool Unbind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
void * GetClientData () const
 
wxClientDataGetClientObject () const
 
void SetClientData (void *data)
 
void SetClientObject (wxClientData *data)
 
bool GetEvtHandlerEnabled () const
 
wxEvtHandlerGetNextHandler () const
 
wxEvtHandlerGetPreviousHandler () const
 
void SetEvtHandlerEnabled (bool enabled)
 
virtual void SetNextHandler (wxEvtHandler *handler)
 
virtual void SetPreviousHandler (wxEvtHandler *handler)
 
void Unlink ()
 
bool IsUnlinked () const
 
 wxEvtHandler ()
 
virtual ~wxEvtHandler ()
 
virtual void QueueEvent (wxEvent *event)
 
virtual void AddPendingEvent (const wxEvent &event)
 
void CallAfter (void(T::*method)(T1,...), T1 x1,...)
 
void CallAfter (const T &functor)
 
virtual bool ProcessEvent (wxEvent &event)
 
bool ProcessEventLocally (wxEvent &event)
 
bool SafelyProcessEvent (wxEvent &event)
 
void ProcessPendingEvents ()
 
void DeletePendingEvents ()
 
void Connect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
void Connect (int id, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
void Connect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
bool Disconnect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
bool Disconnect (int id=wxID_ANY, wxEventType eventType=wxEVT_NULL, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
bool Disconnect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL)
 
void Bind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
void Bind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
bool Unbind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
bool Unbind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL)
 
void * GetClientData () const
 
wxClientDataGetClientObject () const
 
void SetClientData (void *data)
 
void SetClientObject (wxClientData *data)
 
bool GetEvtHandlerEnabled () const
 
wxEvtHandlerGetNextHandler () const
 
wxEvtHandlerGetPreviousHandler () const
 
void SetEvtHandlerEnabled (bool enabled)
 
virtual void SetNextHandler (wxEvtHandler *handler)
 
virtual void SetPreviousHandler (wxEvtHandler *handler)
 
void Unlink ()
 
bool IsUnlinked () const
 
- Public Member Functions inherited from wxObject
 wxObject ()
 
 wxObject (const wxObject &other)
 
virtual ~wxObject ()
 
virtual wxClassInfoGetClassInfo () const
 
wxObjectRefDataGetRefData () const
 
bool IsKindOf (const wxClassInfo *info) const
 
bool IsSameAs (const wxObject &obj) const
 
void Ref (const wxObject &clone)
 
void SetRefData (wxObjectRefData *data)
 
void UnRef ()
 
void UnShare ()
 
void operator delete (void *buf)
 
void * operator new (size_t size, const wxString &filename=NULL, int lineNum=0)
 

Data Fields

size_t entry_index
 
- Data Fields inherited from GameController
GamePanelpanel
 
CanvasPanelcanvas
 
Gamegame
 
std::shared_ptr< BotParameters > & bot_params
 

Additional Inherited Members

- Static Public Member Functions inherited from wxEvtHandler
static void AddFilter (wxEventFilter *filter)
 
static void RemoveFilter (wxEventFilter *filter)
 
static void AddFilter (wxEventFilter *filter)
 
static void RemoveFilter (wxEventFilter *filter)
 
- Protected Member Functions inherited from wxEvtHandler
virtual bool TryBefore (wxEvent &event)
 
virtual bool TryAfter (wxEvent &event)
 
- Protected Member Functions inherited from wxObject
void AllocExclusive ()
 
virtual wxObjectRefDataCreateRefData () const
 
virtual wxObjectRefDataCloneRefData (const wxObjectRefData *data) const
 
- Protected Attributes inherited from wxObject
wxObjectRefDatam_refData
 

Field Documentation

◆ entry_index

size_t LogEntryViewerController::entry_index

Definition at line 116 of file controllers.hh.

Referenced by on_activated(), paint_overlay(), and update_status_bar().

Constructor & Destructor Documentation

◆ LogEntryViewerController()

LogEntryViewerController::LogEntryViewerController ( GamePanel panel,
size_t  entry_index 
)
inline

Definition at line 109 of file controllers.hh.

◆ ~LogEntryViewerController()

virtual LogEntryViewerController::~LogEntryViewerController ( )
inlinevirtual

Definition at line 111 of file controllers.hh.

Member Function Documentation

◆ on_activated()

void LogEntryViewerController::on_activated ( )
overridevirtual

Reimplemented from GameController.

Definition at line 144 of file controllers.cc.

◆ update_status_bar()

void LogEntryViewerController::update_status_bar ( )
overridevirtual

Reimplemented from GameController.

Definition at line 348 of file controllers.cc.

◆ configure_log_viewer_ui()

void LogEntryViewerController::configure_log_viewer_ui ( )
overridevirtual

Reimplemented from GameController.

Definition at line 158 of file controllers.cc.

◆ paint_overlay()

void LogEntryViewerController::paint_overlay ( wxDC dc)
overridevirtual

Reimplemented from GameController.

Definition at line 244 of file controllers.cc.


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