22#ifndef ZVISION_FOCUS_LIST_H
23#define ZVISION_FOCUS_LIST_H
25#include "common/array.h"
49 void set(
const T currentFocus) {
53 if (this->
front() != currentFocus) {
55 while (this->
size() > 0) {
56 if (this->
back() != currentFocus)
61 while (buffer.
size() > 0) {
76 while (this->
size() > 0) {
77 if (this->
back() != value)
81 while (buffer.
size() > 0) {
T & front()
Definition: array.h:218
uint size_type
Definition: array.h:62
size_type size() const
Definition: array.h:316
T & back()
Definition: array.h:230
void push_back(const T &element)
Definition: array.h:181
void pop_back()
Definition: array.h:200
Definition: focus_list.h:41
void remove(const T value)
Definition: focus_list.h:73
void set(const T currentFocus)
Definition: focus_list.h:49
Definition: focus_list.h:27