VisionWorks Toolkit Reference

December 18, 2015 | 1.2 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 162 of file Utility.hpp.

Public Member Functions

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

Constructor & Destructor Documentation

nvxio::ContextGuard::ContextGuard ( )
inline

Definition at line 164 of file Utility.hpp.

References nvxio::checkIfContextIsValid().

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

Definition at line 169 of file Utility.hpp.

References vxReleaseContext().

Member Function Documentation

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

Definition at line 172 of file Utility.hpp.


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