Atlas Runtime
Atlas::CbLog< T > Struct Template Reference

#include <circular_buffer.hpp>

Collaboration diagram for Atlas::CbLog< T >:

Public Member Functions

 CbLog (uint32_t sz, uint32_t is_filled, uint32_t start_cb, uint32_t end_cb)
 
 CbLog ()=delete
 
 CbLog (const CbLog &)=delete
 
 CbLog (CbLog &&)=delete
 
CbLogoperator= (const CbLog &)=delete
 
CbLogoperator= (CbLog &&)=delete
 
bool isFull ()
 
bool isEmpty ()
 

Public Attributes

uint32_t Size
 
std::atomic< uint32_t > isFilled
 
std::atomic< uint32_t > Start
 
std::atomic< uint32_t > End
 
T * LogArray
 

Constructor & Destructor Documentation

template<class T>
Atlas::CbLog< T >::CbLog ( uint32_t  sz,
uint32_t  is_filled,
uint32_t  start_cb,
uint32_t  end_cb 
)
inlineexplicit
template<class T>
Atlas::CbLog< T >::CbLog ( )
delete
template<class T>
Atlas::CbLog< T >::CbLog ( const CbLog< T > &  )
delete
template<class T>
Atlas::CbLog< T >::CbLog ( CbLog< T > &&  )
delete

Member Function Documentation

template<class T>
bool Atlas::CbLog< T >::isEmpty ( )
inline
template<class T>
bool Atlas::CbLog< T >::isFull ( )
inline
template<class T>
CbLog& Atlas::CbLog< T >::operator= ( const CbLog< T > &  )
delete
template<class T>
CbLog& Atlas::CbLog< T >::operator= ( CbLog< T > &&  )
delete

Member Data Documentation

template<class T>
std::atomic<uint32_t> Atlas::CbLog< T >::End
template<class T>
std::atomic<uint32_t> Atlas::CbLog< T >::isFilled
template<class T>
T* Atlas::CbLog< T >::LogArray
template<class T>
uint32_t Atlas::CbLog< T >::Size
template<class T>
std::atomic<uint32_t> Atlas::CbLog< T >::Start

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