LibreOffice Module binaryurp (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
binaryurp::OutgoingRequests Class Reference

#include <outgoingrequests.hxx>

Public Member Functions

 OutgoingRequests ()
 
 ~OutgoingRequests ()
 
void push (rtl::ByteSequence const &tid, OutgoingRequest const &request)
 
OutgoingRequest top (rtl::ByteSequence const &tid)
 
void pop (rtl::ByteSequence const &tid) noexcept
 

Private Types

typedef std::map< rtl::ByteSequence, std::vector< OutgoingRequest > > Map
 

Private Member Functions

 OutgoingRequests (const OutgoingRequests &)=delete
 
OutgoingRequestsoperator= (const OutgoingRequests &)=delete
 

Private Attributes

std::mutex mutex_
 
Map map_
 

Detailed Description

Definition at line 39 of file outgoingrequests.hxx.

Member Typedef Documentation

◆ Map

typedef std::map<rtl::ByteSequence, std::vector<OutgoingRequest> > binaryurp::OutgoingRequests::Map
private

Definition at line 56 of file outgoingrequests.hxx.

Constructor & Destructor Documentation

◆ OutgoingRequests() [1/2]

binaryurp::OutgoingRequests::OutgoingRequests ( )

Definition at line 33 of file outgoingrequests.cxx.

◆ ~OutgoingRequests()

binaryurp::OutgoingRequests::~OutgoingRequests ( )

Definition at line 35 of file outgoingrequests.cxx.

◆ OutgoingRequests() [2/2]

binaryurp::OutgoingRequests::OutgoingRequests ( const OutgoingRequests )
privatedelete

Member Function Documentation

◆ operator=()

OutgoingRequests & binaryurp::OutgoingRequests::operator= ( const OutgoingRequests )
privatedelete

◆ pop()

void binaryurp::OutgoingRequests::pop ( rtl::ByteSequence const &  tid)
noexcept

Definition at line 55 of file outgoingrequests.cxx.

References i, map_, and mutex_.

Referenced by binaryurp::Bridge::lastOutgoingRequest().

◆ push()

void binaryurp::OutgoingRequests::push ( rtl::ByteSequence const &  tid,
OutgoingRequest const &  request 
)

Definition at line 37 of file outgoingrequests.cxx.

References map_, and mutex_.

◆ top()

OutgoingRequest binaryurp::OutgoingRequests::top ( rtl::ByteSequence const &  tid)

Definition at line 44 of file outgoingrequests.cxx.

References i, map_, and mutex_.

Referenced by binaryurp::Bridge::lastOutgoingRequest().

Member Data Documentation

◆ map_

Map binaryurp::OutgoingRequests::map_
private

Definition at line 59 of file outgoingrequests.hxx.

Referenced by push(), and top().

◆ mutex_

std::mutex binaryurp::OutgoingRequests::mutex_
private

Definition at line 58 of file outgoingrequests.hxx.

Referenced by push(), and top().


The documentation for this class was generated from the following files: