Scope
scope::gui::CLogView Class Reference

#include <LogView.h>

Inherits CWindowImpl< CLogView, CRichEditCtrl, CLogViewTraits >, and CRichEditCommands< CLogView >.

Public Member Functions

BOOL SaveFile (LPTSTR lpstrFilePath)
 
Called via Win32 messages
BOOL PreTranslateMessage (MSG *pMsg)
 
int OnCreate (LPCREATESTRUCT lpCreateStruct)
 
LRESULT OnChar (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 

Static Public Member Functions

static DWORD CALLBACK StreamWriteCallback (DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG FAR *pcb)
 

Protected Attributes

scope::ScopeLogger scope_logger
 

Detailed Description

View class for the log.

Provides saving of the log via rich edit control EditStreamCallback function.

Definition at line 13 of file LogView.h.

Member Function Documentation

BOOL scope::gui::CLogView::SaveFile ( LPTSTR  lpstrFilePath)

Saves the logwindow text into a file.

Definition at line 36 of file LogView.cpp.

DWORD CALLBACK scope::gui::CLogView::StreamWriteCallback ( DWORD_PTR  dwCookie,
LPBYTE  pbBuff,
LONG  cb,
LONG FAR *  pcb 
)
static

Callback for actual writing to disk.

This is not yet implemented. Writing is currently done in ScopeLoggerImpl

Definition at line 54 of file LogView.cpp.

Member Data Documentation

scope::ScopeLogger scope::gui::CLogView::scope_logger
protected

our ScopeLogger here

Definition at line 19 of file LogView.h.


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