proxygen
WriteCaller< Q > Struct Template Reference
Inheritance diagram for WriteCaller< 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 WriteCaller< Q >

Definition at line 396 of file MPMCQueueTest.cpp.

Member Function Documentation

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

Implements WriteMethodCaller< Q >.

Definition at line 397 of file MPMCQueueTest.cpp.

397  {
398  return q.write(i);
399  }
template<typename Q >
string WriteCaller< Q >::methodName ( )
inlineoverridevirtual

Implements WriteMethodCaller< Q >.

Definition at line 400 of file MPMCQueueTest.cpp.

400  {
401  return "write";
402  }

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