Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::UndoEntry< T > Struct Template Reference

#include <UndoManager.h>

+ Inheritance diagram for Divide::UndoEntry< T >:

Public Member Functions

void swapValues () noexcept override
 
void apply () override
 
- Public Member Functions inherited from Divide::IUndoEntry
virtual ~IUndoEntry ()=default
 
virtual void swapValues ()=0
 
virtual void apply ()=0
 

Public Attributes

_oldVal = {}
 
_newVal = {}
 
DELEGATE_STD< void, const T & > _dataSetter = {}
 
- Public Attributes inherited from Divide::IUndoEntry
PushConstantType _type = PushConstantType::COUNT
 
string _name = ""
 
DELEGATE< void, std::string_view > _onChangedCbk
 

Detailed Description

template<typename T>
struct Divide::UndoEntry< T >

Definition at line 51 of file UndoManager.h.

Member Function Documentation

◆ apply()

template<typename T >
void Divide::UndoEntry< T >::apply ( )
inlineoverridevirtual

Implements Divide::IUndoEntry.

Definition at line 60 of file UndoManager.h.

◆ swapValues()

template<typename T >
void Divide::UndoEntry< T >::swapValues ( )
inlineoverridevirtualnoexcept

Implements Divide::IUndoEntry.

Definition at line 56 of file UndoManager.h.

Member Data Documentation

◆ _dataSetter

template<typename T >
DELEGATE_STD<void, const T&> Divide::UndoEntry< T >::_dataSetter = {}

Definition at line 54 of file UndoManager.h.

◆ _newVal

template<typename T >
T Divide::UndoEntry< T >::_newVal = {}

Definition at line 53 of file UndoManager.h.

◆ _oldVal

template<typename T >
T Divide::UndoEntry< T >::_oldVal = {}

Definition at line 52 of file UndoManager.h.


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