TwiceAsNice  2019-02-18
Classes | Public Member Functions | Private Types | Private Attributes | Friends | List of all members
Nice::AppLogger::ReaderThread Class Reference

#include <Logger.h>

Inheritance diagram for Nice::AppLogger::ReaderThread:
Inheritance graph
Collaboration diagram for Nice::AppLogger::ReaderThread:
Collaboration graph

Classes

struct  StdLogFunction
 

Public Member Functions

 ReaderThread (const Nice::JointPtr &_tree)
 
 ~ReaderThread ()
 
virtual void run ()
 
virtual void terminate ()
 
 ReaderThread (const Nice::JointPtr &_tree)
 
 ~ReaderThread ()
 
virtual void run ()
 
virtual void terminate ()
 
- Public Member Functions inherited from Nice::Thread
 Thread ()
 
virtual ~Thread ()
 
IceUtil::ThreadControl start (size_t _stackSize=0, int prio=-1, int schedpolicy=-1, cpu_set_t *mask=0)
 
virtual bool terminated ()
 
virtual void cancel ()
 cancels a thread - this will throw an unknown exception More...
 
virtual void wait ()
 
virtual void sleep (const Nice::Time &_t)
 
virtual void yield ()
 
virtual void wakeupAt (const Nice::Time &_t)
 
 Thread ()
 
virtual ~Thread ()
 
IceUtil::ThreadControl start (size_t _stackSize=0, int prio=-1, int schedpolicy=-1, cpu_set_t *mask=0)
 
virtual bool terminated ()
 
virtual void cancel ()
 cancels a thread - this will throw an unknown exception More...
 
virtual void wait ()
 
virtual void sleep (const Nice::Time &_t)
 
virtual void yield ()
 
virtual void wakeupAt (const Nice::Time &_t)
 

Private Types

typedef IceUtil::Handle< StdLogFunctionStdLogFunctionPtr
 
typedef IceUtil::Handle< StdLogFunctionStdLogFunctionPtr
 

Private Attributes

Nice::JointPtr m_tree
 
Nice::RingBuffer< Nice::LoggerObjectm_ring
 
StdLogFunctionPtr m_logFunction
 
IceUtil::Monitor< Nice::Mutexm_monitor
 

Friends

class AppLogger
 

Additional Inherited Members

- Protected Types inherited from Nice::Thread
enum  STATE {
  VALID, TERMINATED, CANCELED, VALID,
  TERMINATED, CANCELED
}
 
enum  STATE {
  VALID, TERMINATED, CANCELED, VALID,
  TERMINATED, CANCELED
}
 
- Protected Attributes inherited from Nice::Thread
Nice::Atomic< boolm_terminated
 

Member Typedef Documentation

◆ StdLogFunctionPtr [1/2]

◆ StdLogFunctionPtr [2/2]

Constructor & Destructor Documentation

◆ ReaderThread() [1/2]

Nice::AppLogger::ReaderThread::ReaderThread ( const Nice::JointPtr _tree)

◆ ~ReaderThread() [1/2]

Nice::AppLogger::ReaderThread::~ReaderThread ( )

◆ ReaderThread() [2/2]

Nice::AppLogger::ReaderThread::ReaderThread ( const Nice::JointPtr _tree)

◆ ~ReaderThread() [2/2]

Nice::AppLogger::ReaderThread::~ReaderThread ( )

Member Function Documentation

◆ run() [1/2]

void Nice::AppLogger::ReaderThread::run ( )
virtual

◆ run() [2/2]

virtual void Nice::AppLogger::ReaderThread::run ( )
virtual

◆ terminate() [1/2]

virtual void Nice::AppLogger::ReaderThread::terminate ( )
virtual

Reimplemented from Nice::Thread.

◆ terminate() [2/2]

void Nice::AppLogger::ReaderThread::terminate ( )
virtual

Reimplemented from Nice::Thread.

Friends And Related Function Documentation

◆ AppLogger

AppLogger
friend

Member Data Documentation

◆ m_logFunction

StdLogFunctionPtr Nice::AppLogger::ReaderThread::m_logFunction
private

◆ m_monitor

IceUtil::Monitor< Nice::Mutex > Nice::AppLogger::ReaderThread::m_monitor
private

◆ m_ring

Nice::RingBuffer< Nice::LoggerObject > Nice::AppLogger::ReaderThread::m_ring
private

◆ m_tree

Nice::JointPtr Nice::AppLogger::ReaderThread::m_tree
private

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