Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Eigen::EventCount Class Reference

#include <EventCount.h>

Classes

class  Waiter
 

Public Member Functions

void CancelWait (Waiter *w)
 
void CommitWait (Waiter *w)
 
 EventCount (MaxSizeVector< Waiter > &waiters)
 
void Notify (bool all)
 
void Prewait (Waiter *w)
 
 ~EventCount ()
 

Private Member Functions

 EventCount (const EventCount &)=delete
 
void operator= (const EventCount &)=delete
 
void Park (Waiter *w)
 
void Unpark (Waiter *waiters)
 

Private Attributes

std::atomic< uint64_tstate_
 
MaxSizeVector< Waiter > & waiters_
 

Static Private Attributes

static const uint64_t kEpochBits = 32
 
static const uint64_t kEpochInc = 1ull << kEpochShift
 
static const uint64_t kEpochMask = ((1ull << kEpochBits) - 1) << kEpochShift
 
static const uint64_t kEpochShift = 32
 
static const uint64_t kStackBits = 16
 
static const uint64_t kStackMask = (1ull << kStackBits) - 1
 
static const uint64_t kWaiterBits = 16
 
static const uint64_t kWaiterInc = 1ull << kWaiterBits
 
static const uint64_t kWaiterMask
 
static const uint64_t kWaiterShift = 16
 

Detailed Description

Definition at line 49 of file EventCount.h.

Constructor & Destructor Documentation

Eigen::EventCount::EventCount ( MaxSizeVector< Waiter > &  waiters)
inline

Definition at line 53 of file EventCount.h.

Eigen::EventCount::~EventCount ( )
inline

Definition at line 59 of file EventCount.h.

Eigen::EventCount::EventCount ( const EventCount )
privatedelete

Member Function Documentation

void Eigen::EventCount::CancelWait ( Waiter w)
inline

Definition at line 106 of file EventCount.h.

void Eigen::EventCount::CommitWait ( Waiter w)
inline

Definition at line 73 of file EventCount.h.

void Eigen::EventCount::Notify ( bool  all)
inline

Definition at line 131 of file EventCount.h.

void Eigen::EventCount::operator= ( const EventCount )
privatedelete
void Eigen::EventCount::Park ( Waiter w)
inlineprivate

Definition at line 204 of file EventCount.h.

void Eigen::EventCount::Prewait ( Waiter w)
inline

Definition at line 67 of file EventCount.h.

void Eigen::EventCount::Unpark ( Waiter waiters)
inlineprivate

Definition at line 212 of file EventCount.h.

Member Data Documentation

const uint64_t Eigen::EventCount::kEpochBits = 32
staticprivate

Definition at line 197 of file EventCount.h.

const uint64_t Eigen::EventCount::kEpochInc = 1ull << kEpochShift
staticprivate

Definition at line 200 of file EventCount.h.

const uint64_t Eigen::EventCount::kEpochMask = ((1ull << kEpochBits) - 1) << kEpochShift
staticprivate

Definition at line 199 of file EventCount.h.

const uint64_t Eigen::EventCount::kEpochShift = 32
staticprivate

Definition at line 198 of file EventCount.h.

const uint64_t Eigen::EventCount::kStackBits = 16
staticprivate

Definition at line 190 of file EventCount.h.

const uint64_t Eigen::EventCount::kStackMask = (1ull << kStackBits) - 1
staticprivate

Definition at line 191 of file EventCount.h.

const uint64_t Eigen::EventCount::kWaiterBits = 16
staticprivate

Definition at line 192 of file EventCount.h.

const uint64_t Eigen::EventCount::kWaiterInc = 1ull << kWaiterBits
staticprivate

Definition at line 196 of file EventCount.h.

const uint64_t Eigen::EventCount::kWaiterMask
staticprivate
Initial value:
= ((1ull << kWaiterBits) - 1)

Definition at line 194 of file EventCount.h.

const uint64_t Eigen::EventCount::kWaiterShift = 16
staticprivate

Definition at line 193 of file EventCount.h.

std::atomic<uint64_t> Eigen::EventCount::state_
private

Definition at line 201 of file EventCount.h.

MaxSizeVector<Waiter>& Eigen::EventCount::waiters_
private

Definition at line 202 of file EventCount.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:52:35