Evo C++ Library v0.5.1
Public Types | Public Member Functions | Public Attributes | List of all members
StreamMT< T > Struct Template Reference

#include <evo/iothread.h>

Detailed Description

template<class T>
struct evo::StreamMT< T >

Stream with mutex for multithreaded synchronization.

Public Types

typedef StreamMT< T > This
 This type. More...
 

Public Member Functions

 StreamMT (bool exceptions=1)
 Constructor. More...
 

Public Attributes

Mutex mutex
 Stream mutex. More...
 
stream
 Stream object. More...
 

Member Typedef Documentation

◆ This

typedef StreamMT<T> This

This type.

Constructor & Destructor Documentation

◆ StreamMT()

StreamMT ( bool  exceptions = 1)
inline

Constructor.

Parameters
exceptionsWhether to enable exceptions on error, default set by Evo config: EVO_EXCEPTIONS

Member Data Documentation

◆ mutex

Mutex mutex

Stream mutex.

◆ stream

T stream

Stream object.


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