Skip to content

Implementation of a templated class utilizing std::array, forming a circular buffer data structure, ideal for efficient data streaming and featuring complex cell data

Notifications You must be signed in to change notification settings

danildenha/Circular-Buffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Circular Buffer C++ Project

Overview

This C++ project implements a circular buffer using a templated class with STL std::array. In computer science, a circular buffer is a data structure that uses a single, fixed-size buffer as if it were connected end-to-end. This structure lends itself easily to buffering data streams. There were early circular buffer implementations in hardware. For better understanding REFER HERE

Here you can see how circular buffer works

Gif Animation

About the project

Within this project, the circular buffer utilizes intricate data within its cells, such as the Dog class that contains inside of the circular buffer cells. To run and test the project, run 'Source.cpp'

Project Structure

  • Circular_Buffer.h: Header file containing the implementation of the CircularBuffer class.
  • Dog.h Header file containing implementation for Dog class used as a type in Circular Buffer
  • Source.cpp: Contains initial tests for functionality.

About

Implementation of a templated class utilizing std::array, forming a circular buffer data structure, ideal for efficient data streaming and featuring complex cell data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages