Public Member Functions | Protected Member Functions | Protected Attributes

ThreadsafePacketLogger Class Reference
[PacketLogger]

Same as PacketLogger, but writes output in the user thread. More...

#include <ThreadsafePacketLogger.h>

Inherits PacketLogger.

Collaboration diagram for ThreadsafePacketLogger:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ThreadsafePacketLogger ()
virtual ~ThreadsafePacketLogger ()
virtual void Update (void)
 Update is called every time a packet is checked for .

Protected Member Functions

virtual void AddToLog (const char *str)

Protected Attributes

DataStructures::SingleProducerConsumer
< char * > 
logMessages

Detailed Description

Same as PacketLogger, but writes output in the user thread.

Definition at line 19 of file ThreadsafePacketLogger.h.


Constructor & Destructor Documentation

ThreadsafePacketLogger::ThreadsafePacketLogger (  ) 

Definition at line 7 of file ThreadsafePacketLogger.cpp.

ThreadsafePacketLogger::~ThreadsafePacketLogger (  )  [virtual]

Definition at line 11 of file ThreadsafePacketLogger.cpp.

Here is the call graph for this function:


Member Function Documentation

void ThreadsafePacketLogger::AddToLog ( const char *  str  )  [protected, virtual]

Reimplemented from PacketLogger.

Definition at line 28 of file ThreadsafePacketLogger.cpp.

Here is the call graph for this function:

void ThreadsafePacketLogger::Update ( void   )  [virtual]

Update is called every time a packet is checked for .

Reimplemented from PluginInterface2.

Definition at line 19 of file ThreadsafePacketLogger.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 30 of file ThreadsafePacketLogger.h.


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