proxygen
DummyDrivableExecutor Class Reference
Inheritance diagram for DummyDrivableExecutor:
folly::DrivableExecutor folly::Executor

Public Member Functions

void add (Func) override
 
void drive () override
 
- Public Member Functions inherited from folly::DrivableExecutor
 ~DrivableExecutor () override=default
 
- Public Member Functions inherited from folly::Executor
virtual ~Executor ()
 
virtual void add (Func)=0
 
virtual void addWithPriority (Func, int8_t priority)
 
virtual uint8_t getNumPriorities () const
 

Public Attributes

bool ran {false}
 

Additional Inherited Members

- Static Public Member Functions inherited from folly::Executor
template<typename ExecutorT >
static KeepAlive< ExecutorT > getKeepAliveToken (ExecutorT *executor)
 
template<typename ExecutorT >
static KeepAlive< ExecutorT > getKeepAliveToken (ExecutorT &executor)
 
- Static Public Attributes inherited from folly::Executor
static const int8_t LO_PRI = SCHAR_MIN
 
static const int8_t MID_PRI = 0
 
static const int8_t HI_PRI = SCHAR_MAX
 
- Protected Member Functions inherited from folly::Executor
virtual bool keepAliveAcquire ()
 
virtual void keepAliveRelease ()
 
- Static Protected Member Functions inherited from folly::Executor
template<typename ExecutorT >
static bool isKeepAliveDummy (const KeepAlive< ExecutorT > &keepAlive)
 
template<typename ExecutorT >
static KeepAlive< ExecutorT > makeKeepAlive (ExecutorT *executor)
 

Detailed Description

Definition at line 386 of file ViaTest.cpp.

Member Function Documentation

void DummyDrivableExecutor::add ( Func  )
inlineoverride

Definition at line 388 of file ViaTest.cpp.

388 {}
void DummyDrivableExecutor::drive ( )
inlineoverridevirtual

Implements folly::DrivableExecutor.

Definition at line 389 of file ViaTest.cpp.

389  {
390  ran = true;
391  }

Member Data Documentation

bool DummyDrivableExecutor::ran {false}

Definition at line 392 of file ViaTest.cpp.

Referenced by TEST().


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