Nui
Public Member Functions | List of all members
Nui::MoveDetector Class Reference

Utility class to detect if an object was moved. More...

#include <move_detector.hpp>

Public Member Functions

 MoveDetector ()=default
 
 MoveDetector (MoveDetector const &)=default
 
 MoveDetector (MoveDetector &&other) noexcept
 
MoveDetectoroperator= (MoveDetector const &)=default
 
MoveDetectoroperator= (MoveDetector &&other) noexcept
 
bool wasMoved () const noexcept
 

Detailed Description

Utility class to detect if an object was moved.

Constructor & Destructor Documentation

◆ MoveDetector() [1/3]

Nui::MoveDetector::MoveDetector ( )
default

◆ MoveDetector() [2/3]

Nui::MoveDetector::MoveDetector ( MoveDetector const &  )
default

◆ MoveDetector() [3/3]

Nui::MoveDetector::MoveDetector ( MoveDetector &&  other)
inlinenoexcept

Member Function Documentation

◆ operator=() [1/2]

MoveDetector& Nui::MoveDetector::operator= ( MoveDetector &&  other)
inlinenoexcept

◆ operator=() [2/2]

MoveDetector& Nui::MoveDetector::operator= ( MoveDetector const &  )
default

◆ wasMoved()

bool Nui::MoveDetector::wasMoved ( ) const
inlinenoexcept

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