Code::Blocks
SVN r11506
|
#include <wx/string.h>
#include <wx/thread.h>
#include <memory>
#include <cbexception.h>
#include <logmanager.h>
#include <prep.h>
Go to the source code of this file.
Classes | |
class | CCLogger |
Macros | |
#define | CC_PROCESS_LOG_EVENT_TO_PARENT 0 |
#define | CC_ENABLE_LOCKER_ASSERT |
#define | CC_LOCKER_TRACK_CS_ENTER(CS) CS.Enter(); |
#define | CC_LOCKER_TRACK_CS_LEAVE(CS) CS.Leave(); |
#define | CC_LOCKER_TRACK_TT_MTX_LOCK(M) |
#define | CC_LOCKER_TRACK_TT_MTX_UNLOCK(M) |
#define | CC_LOCKER_TRACK_CBBT_MTX_LOCK CC_LOCKER_TRACK_TT_MTX_LOCK |
#define | CC_LOCKER_TRACK_CBBT_MTX_UNLOCK CC_LOCKER_TRACK_TT_MTX_UNLOCK |
#define | CC_LOCKER_TRACK_P_MTX_LOCK CC_LOCKER_TRACK_TT_MTX_LOCK |
#define | CC_LOCKER_TRACK_P_MTX_UNLOCK CC_LOCKER_TRACK_TT_MTX_UNLOCK |
Variables | |
bool | g_EnableDebugTrace |
Toggles tracing into file. More... | |
const wxString | g_DebugTraceFile |
Trace file name (if above is enabled). More... | |
long | g_idCCAddToken |
long | g_idCCLogger |
long | g_idCCDebugLogger |
#define CC_ENABLE_LOCKER_ASSERT |
Definition at line 65 of file cclogger.h.
#define CC_LOCKER_TRACK_CBBT_MTX_LOCK CC_LOCKER_TRACK_TT_MTX_LOCK |
Definition at line 171 of file cclogger.h.
Referenced by ClassBrowserBuilderThread::CollapseItem(), ClassBrowserBuilderThread::ExpandItem(), ClassBrowserBuilderThread::Init(), and ClassBrowserBuilderThread::SelectItem().
#define CC_LOCKER_TRACK_CBBT_MTX_UNLOCK CC_LOCKER_TRACK_TT_MTX_UNLOCK |
Definition at line 172 of file cclogger.h.
Referenced by ClassBrowserBuilderThread::CollapseItem(), ClassBrowserBuilderThread::ExpandItem(), ClassBrowserBuilderThread::Init(), and ClassBrowserBuilderThread::SelectItem().
#define CC_LOCKER_TRACK_CS_ENTER | ( | CS | ) | CS.Enter(); |
Definition at line 156 of file cclogger.h.
#define CC_LOCKER_TRACK_CS_LEAVE | ( | CS | ) | CS.Leave(); |
Definition at line 157 of file cclogger.h.
#define CC_LOCKER_TRACK_P_MTX_LOCK CC_LOCKER_TRACK_TT_MTX_LOCK |
Definition at line 173 of file cclogger.h.
Referenced by Parser::AddBatchParse(), Parser::AddParse(), Parser::AddPredefinedMacros(), Parser::ClearPredefinedMacros(), Parser::Done(), ParserThreadedTask::Execute(), Parser::IsFileParsed(), Parser::NotDoneReason(), Parser::OnBatchTimer(), and Parser::~Parser().
#define CC_LOCKER_TRACK_P_MTX_UNLOCK CC_LOCKER_TRACK_TT_MTX_UNLOCK |
Definition at line 174 of file cclogger.h.
Referenced by Parser::AddBatchParse(), Parser::AddParse(), Parser::AddPredefinedMacros(), Parser::ClearPredefinedMacros(), Parser::Done(), ParserThreadedTask::Execute(), Parser::IsFileParsed(), Parser::NotDoneReason(), Parser::OnBatchTimer(), and Parser::~Parser().
#define CC_LOCKER_TRACK_TT_MTX_LOCK | ( | M | ) |
Definition at line 159 of file cclogger.h.
Referenced by ClassBrowserBuilderThread::AddAncestorsOf(), ClassBrowserBuilderThread::AddChildrenOf(), ClassBrowserBuilderThread::AddDescendantsOf(), ClassBrowserBuilderThread::AddNodes(), NativeParserBase::AddTemplateAlias(), NativeParserBase::CleanupSearchScope(), NativeParserBase::CollectSearchScopes(), NativeParserBase::ComputeCallTip(), ClassBrowserBuilderThread::CreateSpecialFolders(), CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeCompletion::DoCodeComplete(), MarkFileAsLocalThreadedTask::Execute(), ParserThread::Execute(), ClassBrowserBuilderThread::ExpandItem(), NativeParserBase::FindCurrentFunctionScope(), NativeParser::FindCurrentFunctionStart(), NativeParser::FindCurrentFunctionToken(), ParserBase::FindTokensInFile(), DocumentationHelper::GenerateHTML(), CodeCompletion::GetTokenAt(), ClassBrowserBuilderThread::Init(), Parser::IsFileParsed(), NativeParser::MarkItemsByAI(), Parser::OnAllThreadsDone(), CodeCompletion::OnGotoDeclaration(), CodeCompletion::OnGotoFunction(), ClassBrowser::OnSearch(), ClassBrowser::OnTreeItemDoubleClick(), CodeRefactoring::Parse(), Parser::Parse(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), Parser::ParseBufferForUsingNamespace(), NativeParser::ParseBufferForUsingNamespace(), NativeParser::ParseFunctionArguments(), CodeCompletion::ParseFunctionsAndFillToolbar(), NativeParser::ParseLocalBlock(), Parser::RemoveFile(), ClassBrowserBuilderThread::RemoveInvalidNodes(), NativeParserBase::RemoveLastFunctionChildren(), Parser::Reparse(), Parser::ReparseModifiedFiles(), NativeParserBase::ResolveActualType(), NativeParserBase::ResolveExpression(), NativeParserBase::ResolveOperator(), ClassBrowserBuilderThread::TokenContainsChildrenOfKind(), ClassBrowserBuilderThread::TokenMatchesFilter(), CodeCompletion::UpdateEditorSyntax(), CodeRefactoring::VerifyResult(), and ParserBase::~ParserBase().
#define CC_LOCKER_TRACK_TT_MTX_UNLOCK | ( | M | ) |
Definition at line 165 of file cclogger.h.
Referenced by ClassBrowserBuilderThread::AddAncestorsOf(), ClassBrowserBuilderThread::AddChildrenOf(), ClassBrowserBuilderThread::AddDescendantsOf(), ClassBrowserBuilderThread::AddNodes(), NativeParserBase::AddTemplateAlias(), NativeParserBase::CleanupSearchScope(), NativeParserBase::CollectSearchScopes(), NativeParserBase::ComputeCallTip(), ClassBrowserBuilderThread::CreateSpecialFolders(), CodeCompletion::DoAllMethodsImpl(), CodeCompletion::DoClassMethodDeclImpl(), CodeCompletion::DoCodeComplete(), MarkFileAsLocalThreadedTask::Execute(), ParserThread::Execute(), ClassBrowserBuilderThread::ExpandItem(), NativeParserBase::FindCurrentFunctionScope(), NativeParser::FindCurrentFunctionStart(), NativeParser::FindCurrentFunctionToken(), ParserBase::FindTokensInFile(), DocumentationHelper::GenerateHTML(), CodeCompletion::GetTokenAt(), ClassBrowserBuilderThread::Init(), Parser::IsFileParsed(), NativeParser::MarkItemsByAI(), Parser::OnAllThreadsDone(), CodeCompletion::OnGotoDeclaration(), CodeCompletion::OnGotoFunction(), ClassBrowser::OnSearch(), ClassBrowser::OnTreeItemDoubleClick(), CodeRefactoring::Parse(), Parser::Parse(), Parser::ParseBuffer(), Parser::ParseBufferForFunctions(), Parser::ParseBufferForNamespaces(), Parser::ParseBufferForUsingNamespace(), NativeParser::ParseBufferForUsingNamespace(), NativeParser::ParseFunctionArguments(), CodeCompletion::ParseFunctionsAndFillToolbar(), NativeParser::ParseLocalBlock(), Parser::RemoveFile(), ClassBrowserBuilderThread::RemoveInvalidNodes(), NativeParserBase::RemoveLastFunctionChildren(), Parser::Reparse(), Parser::ReparseModifiedFiles(), NativeParserBase::ResolveActualType(), NativeParserBase::ResolveExpression(), NativeParserBase::ResolveOperator(), ClassBrowserBuilderThread::TokenContainsChildrenOfKind(), ClassBrowserBuilderThread::TokenMatchesFilter(), CodeCompletion::UpdateEditorSyntax(), CodeRefactoring::VerifyResult(), and ParserBase::~ParserBase().
#define CC_PROCESS_LOG_EVENT_TO_PARENT 0 |
Definition at line 21 of file cclogger.h.
const wxString g_DebugTraceFile |
Trace file name (if above is enabled).
Definition at line 23 of file cclogger.cpp.
bool g_EnableDebugTrace |
Toggles tracing into file.
Definition at line 21 of file cclogger.cpp.
long g_idCCAddToken |
Definition at line 24 of file cclogger.cpp.
long g_idCCDebugLogger |
Definition at line 26 of file cclogger.cpp.
Referenced by CodeCompletion::CodeCompletion(), and CodeCompletion::~CodeCompletion().
long g_idCCLogger |
Definition at line 25 of file cclogger.cpp.
Referenced by CodeCompletion::CodeCompletion(), and CodeCompletion::~CodeCompletion().