NVIDIA DeepStream SDK API Reference

9.2 Release
ds3d::gl::Window Class Referenceabstract

Detailed Description

Definition at line 31 of file sources/libs/ds3d/glprocess/window.h.

Inheritance diagram for ds3d::gl::Window:
Collaboration diagram for ds3d::gl::Window:

Public Types

typedef abiCallBackT CloseCB
 
typedef abiCallBackT CloseCB
 
typedef abiCallBackT CloseCB
 
typedef abiCallBackT CloseCB
 
typedef abiCallBackT< int, int, int, int > KeyPressCB
 
typedef abiCallBackT< int, int, int, int > KeyPressCB
 
typedef abiCallBackT< int, int, int, int > KeyPressCB
 
typedef abiCallBackT< int, int, int, int > KeyPressCB
 
typedef abiCallBackT< int, int > FbSizeChangedCB
 
typedef abiCallBackT< int, int > FbSizeChangedCB
 
typedef abiCallBackT< int, int > FbSizeChangedCB
 
typedef abiCallBackT< int, int > FbSizeChangedCB
 
typedef abiCallBackT< double, double > MouseChangedCB
 
typedef abiCallBackT< double, double > MouseChangedCB
 
typedef abiCallBackT< double, double > MouseChangedCB
 
typedef abiCallBackT< double, double > MouseChangedCB
 

Public Member Functions

virtual void setSize (uint32_t width, uint32_t height)=0
 
virtual void setTitle (const char *t)=0
 
virtual void getSize (uint32_t &width, uint32_t &height) const =0
 
virtual std::string getTitle () const =0
 
virtual ErrCode makeCurrent ()=0
 
virtual void closeCurrent ()=0
 
virtual ErrCode run (std::function< ErrCode()> loopRender)=0
 
virtual ErrCode runOnce (std::function< ErrCode()> rendering)=0
 
virtual ErrCode close ()=0
 
virtual ErrCode getFrameBufferSize (uint32_t &width, uint32_t &height)=0
 
virtual ErrCode getWindowSize (uint32_t &width, uint32_t &height)=0
 
virtual void setSize (uint32_t width, uint32_t height)=0
 
virtual void setTitle (const char *t)=0
 
virtual void getSize (uint32_t &width, uint32_t &height) const =0
 
virtual std::string getTitle () const =0
 
virtual ErrCode makeCurrent ()=0
 
virtual void closeCurrent ()=0
 
virtual ErrCode run (std::function< ErrCode()> loopRender)=0
 
virtual ErrCode runOnce (std::function< ErrCode()> rendering)=0
 
virtual ErrCode close ()=0
 
virtual ErrCode getFrameBufferSize (uint32_t &width, uint32_t &height)=0
 
virtual ErrCode getWindowSize (uint32_t &width, uint32_t &height)=0
 
virtual void * getNativeWindow ()=0
 
virtual void * getNativeWindow ()=0
 
virtual void * getNativeWindow ()=0
 
virtual void * getNativeWindow ()=0
 
virtual void setCloseCallback (const CloseCB *closeCb)=0
 
virtual void setCloseCallback (const CloseCB *closeCb)=0
 
virtual void setCloseCallback (const CloseCB *closeCb)=0
 
virtual void setCloseCallback (const CloseCB *closeCb)=0
 
virtual void setKeyPressCallback (const KeyPressCB *keyCb)=0
 
virtual void setKeyPressCallback (const KeyPressCB *keyCb)=0
 
virtual void setKeyPressCallback (const KeyPressCB *keyCb)=0
 
virtual void setKeyPressCallback (const KeyPressCB *keyCb)=0
 
virtual void setFbSizeChangedCallback (const FbSizeChangedCB *fbSizeChangedCb)=0
 
virtual void setFbSizeChangedCallback (const FbSizeChangedCB *fbSizeChangedCb)=0
 
virtual void setFbSizeChangedCallback (const FbSizeChangedCB *fbSizeChangedCb)=0
 
virtual void setFbSizeChangedCallback (const FbSizeChangedCB *fbSizeChangedCb)=0
 
virtual void setMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 
virtual void setMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 
virtual void setMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 
virtual void setMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 
virtual void appendMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 
virtual void appendMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 
virtual void appendMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 
virtual void appendMouseChangedCallback (const MouseChangedCB *mouseChangedCb)=0
 

Member Typedef Documentation

◆ CloseCB [1/4]

