Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
cuda::nvfbc::handle_t Class Reference

Public Member Functions

 handle_t (handle_t &&other)
handle_t & operator= (handle_t &&other)
const char * last_error ()
std::optional< NVFBC_GET_STATUS_PARAMS > status ()
int capture (NVFBC_CREATE_CAPTURE_SESSION_PARAMS &capture_params)
int stop ()
int reset ()

Static Public Member Functions

static std::optional< handle_t > make ()

Public Attributes

std::bitset< MAX_FLAGS > handle_flags
NVFBC_SESSION_HANDLE handle

Detailed Description

Definition at line 696 of file cuda.cpp.

Constructor & Destructor Documentation

◆ handle_t()

cuda::nvfbc::handle_t::handle_t ( handle_t && other)
inline

Definition at line 706 of file cuda.cpp.

◆ ~handle_t()

cuda::nvfbc::handle_t::~handle_t ( )
inline

Definition at line 815 of file cuda.cpp.

Member Function Documentation

◆ capture()

int cuda::nvfbc::handle_t::capture ( NVFBC_CREATE_CAPTURE_SESSION_PARAMS & capture_params)
inline

Definition at line 758 of file cuda.cpp.

◆ last_error()

const char * cuda::nvfbc::handle_t::last_error ( )
inline

Definition at line 741 of file cuda.cpp.

◆ make()

std::optional< handle_t > cuda::nvfbc::handle_t::make ( )
inlinestatic

Definition at line 719 of file cuda.cpp.

◆ operator=()

handle_t & cuda::nvfbc::handle_t::operator= ( handle_t && other)
inline

Definition at line 712 of file cuda.cpp.

◆ reset()

int cuda::nvfbc::handle_t::reset ( )
inline

Definition at line 796 of file cuda.cpp.

◆ status()

std::optional< NVFBC_GET_STATUS_PARAMS > cuda::nvfbc::handle_t::status ( )
inline

Definition at line 745 of file cuda.cpp.

◆ stop()

int cuda::nvfbc::handle_t::stop ( )
inline

Definition at line 778 of file cuda.cpp.

Member Data Documentation

◆ handle

NVFBC_SESSION_HANDLE cuda::nvfbc::handle_t::handle

Definition at line 821 of file cuda.cpp.

◆ handle_flags

std::bitset<MAX_FLAGS> cuda::nvfbc::handle_t::handle_flags

Definition at line 819 of file cuda.cpp.


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