ldas-tools-al 2.6.7
Loading...
Searching...
No Matches
LDASTools::AL::IOLock Class Reference

Class to coordinate writing of streams. More...

#include <IOLock.hh>

Collaboration diagram for LDASTools::AL::IOLock:

Classes

struct  lock_set

Public Types

typedef MutexLock::baton_type baton_type
typedef MutexLock::baton_type baton_type

Static Public Member Functions

static baton_type GetKey (const std::ostream &Stream)
 Obtain the lock for a stream.
static baton_type GetKey (const std::ostream &Stream)
 Obtain the lock for a stream.

Private Types

typedef std::list< lock_set * > keys_ostream_type
typedef std::list< lock_set * > keys_ostream_type

Static Private Attributes

static baton_type m_key_ostream
static keys_ostream_type m_keys_ostream

Detailed Description

Class to coordinate writing of streams.

This class allows multithreaded applications to share a stream when threads cooperate.

Member Typedef Documentation

◆ baton_type [1/2]

◆ baton_type [2/2]

◆ keys_ostream_type [1/2]

typedef std::list< lock_set* > LDASTools::AL::IOLock::keys_ostream_type
private

◆ keys_ostream_type [2/2]

typedef std::list< lock_set* > LDASTools::AL::IOLock::keys_ostream_type
private

Member Function Documentation

◆ GetKey() [1/2]

MutexLock::baton_type LDASTools::AL::IOLock::GetKey ( const std::ostream & Stream)
static

Obtain the lock for a stream.

◆ GetKey() [2/2]

baton_type LDASTools::AL::IOLock::GetKey ( const std::ostream & Stream)
static

Obtain the lock for a stream.

Member Data Documentation

◆ m_key_ostream

baton_type LDASTools::AL::IOLock::m_key_ostream
staticprivate

◆ m_keys_ostream

keys_ostream_type LDASTools::AL::IOLock::m_keys_ostream
staticprivate

The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/build/include/ldastoolsal/IOLock.hh
  • /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/src/IOLock.hh
  • /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/src/IOLock.cc