Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YLogAction Class Reference

#include <logfile.h>

Collaboration diagram for YLogAction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 YLogAction ()
QString DetailedInfo ()
YASA_TIME GetStartTime () const
YASA_TIME GetEndTime () const
YLogFileTaskGetThread () const
YLogFileMutexGetMutex () const
ACTIONINT GetAction () const
void SetStartTime (const YASA_TIME &t)
void SetEndTime (const YASA_TIME &t)
void SetThread (YLogFileTask *t)
void SetMutex (YLogFileMutex *m)
void SetAction (ACTIONINT a)
bool IsThreadRange () const
bool IsMutexRange () const
bool IsExcludedThreadRange () const

Private Attributes

YASA_TIME starttime
YASA_TIME endtime
YLogFileTaskthread
YLogFileMutexmutex
ACTIONINT action

Detailed Description

This class is used to store information about one logging entry. If there is a more comlplex entry like a start of a thread a derived class YThreadLogAction/YThreadRangeLogAction is used. Normally the API would be designed with virtual functions. In these classes no virtual function are used to minimize the usage of memory.


Constructor & Destructor Documentation

YLogAction::YLogAction   [inline]
 


Member Function Documentation

QString YLogAction::DetailedInfo  
 

ACTIONINT YLogAction::GetAction   const [inline]
 

YASA_TIME YLogAction::GetEndTime   const [inline]
 

YLogFileMutex* YLogAction::GetMutex   const [inline]
 

YASA_TIME YLogAction::GetStartTime   const [inline]
 

YLogFileTask* YLogAction::GetThread   const [inline]
 

bool YLogAction::IsExcludedThreadRange   const [inline]
 

bool YLogAction::IsMutexRange   const [inline]
 

bool YLogAction::IsThreadRange   const [inline]
 

void YLogAction::SetAction ACTIONINT    a [inline]
 

void YLogAction::SetEndTime const YASA_TIME   t [inline]
 

void YLogAction::SetMutex YLogFileMutex   m [inline]
 

void YLogAction::SetStartTime const YASA_TIME   t [inline]
 

void YLogAction::SetThread YLogFileTask   t [inline]
 


Member Data Documentation

ACTIONINT YLogAction::action [private]
 

YASA_TIME YLogAction::endtime [private]
 

YLogFileMutex* YLogAction::mutex [private]
 

YASA_TIME YLogAction::starttime [private]
 

YLogFileTask* YLogAction::thread [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Feb 13 23:57:09 2003 for Yasa by doxygen1.3-rc3