Anklang-0.3.0-1416-gfa8ce8d2 anklang-0.3.0-1416-gfa8ce8d2
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | List of all members
Ase::AtomicBits Class Reference

Vector of atomic bits, operates in blocks of 64 bits. More...

#include "atomics.hh"

Inheritance diagram for Ase::AtomicBits:
[legend]

Classes

class  Iter
 

Public Member Functions

 AtomicBits (size_t nbits)
 
 AtomicBits (const AtomicBits &)=delete
 
size_t usize () const
 
size_t size () const
 
uint64 u64 (size_t upos) const
 
AtomicU64 & u64 (size_t upos)
 
AtomicBits & operator= (const AtomicBits &)=delete
 
Iter iter (size_t pos)
 
Iter begin ()
 
Iter end () const
 
bool all (bool toggle) const
 
bool any (bool toggle) const
 
bool set (size_t pos, bool toggle)
 
bool operator[] (size_t pos) const
 
Iter operator[] (size_t pos)
 

Protected Member Functions

std::vector< AtomicU64 > & base ()
 
const std::vector< AtomicU64 > & base () const
 
- Protected Member Functions inherited from std::vector< AtomicU64 >
T assign (T... args)
 
T at (T... args)
 
T back (T... args)
 
T begin (T... args)
 
T capacity (T... args)
 
T cbegin (T... args)
 
T cend (T... args)
 
T clear (T... args)
 
T crbegin (T... args)
 
T crend (T... args)
 
T data (T... args)
 
T emplace (T... args)
 
T emplace_back (T... args)
 
T empty (T... args)
 
T end (T... args)
 
T erase (T... args)
 
T front (T... args)
 
T get_allocator (T... args)
 
T insert (T... args)
 
T max_size (T... args)
 
T operator= (T... args)
 
T operator[] (T... args)
 
T pop_back (T... args)
 
T push_back (T... args)
 
T rbegin (T... args)
 
T rend (T... args)
 
T reserve (T... args)
 
T resize (T... args)
 
T shrink_to_fit (T... args)
 
T size (T... args)
 
T swap (T... args)
 
T vector (T... args)
 
T ~vector (T... args)
 

Detailed Description

Vector of atomic bits, operates in blocks of 64 bits.

Definition at line 231 of file atomics.hh.

Constructor & Destructor Documentation

◆ ~AtomicBits()

Ase::AtomicBits::~AtomicBits ( )

Definition at line 266 of file atomics.hh.

◆ AtomicBits()

Ase::AtomicBits::AtomicBits ( size_t  nbits)
explicit

Definition at line 267 of file atomics.hh.

Member Function Documentation

◆ all()

bool Ase::AtomicBits::all ( bool  toggle) const

Definition at line 285 of file atomics.hh.

◆ any()

bool Ase::AtomicBits::any ( bool  toggle) const

Definition at line 295 of file atomics.hh.

◆ base() [1/2]

std::vector< AtomicU64 > & Ase::AtomicBits::base ( )
protected

Definition at line 233 of file atomics.hh.

◆ base() [2/2]

const std::vector< AtomicU64 > & Ase::AtomicBits::base ( ) const
protected

Definition at line 234 of file atomics.hh.

◆ begin()

Iter Ase::AtomicBits::begin ( )

Definition at line 275 of file atomics.hh.

◆ end()

Iter Ase::AtomicBits::end ( ) const

Definition at line 276 of file atomics.hh.

◆ iter()

Iter Ase::AtomicBits::iter ( size_t  pos)

Definition at line 274 of file atomics.hh.

◆ operator[]() [1/2]

Iter Ase::AtomicBits::operator[] ( size_t  pos)

Definition at line 281 of file atomics.hh.

◆ operator[]() [2/2]

bool Ase::AtomicBits::operator[] ( size_t  pos) const

Definition at line 280 of file atomics.hh.

◆ set()

bool Ase::AtomicBits::set ( size_t  pos,
bool  toggle 
)

Definition at line 279 of file atomics.hh.

◆ size()

size_t Ase::AtomicBits::size ( ) const

Definition at line 270 of file atomics.hh.

◆ u64() [1/2]

AtomicU64 & Ase::AtomicBits::u64 ( size_t  upos)

Definition at line 272 of file atomics.hh.

◆ u64() [2/2]

uint64 Ase::AtomicBits::u64 ( size_t  upos) const

Definition at line 271 of file atomics.hh.

◆ usize()

size_t Ase::AtomicBits::usize ( ) const

Definition at line 269 of file atomics.hh.


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