22 #ifndef _mtsLODMultiplexerStreambuf_h
23 #define _mtsLODMultiplexerStreambuf_h
30 #if (CISST_OS == CISST_LINUX_RTAI) || (CISST_OS == CISST_LINUX) || (CISST_OS == CISST_SOLARIS) || (CISST_OS == CISST_QNX) || (CISST_OS == CISST_WINDOWS)
32 #elif (CISST_OS == CISST_DARWIN) || (CISST_OS == CISST_XENOMAI)
46 #if (CISST_OS == CISST_LINUX_RTAI) || (CISST_OS == CISST_LINUX) || (CISST_OS == CISST_SOLARIS) || (CISST_OS == CISST_QNX) || (CISST_OS == CISST_WINDOWS)
51 #elif (CISST_OS == CISST_DARWIN) || (CISST_OS == CISST_XENOMAI)
55 } PerThreadChannelElementType;
56 typedef std::vector<PerThreadChannelElementType> PerThreadChannelContainerType;
57 PerThreadChannelContainerType PerThreadChannelContainer;
65 std::streamsize
xsputn(
const char *s, std::streamsize n);
std::map< osaThreadId, PerThreadChannelType *, osaThreadId > PerThreadChannelMapType
Definition: mtsLODMultiplexerStreambuf.h:48
Definition: mtsLODMultiplexerStreambuf.h:36
PerThreadChannelMapType PerThreadChannelMap
Definition: mtsLODMultiplexerStreambuf.h:50
Declaration of the class cmnCallbackStreambuf.
Define a Mutex object.
Definition: osaMutex.h:48
PerThreadChannelType * GetThreadChannel(const osaThreadId &threadId)
~mtsLODMultiplexerStreambuf()
Declaration of osaThread.
std::basic_streambuf< char, std::char_traits< char > >::int_type int_type
Definition: cmnLODMultiplexerStreambuf.h:235
BaseType::int_type IntType
Definition: mtsLODMultiplexerStreambuf.h:42
short cmnLogLevel
Definition: cmnLogLoD.h:55
Type Definitions for dynamic control of output messages.
ThreadId type.
Definition: osaThread.h:77
cmnLODMultiplexerStreambuf< char > BaseType
Definition: mtsLODMultiplexerStreambuf.h:39
std::char_traits< char > TraitType
Definition: mtsLODMultiplexerStreambuf.h:40
std::pair< PerThreadChannelMapType::iterator, bool > PerThreadChannelMapPairType
Definition: mtsLODMultiplexerStreambuf.h:49
std::streamsize xsputn(const char *s, std::streamsize n, cmnLogLevel level)
osaMutex PerThreadChannelMapSync
Definition: mtsLODMultiplexerStreambuf.h:61
mtsLODMultiplexerStreambuf()
A Streambuffer class that outputs via a callback function.
Definition: cmnCallbackStreambuf.h:66
cmnCallbackStreambuf< char > PerThreadChannelType
Definition: mtsLODMultiplexerStreambuf.h:41
IntType overflow(IntType c, cmnLogLevel level)
A Streambuffer class that allows output to multiple streambuf objects for Level of Detail information...
Definition: cmnLODMultiplexerStreambuf.h:108