ThreadWeaver::QueueStream

Search for usage in LXR

ThreadWeaver::QueueStream Class Reference

#include <queuestream.h>

Public Member Functions

 QueueStream (Queue *queue)
 
void add (const JobPointer &job)
 
void flush ()
 
QueueStreamoperator<< (const JobPointer &job)
 
QueueStreamoperator<< (Job &job)
 
QueueStreamoperator<< (JobInterface *job)
 

Detailed Description

QueueStream implements a stream based API to access ThreadWeaver queues.

Definition at line 21 of file queuestream.h.

Constructor & Destructor Documentation

◆ QueueStream()

ThreadWeaver::QueueStream::QueueStream ( Queue * queue)
explicit

Definition at line 28 of file queuestream.cpp.

◆ ~QueueStream()

ThreadWeaver::QueueStream::~QueueStream ( )

Definition at line 34 of file queuestream.cpp.

Member Function Documentation

◆ add()

void ThreadWeaver::QueueStream::add ( const JobPointer & job)

Definition at line 40 of file queuestream.cpp.

◆ flush()

void ThreadWeaver::QueueStream::flush ( )

Definition at line 45 of file queuestream.cpp.

◆ operator<<() [1/3]

QueueStream & ThreadWeaver::QueueStream::operator<< ( const JobPointer & job)

Definition at line 55 of file queuestream.cpp.

◆ operator<<() [2/3]

QueueStream & ThreadWeaver::QueueStream::operator<< ( Job & job)

Definition at line 67 of file queuestream.cpp.

◆ operator<<() [3/3]

QueueStream & ThreadWeaver::QueueStream::operator<< ( JobInterface * job)

Definition at line 61 of file queuestream.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:39 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.