proxygen
Ticker Struct Reference
Inheritance diagram for Ticker:
Alloc< T > DataTicker< f > folly::Arena< Alloc >::AllocAndSize Data< f, pad >

Static Public Member Functions

static void Tick (const std::string &s)
 

Static Public Attributes

static int CountTicks = 0
 
static int TicksLeft = -1
 

Detailed Description

Definition at line 380 of file StlVectorTest.cpp.

Member Function Documentation

static void Ticker::Tick ( const std::string s)
inlinestatic

Definition at line 383 of file StlVectorTest.cpp.

References CountTicks, and TicksLeft.

383  {
384  if (TicksLeft == 0) {
385  throw TickException(s);
386  }
387  CountTicks++;
388  TicksLeft--;
389  }
static int TicksLeft
static int CountTicks
static set< string > s

Member Data Documentation

int Ticker::CountTicks = 0
static

Definition at line 381 of file StlVectorTest.cpp.

Referenced by softReset(), and Tick().


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