Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::LogPanel::AZTracePrintFLogTab Class Reference

#include <TracePrintFLogPanel.h>

Inherits AzToolsFramework::LogPanel::BaseLogView, AZ::Debug::TraceMessageBus::Handler, and AZ::SystemTickBus::Handler.

Public Slots

virtual void Clear ()
 
- Public Slots inherited from AzToolsFramework::LogPanel::BaseLogView
virtual void rowsInserted (const QModelIndex &parent, int start, int end)
 
virtual void SelectAll ()
 
virtual void SelectNone ()
 
virtual void CopyAll ()
 
virtual void CopySelected ()
 
void CurrentItemChanged (const QModelIndex &current, const QModelIndex &previous)
 

Signals

void SelectionChanged (const Logging::LogLine &logLine)
 
- Signals inherited from AzToolsFramework::LogPanel::BaseLogView
void onLinkActivated (const QString &link)
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (AZTracePrintFLogTab, AZ::SystemAllocator)
 
 AZTracePrintFLogTab (QWidget *pParent, const TabSettings &in_settings)
 
bool OnAssert (const char *message) override
 
bool OnException (const char *message) override
 
bool OnError (const char *window, const char *message) override
 
bool OnWarning (const char *window, const char *message) override
 
bool OnPrintf (const char *window, const char *message) override
 
void LogTraceMessage (Logging::LogLine::LogType type, const char *window, const char *message, void *data=nullptr)
 Log a message received from the TraceMessageBus.
 
QTableView * GetLogView ()
 
- Public Member Functions inherited from AzToolsFramework::LogPanel::BaseLogView
 AZ_CLASS_ALLOCATOR (BaseLogView, AZ::SystemAllocator)
 
 BaseLogView (QWidget *pParent)
 
void ConnectModelToView (QAbstractItemModel *ptrModel)
 
void SetCurrentItemExpandsToFit (bool expandsToFit)
 

Protected Member Functions

void OnSystemTick () override
 
void CurrentItemChanged (const QModelIndex &current, const QModelIndex &previous)
 
- Protected Member Functions inherited from AzToolsFramework::LogPanel::BaseLogView
virtual int GetIconColumn ()
 
virtual int GetTimeColumn ()
 
virtual int GetWindowColumn ()
 
virtual int GetMessageColumn ()
 
virtual QString ConvertRowToText (const QModelIndex &row)
 
bool IsAtMaxScroll () const
 
void showEvent (QShowEvent *event) override
 
virtual void CreateContextMenu ()
 

Protected Attributes

TabSettings m_settings
 
AZStd::queue< Logging::LogLinem_bufferedLines
 
AZStd::atomic_bool m_alreadyQueuedDrainMessage
 
AZStd::mutex m_bufferedLinesMutex
 
- Protected Attributes inherited from AzToolsFramework::LogPanel::BaseLogView
QTableView * m_ptrLogView
 
QAction * actionSelectAll
 
QAction * actionSelectNone
 
QAction * actionCopySelected
 
QAction * actionCopyAll
 

Additional Inherited Members

- Static Public Member Functions inherited from AzToolsFramework::LogPanel::BaseLogView
static QIcon & GetInformationIcon ()
 
static QIcon & GetWarningIcon ()
 
static QIcon & GetErrorIcon ()
 
static QIcon & GetDebugIcon ()
 

Detailed Description

AZTracePrintFLogTab - a Log View listening on AZ Traceprintfs and puts them in a ring buffer of particular interest is perhaps how it adds a "clear" option to the context menu in its constructor. it uses the RingBufferLogDataModel, below.


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