Definition at line 31 of file includes/ds3d/common/abi_window.h.

◆ CloseCB [2/4]

Definition at line 31 of file sources/libs/ds3d/common/abi_window.h.

◆ CloseCB [3/4]

◆ CloseCB [4/4]

Definition at line 31 of file 9.2/includes/ds3d/common/abi_window.h.

◆ FbSizeChangedCB [1/4]

typedef abiCallBackT<int, int> ds3d::abiWindow::FbSizeChangedCB
inherited

Definition at line 35 of file includes/ds3d/common/abi_window.h.

◆ FbSizeChangedCB [2/4]

typedef abiCallBackT<int, int> ds3d::abiWindow::FbSizeChangedCB
inherited

Definition at line 35 of file sources/libs/ds3d/common/abi_window.h.

◆ FbSizeChangedCB [3/4]

typedef abiCallBackT<int, int> ds3d::abiWindow::FbSizeChangedCB
inherited

Definition at line 35 of file 9.2/includes/ds3d/common/abi_window.h.

◆ FbSizeChangedCB [4/4]

typedef abiCallBackT<int, int> ds3d::abiWindow::FbSizeChangedCB
inherited

Definition at line 35 of file 9.2/sources/libs/ds3d/common/abi_window.h.

◆ KeyPressCB [1/4]

typedef abiCallBackT<int, int, int, int> ds3d::abiWindow::KeyPressCB
inherited

Definition at line 33 of file 9.2/sources/libs/ds3d/common/abi_window.h.

◆ KeyPressCB [2/4]

typedef abiCallBackT<int, int, int, int> ds3d::abiWindow::KeyPressCB
inherited

Definition at line 33 of file includes/ds3d/common/abi_window.h.

◆ KeyPressCB [3/4]

typedef abiCallBackT<int, int, int, int> ds3d::abiWindow::KeyPressCB
inherited

Definition at line 33 of file 9.2/includes/ds3d/common/abi_window.h.

◆ KeyPressCB [4/4]

typedef abiCallBackT<int, int, int, int> ds3d::abiWindow::KeyPressCB
inherited

Definition at line 33 of file sources/libs/ds3d/common/abi_window.h.

◆ MouseChangedCB [1/4]

typedef abiCallBackT<double, double> ds3d::abiWindow::MouseChangedCB
inherited

Definition at line 38 of file 9.2/sources/libs/ds3d/common/abi_window.h.

◆ MouseChangedCB [2/4]

typedef abiCallBackT<double, double> ds3d::abiWindow::MouseChangedCB
inherited

Definition at line 38 of file includes/ds3d/common/abi_window.h.

◆ MouseChangedCB [3/4]

typedef abiCallBackT<double, double> ds3d::abiWindow::MouseChangedCB
inherited

Definition at line 38 of file sources/libs/ds3d/common/abi_window.h.

◆ MouseChangedCB [4/4]

typedef abiCallBackT<double, double> ds3d::abiWindow::MouseChangedCB
inherited

Definition at line 38 of file 9.2/includes/ds3d/common/abi_window.h.

Member Function Documentation

◆ appendMouseChangedCallback() [1/4]

virtual void ds3d::abiWindow::appendMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ appendMouseChangedCallback() [2/4]

virtual void ds3d::abiWindow::appendMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ appendMouseChangedCallback() [3/4]

virtual void ds3d::abiWindow::appendMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ appendMouseChangedCallback() [4/4]

virtual void ds3d::abiWindow::appendMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ close() [1/2]

virtual ErrCode ds3d::gl::Window::close ( )
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ close() [2/2]

virtual ErrCode ds3d::gl::Window::close ( )
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ closeCurrent() [1/2]

virtual void ds3d::gl::Window::closeCurrent ( )
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ closeCurrent() [2/2]

virtual void ds3d::gl::Window::closeCurrent ( )
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getFrameBufferSize() [1/2]

virtual ErrCode ds3d::gl::Window::getFrameBufferSize ( uint32_t &  width,
uint32_t &  height 
)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getFrameBufferSize() [2/2]

virtual ErrCode ds3d::gl::Window::getFrameBufferSize ( uint32_t &  width,
uint32_t &  height 
)
pure virtual

◆ getNativeWindow() [1/4]

virtual void* ds3d::abiWindow::getNativeWindow ( )
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getNativeWindow() [2/4]

virtual void* ds3d::abiWindow::getNativeWindow ( )
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getNativeWindow() [3/4]

