Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Poco::PythonLoggingChannel::State Struct Reference

Public Member Functions

 ~State ()
 

Public Attributes

bool callbackScheduled {false}
 
bool closed {false}
 
bool draining {false}
 
size_t droppedMessages {0}
 
size_t maxQueueSize {MAX_QUEUE_SIZE_DEFAULT}
 
std::mutex mutex
 
std::unique_ptr< boost::python::object > pyLogger
 
std::deque< Message > queue
 

Detailed Description

Definition at line 76 of file PythonLoggingChannel.cpp.

Constructor & Destructor Documentation

◆ ~State()

Poco::PythonLoggingChannel::State::~State ( )
inline

Definition at line 79 of file PythonLoggingChannel.cpp.

References pyLogger.

Member Data Documentation

◆ callbackScheduled

bool Poco::PythonLoggingChannel::State::callbackScheduled {false}

Definition at line 97 of file PythonLoggingChannel.cpp.

Referenced by Poco::PythonLoggingChannel::drainQueue().

◆ closed

bool Poco::PythonLoggingChannel::State::closed {false}

Definition at line 99 of file PythonLoggingChannel.cpp.

◆ draining

bool Poco::PythonLoggingChannel::State::draining {false}

Definition at line 98 of file PythonLoggingChannel.cpp.

Referenced by Poco::PythonLoggingChannel::drainQueue().

◆ droppedMessages

size_t Poco::PythonLoggingChannel::State::droppedMessages {0}

Definition at line 96 of file PythonLoggingChannel.cpp.

Referenced by Poco::PythonLoggingChannel::drainQueue().

◆ maxQueueSize

size_t Poco::PythonLoggingChannel::State::maxQueueSize {MAX_QUEUE_SIZE_DEFAULT}

Definition at line 95 of file PythonLoggingChannel.cpp.

Referenced by Poco::PythonLoggingChannel::drainQueue().

◆ mutex

std::mutex Poco::PythonLoggingChannel::State::mutex

Definition at line 92 of file PythonLoggingChannel.cpp.

Referenced by Poco::PythonLoggingChannel::drainQueue().

◆ pyLogger

std::unique_ptr<boost::python::object> Poco::PythonLoggingChannel::State::pyLogger

Definition at line 94 of file PythonLoggingChannel.cpp.

Referenced by Poco::PythonLoggingChannel::drainQueue(), and ~State().

◆ queue

std::deque<Message> Poco::PythonLoggingChannel::State::queue

Definition at line 93 of file PythonLoggingChannel.cpp.

Referenced by Poco::PythonLoggingChannel::drainQueue().


The documentation for this struct was generated from the following file: