VisionWorks Toolkit Reference

April 8, 2016 | 1.4 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvxio::ContextGuard Struct Reference

Detailed Description

ContextGuard is a wrapper for vx_context.

It is intended for safe releasing of some resources. It is recommended to use ContextGuard in your OWR application instead of vx_context.

See also
NVXIO APIs

Definition at line 265 of file Utility.hpp.

Public Member Functions

 ContextGuard ()
 
 ContextGuard (const ContextGuard &)=delete
 
 operator vx_context ()
 
ContextGuard & operator= (const ContextGuard &)=delete
 
 ~ContextGuard ()
 

Constructor & Destructor Documentation

nvxio::ContextGuard::ContextGuard ( )
inline

Definition at line 267 of file Utility.hpp.

References nvxio::checkIfContextIsValid().

nvxio::ContextGuard::ContextGuard ( const ContextGuard &  )
delete
nvxio::ContextGuard::~ContextGuard ( )
inline

Definition at line 272 of file Utility.hpp.

References vxReleaseContext().

Member Function Documentation

nvxio::ContextGuard::operator vx_context ( )
inline

Definition at line 275 of file Utility.hpp.

ContextGuard& nvxio::ContextGuard::operator= ( const ContextGuard &  )
delete

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