Lugdunum  0.1.0
Public Member Functions | Private Attributes | List of all members
lug::System::Memory::Area::Stack< Size > Class Template Reference

#include <Stack.hpp>

Inheritance diagram for lug::System::Memory::Area::Stack< Size >:
[legend]
Collaboration diagram for lug::System::Memory::Area::Stack< Size >:
[legend]

Public Member Functions

 Stack ()=default
 
 Stack (const Stack &)=delete
 
 Stack (Stack &&)=delete
 
Stackoperator= (const Stack &)=delete
 
Stackoperator= (Stack &&)=delete
 
 ~Stack ()=default
 
PagerequestNextPage () override
 
- Public Member Functions inherited from lug::System::Memory::Area::IArea
 IArea ()=default
 
 IArea (const IArea &)=delete
 
 IArea (IArea &&)=delete
 
IAreaoperator= (const IArea &)=delete
 
IAreaoperator= (IArea &&)=delete
 
virtual ~IArea ()=default
 

Private Attributes

char _data [Size]
 
Page _page {&_data[0], &_data[Size - 1], nullptr, nullptr}
 
bool _nextPage {true}
 

Detailed Description

template<size_t Size>
class lug::System::Memory::Area::Stack< Size >

Definition at line 12 of file Stack.hpp.

Constructor & Destructor Documentation

◆ Stack() [1/3]

template<size_t Size>
lug::System::Memory::Area::Stack< Size >::Stack ( )
default

◆ Stack() [2/3]

template<size_t Size>
lug::System::Memory::Area::Stack< Size >::Stack ( const Stack< Size > &  )
delete

◆ Stack() [3/3]

template<size_t Size>
lug::System::Memory::Area::Stack< Size >::Stack ( Stack< Size > &&  )
delete

◆ ~Stack()

template<size_t Size>
lug::System::Memory::Area::Stack< Size >::~Stack ( )
default

Member Function Documentation

◆ operator=() [1/2]

template<size_t Size>
Stack& lug::System::Memory::Area::Stack< Size >::operator= ( const Stack< Size > &  )
delete

◆ operator=() [2/2]

template<size_t Size>
Stack& lug::System::Memory::Area::Stack< Size >::operator= ( Stack< Size > &&  )
delete

◆ requestNextPage()

template<size_t Size>
Page * lug::System::Memory::Area::Stack< Size >::requestNextPage ( )
inlineoverridevirtual

Implements lug::System::Memory::Area::IArea.

Definition at line 2 of file Stack.inl.

Member Data Documentation

◆ _data

template<size_t Size>
char lug::System::Memory::Area::Stack< Size >::_data[Size]
private

Definition at line 26 of file Stack.hpp.

◆ _page

template<size_t Size>
Page lug::System::Memory::Area::Stack< Size >::_page {&_data[0], &_data[Size - 1], nullptr, nullptr}
private

Definition at line 28 of file Stack.hpp.

◆ _nextPage

template<size_t Size>
bool lug::System::Memory::Area::Stack< Size >::_nextPage {true}
private

Definition at line 29 of file Stack.hpp.


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