NVIDIA DeepStream SDK API Reference

9.2 Release
ds3d::gl::GWindow Class Reference

Detailed Description

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

Inheritance diagram for ds3d::gl::GWindow:
Collaboration diagram for ds3d::gl::GWindow:

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

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

Protected Attributes

glfw::WindowImpl * _impl
 

Friends

class glfw::WindowImpl
 

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.

Constructor & Destructor Documentation

◆ GWindow() [1/2]

ds3d::gl::GWindow::GWindow ( )

◆ ~GWindow() [1/2]

virtual ds3d::gl::GWindow::~GWindow ( )
virtual

◆ GWindow() [2/2]

ds3d::gl::GWindow::GWindow ( )

◆ ~GWindow() [2/2]

virtual ds3d::gl::GWindow::~GWindow ( )
virtual

Member Function Documentation

◆ appendMouseChangedCallback() [1/2]

void ds3d::gl::GWindow::appendMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
overridevirtual

Implements ds3d::abiWindow.

◆ appendMouseChangedCallback() [2/2]

void ds3d::gl::GWindow::appendMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
overridevirtual

Implements ds3d::abiWindow.

◆ close() [1/2]

ErrCode ds3d::gl::GWindow::close ( )
overridevirtual

Implements ds3d::gl::Window.

◆ close() [2/2]

ErrCode ds3d::gl::GWindow::close ( )
overridevirtual

Implements ds3d::gl::Window.

◆ closeCurrent() [1/2]

void ds3d::gl::GWindow::closeCurrent ( )
overridevirtual

Implements ds3d::gl::Window.

◆ closeCurrent() [2/2]

void ds3d::gl::GWindow::closeCurrent ( )
overridevirtual

Implements ds3d::gl::Window.

◆ create() [1/2]

ErrCode ds3d::gl::GWindow::create ( )

◆ create() [2/2]

ErrCode ds3d::gl::GWindow::create ( )

◆ destroy() [1/2]

ErrCode ds3d::gl::GWindow::destroy ( )

◆ destroy() [2/2]

ErrCode ds3d::gl::GWindow::destroy ( )

◆ getFrameBufferSize() [1/2]

ErrCode ds3d::gl::GWindow::getFrameBufferSize ( uint32_t &  width,
uint32_t &  height 
)
overridevirtual

Implements ds3d::gl::Window.

◆ getFrameBufferSize() [2/2]

ErrCode ds3d::gl::GWindow::getFrameBufferSize ( uint32_t &  width,
uint32_t &  height 
)
overridevirtual

Implements ds3d::gl::Window.

◆ getNativeWindow() [1/2]

void* ds3d::gl::GWindow::getNativeWindow ( )
overridevirtual

Implements ds3d::abiWindow.

◆ getNativeWindow() [2/2]

void* ds3d::gl::GWindow::getNativeWindow ( )
overridevirtual

Implements ds3d::abiWindow.

◆ getSize() [1/2]

void ds3d::gl::GWindow::getSize ( uint32_t &  width,
uint32_t &  height 
) const
overridevirtual

Implements ds3d::gl::Window.

◆ getSize() [2/2]

void ds3d::gl::GWindow::getSize ( uint32_t &  width,
uint32_t &  height 
) const
overridevirtual

Implements ds3d::gl::Window.

◆ getTitle() [1/2]

std::string ds3d::gl::GWindow::getTitle ( ) const
overridevirtual

Implements ds3d::gl::Window.

◆ getTitle() [2/2]

std::string ds3d::gl::GWindow::getTitle ( ) const
overridevirtual

Implements ds3d::gl::Window.

◆ getWindowSize() [1/2]

ErrCode ds3d::gl::GWindow::getWindowSize ( uint32_t &  width,
uint32_t &  height 
)
overridevirtual

Implements ds3d::gl::Window.

◆ getWindowSize() [2/2]

ErrCode ds3d::gl::GWindow::getWindowSize ( uint32_t &  width,
uint32_t &  height 
)
overridevirtual

Implements ds3d::gl::Window.

◆ makeCurrent() [1/2]

ErrCode ds3d::gl::GWindow::makeCurrent ( )
overridevirtual

Implements ds3d::gl::Window.

◆ makeCurrent() [2/2]

ErrCode ds3d::gl::GWindow::makeCurrent ( )
overridevirtual

Implements ds3d::gl::Window.

◆ run() [1/2]

ErrCode ds3d::gl::GWindow::run ( std::function< ErrCode()>  loopRender)
overridevirtual

Implements ds3d::gl::Window.

◆ run() [2/2]

ErrCode ds3d::gl::GWindow::run ( std::function< ErrCode()>  loopRender)
overridevirtual

Implements ds3d::gl::Window.

◆ runOnce() [1/2]

ErrCode ds3d::gl::GWindow::runOnce ( std::function< ErrCode()>  rendering)
overridevirtual

Implements ds3d::gl::Window.

◆ runOnce() [2/2]

ErrCode ds3d::gl::GWindow::runOnce ( std::function< ErrCode()>  rendering)
overridevirtual

Implements ds3d::gl::Window.

◆ setCloseCallback() [1/2]

void ds3d::gl::GWindow::setCloseCallback ( const CloseCB *  closeCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setCloseCallback() [2/2]

void ds3d::gl::GWindow::setCloseCallback ( const CloseCB *  closeCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setFbSizeChangedCallback() [1/2]

void ds3d::gl::GWindow::setFbSizeChangedCallback ( const FbSizeChangedCB *  sizeChangedCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setFbSizeChangedCallback() [2/2]

void ds3d::gl::GWindow::setFbSizeChangedCallback ( const FbSizeChangedCB *  sizeChangedCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setKeyPressCallback() [1/2]

void ds3d::gl::GWindow::setKeyPressCallback ( const KeyPressCB *  keyCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setKeyPressCallback() [2/2]

void ds3d::gl::GWindow::setKeyPressCallback ( const KeyPressCB *  keyCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setMouseChangedCallback() [1/2]

void ds3d::gl::GWindow::setMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setMouseChangedCallback() [2/2]

void ds3d::gl::GWindow::setMouseChangedCallback ( const MouseChangedCB *  mouseChangedCb)
overridevirtual

Implements ds3d::abiWindow.

◆ setSize() [1/2]

void ds3d::gl::GWindow::setSize ( uint32_t  width,
uint32_t  height 
)
overridevirtual

Implements ds3d::gl::Window.

◆ setSize() [2/2]

void ds3d::gl::GWindow::setSize ( uint32_t  width,
uint32_t  height 
)
overridevirtual

Implements ds3d::gl::Window.

◆ setTitle() [1/2]

void ds3d::gl::GWindow::setTitle ( const char *  t)
overridevirtual

Implements ds3d::gl::Window.

◆ setTitle() [2/2]

void ds3d::gl::GWindow::setTitle ( const char *  t)
overridevirtual

Implements ds3d::gl::Window.

Friends And Related Function Documentation

◆ glfw::WindowImpl

glfw::WindowImpl
friend

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

Field Documentation

◆ _impl

glfw::WindowImpl * ds3d::gl::GWindow::_impl
protected

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


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