proxygen
BlockingWriteCaller< Q > Struct Template Reference
Inheritance diagram for BlockingWriteCaller< Q >:
WriteMethodCaller< Q >

Public Member Functions

bool callWrite (Q &q, int i) override
 
string methodName () override
 
- Public Member Functions inherited from WriteMethodCaller< Q >
 WriteMethodCaller ()
 
virtual ~WriteMethodCaller ()=default
 

Detailed Description

template<typename Q>
struct BlockingWriteCaller< Q >

Definition at line 375 of file MPMCQueueTest.cpp.

Member Function Documentation

template<typename Q >
bool BlockingWriteCaller< Q >::callWrite ( Q &  q,
int  i 
)
inlineoverridevirtual

Implements WriteMethodCaller< Q >.

Definition at line 376 of file MPMCQueueTest.cpp.

376  {
377  q.blockingWrite(i);
378  return true;
379  }
template<typename Q >
string BlockingWriteCaller< Q >::methodName ( )
inlineoverridevirtual

Implements WriteMethodCaller< Q >.

Definition at line 380 of file MPMCQueueTest.cpp.

380  {
381  return "blockingWrite";
382  }

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