Anklang 0.3.0-460-gc4ef46ba
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
 
AtomicU64u64 (size_t upos)
 
AtomicBitsoperator= (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 >
assign (T... args)
 
at (T... args)
 
back (T... args)
 
begin (T... args)
 
capacity (T... args)
 
cbegin (T... args)
 
cend (T... args)
 
clear (T... args)
 
crbegin (T... args)
 
crend (T... args)
 
data (T... args)
 
emplace (T... args)
 
emplace_back (T... args)
 
empty (T... args)
 
end (T... args)
 
erase (T... args)
 
front (T... args)
 
get_allocator (T... args)
 
insert (T... args)
 
max_size (T... args)
 
operator= (T... args)
 
operator[] (T... args)
 
pop_back (T... args)
 
push_back (T... args)
 
rbegin (T... args)
 
rend (T... args)
 
reserve (T... args)
 
resize (T... args)
 
shrink_to_fit (T... args)
 
size (T... args)
 
swap (T... args)
 
vector (T... args)
 
~vector (T... args)
 

Detailed Description

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

Definition at line 232 of file atomics.hh.

Constructor & Destructor Documentation

◆ ~AtomicBits()

Ase::AtomicBits::~AtomicBits ( )

Definition at line 267 of file atomics.hh.

◆ AtomicBits()

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

Definition at line 268 of file atomics.hh.

Member Function Documentation

◆ all()

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

Definition at line 286 of file atomics.hh.

◆ any()

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

Definition at line 296 of file atomics.hh.

◆ base() [1/2]

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

Definition at line 234 of file atomics.hh.

◆ base() [2/2]

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

Definition at line 235 of file atomics.hh.

◆ begin()

Iter Ase::AtomicBits::begin ( )

Definition at line 276 of file atomics.hh.

◆ end()

Iter Ase::AtomicBits::end ( ) const

Definition at line 277 of file atomics.hh.

◆ iter()

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

Definition at line 275 of file atomics.hh.

◆ operator[]() [1/2]

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

Definition at line 282 of file atomics.hh.

◆ operator[]() [2/2]

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

Definition at line 281 of file atomics.hh.

◆ set()

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

Definition at line 280 of file atomics.hh.

◆ size()

size_t Ase::AtomicBits::size ( ) const

Definition at line 271 of file atomics.hh.

◆ u64() [1/2]

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

Definition at line 273 of file atomics.hh.

◆ u64() [2/2]

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

Definition at line 272 of file atomics.hh.

◆ usize()

size_t Ase::AtomicBits::usize ( ) const

Definition at line 270 of file atomics.hh.


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