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

Definition at line 386 of file MPMCQueueTest.cpp.

Member Function Documentation

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

Implements WriteMethodCaller< Q >.

Definition at line 387 of file MPMCQueueTest.cpp.

387  {
388  return q.writeIfNotFull(i);
389  }
template<typename Q >
string WriteIfNotFullCaller< Q >::methodName ( )
inlineoverridevirtual

Implements WriteMethodCaller< Q >.

Definition at line 390 of file MPMCQueueTest.cpp.

390  {
391  return "writeIfNotFull";
392  }

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