Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
rs2::updatable Class Reference

#include <rs_device.hpp>

Inheritance diagram for rs2::updatable:
rs2::device

Public Member Functions

 updatable ()
 
 updatable (device d)
 
void enter_update_state () const
 
std::vector< uint8_t > create_flash_backup () const
 
template<class T >
std::vector< uint8_t > create_flash_backup (T callback) const
 
bool check_firmware_compatibility (const std::vector< uint8_t > &image) const
 
void update_unsigned (const std::vector< uint8_t > &image, int update_mode=RS2_UNSIGNED_UPDATE_MODE_UPDATE) const
 
template<class T >
void update_unsigned (const std::vector< uint8_t > &image, T callback, int update_mode=RS2_UNSIGNED_UPDATE_MODE_UPDATE) const
 
- Public Member Functions inherited from rs2::device
std::vector< sensorquery_sensors () const
 
std::string get_type () const
 
std::string get_description () const
 
template<class T >
first () const
 
bool supports (rs2_camera_info info) const
 
const char * get_info (rs2_camera_info info) const
 
void hardware_reset ()
 
deviceoperator= (const std::shared_ptr< rs2_device > dev)
 
deviceoperator= (const device &dev)
 
 device ()
 
 operator bool () const
 
const std::shared_ptr< rs2_device > & get () const
 
bool operator< (device const &other) const
 
bool is_connected () const
 
template<class T >
bool is () const
 
template<class T >
as () const
 
virtual ~device ()
 
 operator std::shared_ptr< rs2_device > ()
 
 device (std::shared_ptr< rs2_device > dev)
 

Additional Inherited Members

- Protected Attributes inherited from rs2::device
std::shared_ptr< rs2_device_dev
 

Constructor & Destructor Documentation

◆ updatable() [1/2]

rs2::updatable::updatable ( )
inline

◆ updatable() [2/2]

rs2::updatable::updatable ( device  d)
inline

Member Function Documentation

◆ check_firmware_compatibility()

bool rs2::updatable::check_firmware_compatibility ( const std::vector< uint8_t > &  image) const
inline

◆ create_flash_backup() [1/2]

std::vector<uint8_t> rs2::updatable::create_flash_backup ( ) const
inline

◆ create_flash_backup() [2/2]

template<class T >
std::vector<uint8_t> rs2::updatable::create_flash_backup ( callback) const
inline

◆ enter_update_state()

void rs2::updatable::enter_update_state ( ) const
inline

◆ update_unsigned() [1/2]

void rs2::updatable::update_unsigned ( const std::vector< uint8_t > &  image,
int  update_mode = RS2_UNSIGNED_UPDATE_MODE_UPDATE 
) const
inline

◆ update_unsigned() [2/2]

template<class T >
void rs2::updatable::update_unsigned ( const std::vector< uint8_t > &  image,
callback,
int  update_mode = RS2_UNSIGNED_UPDATE_MODE_UPDATE 
) const
inline

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