| 
    MRPT
    2.0.0
    
   | 
 
A wrapper class for pointers that can NOT be copied with "=" operator, raising an exception at runtime if a copy is attempted.
Definition at line 112 of file safe_pointers.h.
#include <mrpt/core/safe_pointers.h>
Public Member Functions | |
| non_copiable_ptr_basic () | |
| non_copiable_ptr_basic (const non_copiable_ptr_basic< T > &) | |
| non_copiable_ptr_basic (const T *p) | |
| non_copiable_ptr_basic< T > & | operator= (T *p) | 
| non_copiable_ptr_basic< T > & | operator= (const non_copiable_ptr_basic< T > &) | 
| void | set (const T *p) | 
| This method can change the pointer, since the change is made explicitly, not through copy operators transparent to the user.  More... | |
| virtual | ~non_copiable_ptr_basic ()=default | 
| bool | operator== (const T *o) const | 
| bool | operator== (const non_copiable_ptr_basic< T > &o) const | 
| bool | operator!= (const T *o) const | 
| bool | operator!= (const non_copiable_ptr_basic< T > &o) const | 
| T *& | get () | 
| const T * | get () const | 
| T ** | getPtrToPtr () | 
| T *& | operator-> () | 
| const T * | operator-> () const | 
Protected Attributes | |
| T * | ptr | 
      
  | 
  inline | 
Definition at line 118 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 119 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 123 of file safe_pointers.h.
      
  | 
  virtualdefault | 
      
  | 
  inline | 
Definition at line 151 of file safe_pointers.h.
Referenced by mrpt::img::CEnhancedMetaFile::CEnhancedMetaFile(), mrpt::io::CMemoryStream::CMemoryStream(), mrpt::gui::CBaseGUIWindow::destroyWxWindow(), mrpt::img::CEnhancedMetaFile::drawImage(), mrpt::gui::CDisplayWindow3D::forceRepaint(), mrpt::gui::CDisplayWindow3D::getCameraAzimuthDeg(), mrpt::gui::CDisplayWindow3D::getCameraElevationDeg(), mrpt::gui::CDisplayWindow3D::getCameraPointingToPoint(), mrpt::gui::CDisplayWindow3D::getCameraZoom(), mrpt::gui::CDisplayWindow3D::getFOV(), mrpt::gui::CDisplayWindow::getLastMousePosition(), mrpt::gui::CDisplayWindowPlots::getLastMousePosition(), mrpt::gui::CDisplayWindow3D::getLastMousePosition(), mrpt::io::CMemoryStream::getRawBufferData(), mrpt::gui::CBaseGUIWindow::getWxObject(), mrpt::gui::CDisplayWindow3D::isCameraProjective(), mrpt::img::CEnhancedMetaFile::line(), mrpt::io::CMemoryStream::loadBufferFromFile(), mrpt::vision::CVideoFileWriter::open(), mrpt::vision::CVideoFileWriter::operator<<(), mrpt::io::CMemoryStream::Read(), mrpt::io::CMemoryStream::resize(), mrpt::io::CMemoryStream::saveBufferToFile(), mrpt::img::CEnhancedMetaFile::selectVectorTextFont(), mrpt::gui::CDisplayWindow3D::setCameraAzimuthDeg(), mrpt::gui::CDisplayWindow3D::setCameraElevationDeg(), mrpt::gui::CDisplayWindow3D::setCameraPointingToPoint(), mrpt::gui::CDisplayWindow3D::setCameraProjective(), mrpt::gui::CDisplayWindow3D::setCameraZoom(), mrpt::gui::CDisplayWindow::setCursorCross(), mrpt::gui::CDisplayWindowPlots::setCursorCross(), mrpt::gui::CDisplayWindow3D::setCursorCross(), mrpt::gui::CDisplayWindow3D::setFOV(), mrpt::img::CEnhancedMetaFile::setPixel(), mrpt::gui::CDisplayWindow::showImage(), mrpt::img::CEnhancedMetaFile::textOut(), mrpt::gui::CDisplayWindow3D::useCameraFromScene(), mrpt::io::CMemoryStream::Write(), mrpt::vision::CVideoFileWriter::writeImage(), mrpt::img::CEnhancedMetaFile::~CEnhancedMetaFile(), and mrpt::io::CMemoryStream::~CMemoryStream().
      
  | 
  inline | 
Definition at line 152 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 153 of file safe_pointers.h.
Referenced by mrpt::gui::CBaseGUIWindow::createWxWindow().
      
  | 
  inline | 
Definition at line 145 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 146 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 154 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 159 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 124 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 130 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 139 of file safe_pointers.h.
      
  | 
  inline | 
Definition at line 140 of file safe_pointers.h.
      
  | 
  inline | 
This method can change the pointer, since the change is made explicitly, not through copy operators transparent to the user.
Definition at line 137 of file safe_pointers.h.
Referenced by mrpt::io::CMemoryStream::assignMemoryNotOwn(), and mrpt::io::CMemoryStream::resize().
      
  | 
  protected | 
Definition at line 115 of file safe_pointers.h.
Referenced by mrpt::non_copiable_ptr_basic< void >::get(), mrpt::non_copiable_ptr_basic< void >::getPtrToPtr(), mrpt::non_copiable_ptr_basic< void >::operator!=(), mrpt::non_copiable_ptr_basic< void >::operator->(), mrpt::non_copiable_ptr_basic< void >::operator=(), mrpt::non_copiable_ptr_basic< void >::operator==(), and mrpt::non_copiable_ptr_basic< void >::set().
| Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020 |