Public Member Functions | Public Attributes | List of all members
crl::multisense::system::DeviceMode Class Reference

#include <MultiSenseTypes.hh>

Public Member Functions

 DeviceMode (uint32_t w=0, uint32_t h=0, DataSource d=0, int32_t s=-1)
 

Public Attributes

int32_t disparities
 
uint32_t height
 
DataSource supportedDataSources
 
uint32_t width
 

Detailed Description

Class used query the device modes for a given sensor.

Example code to query all the available device modes for a sensor.

channel = crl::multisense::Channel::Create("10.66.171.21");
channel->setMtu(7200);
std::vector<crl::multisense::system::DeviceMode> deviceModeVect;
crl::multisense::Status status = channel->getDeviceModes(deviceModeVect));
throw std::runtime_error("Unable to query device modes info");
}
//
// Use the device modes...

Definition at line 2018 of file MultiSenseTypes.hh.

Constructor & Destructor Documentation

crl::multisense::system::DeviceMode::DeviceMode ( uint32_t  w = 0,
uint32_t  h = 0,
DataSource  d = 0,
int32_t  s = -1 
)
inline

Constructor

Parameters
wThe device mode width. Default value: 0
hThe device mode height. Default value: 0
dThe available data sources. Default value: 0
sThe number of valid disparities. Default value: -1

Definition at line 2041 of file MultiSenseTypes.hh.

Member Data Documentation

int32_t crl::multisense::system::DeviceMode::disparities

The number of valid disparities for a given device mode

Definition at line 2028 of file MultiSenseTypes.hh.

uint32_t crl::multisense::system::DeviceMode::height

The image height configuration for a given device mode

Definition at line 2024 of file MultiSenseTypes.hh.

DataSource crl::multisense::system::DeviceMode::supportedDataSources

A listing of all the data sources available for a specific device mode

Definition at line 2026 of file MultiSenseTypes.hh.

uint32_t crl::multisense::system::DeviceMode::width

The image width configuration for a given device mode

Definition at line 2022 of file MultiSenseTypes.hh.


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


multisense_lib
Author(s):
autogenerated on Sat Apr 6 2019 02:16:47