virtual void* ds3d::abiWindow::getNativeWindow ( )
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getNativeWindow() [4/4]

virtual void* ds3d::abiWindow::getNativeWindow ( )
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getSize() [1/2]

virtual void ds3d::gl::Window::getSize ( uint32_t &  width,
uint32_t &  height 
) const
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getSize() [2/2]

virtual void ds3d::gl::Window::getSize ( uint32_t &  width,
uint32_t &  height 
) const
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getTitle() [1/2]

virtual std::string ds3d::gl::Window::getTitle ( ) const
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getTitle() [2/2]

virtual std::string ds3d::gl::Window::getTitle ( ) const
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getWindowSize() [1/2]

virtual ErrCode ds3d::gl::Window::getWindowSize ( uint32_t &  width,
uint32_t &  height 
)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ getWindowSize() [2/2]

virtual ErrCode ds3d::gl::Window::getWindowSize ( uint32_t &  width,
uint32_t &  height 
)
pure virtual

◆ makeCurrent() [1/2]

virtual ErrCode ds3d::gl::Window::makeCurrent ( )
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ makeCurrent() [2/2]

virtual ErrCode ds3d::gl::Window::makeCurrent ( )
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ run() [1/2]

virtual ErrCode ds3d::gl::Window::run ( std::function< ErrCode()>  loopRender)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ run() [2/2]

virtual ErrCode ds3d::gl::Window::run ( std::function< ErrCode()>  loopRender)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ runOnce() [1/2]

virtual ErrCode ds3d::gl::Window::runOnce ( std::function< ErrCode()>  rendering)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ runOnce() [2/2]

virtual ErrCode ds3d::gl::Window::runOnce ( std::function< ErrCode()>  rendering)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setCloseCallback() [1/4]

virtual void ds3d::abiWindow::setCloseCallback ( const CloseCB *  closeCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setCloseCallback() [2/4]

virtual void ds3d::abiWindow::setCloseCallback ( const CloseCB *  closeCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setCloseCallback() [3/4]

virtual void ds3d::abiWindow::setCloseCallback ( const CloseCB *  closeCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setCloseCallback() [4/4]

virtual void ds3d::abiWindow::setCloseCallback ( const CloseCB *  closeCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setFbSizeChangedCallback() [1/4]

virtual void ds3d::abiWindow::setFbSizeChangedCallback ( const FbSizeChangedCB *  fbSizeChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setFbSizeChangedCallback() [2/4]

virtual void ds3d::abiWindow::setFbSizeChangedCallback ( const FbSizeChangedCB *  fbSizeChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setFbSizeChangedCallback() [3/4]

virtual void ds3d::abiWindow::setFbSizeChangedCallback ( const FbSizeChangedCB *  fbSizeChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setFbSizeChangedCallback() [4/4]

virtual void ds3d::abiWindow::setFbSizeChangedCallback ( const FbSizeChangedCB *  fbSizeChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setKeyPressCallback() [1/4]

virtual void ds3d::abiWindow::setKeyPressCallback ( const KeyPressCB *  keyCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setKeyPressCallback() [2/4]

virtual void ds3d::abiWindow::setKeyPressCallback ( const KeyPressCB *  keyCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setKeyPressCallback() [3/4]

virtual void ds3d::abiWindow::setKeyPressCallback ( const KeyPressCB *  keyCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setKeyPressCallback() [4/4]

virtual void ds3d::abiWindow::setKeyPressCallback ( const KeyPressCB *  keyCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setMouseChangedCallback() [1/4]

virtual void ds3d::abiWindow::setMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setMouseChangedCallback() [2/4]

virtual void ds3d::abiWindow::setMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setMouseChangedCallback() [3/4]

virtual void ds3d::abiWindow::setMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setMouseChangedCallback() [4/4]

virtual void ds3d::abiWindow::setMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
pure virtualinherited

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setSize() [1/2]

virtual void ds3d::gl::Window::setSize ( uint32_t  width,
uint32_t  height 
)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setSize() [2/2]

virtual void ds3d::gl::Window::setSize ( uint32_t  width,
uint32_t  height 
)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setTitle() [1/2]

virtual void ds3d::gl::Window::setTitle ( const char *  t)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.

◆ setTitle() [2/2]

virtual void ds3d::gl::Window::setTitle ( const char *  t)
pure virtual

Implemented in ds3d::gl::GWindow, and ds3d::gl::GWindow.


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