L4T Multimedia API Reference

27.1 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Argus::ISourceSettings Class Referenceabstract

Detailed Description

This class is exposed by the InterfaceProvider returned by IRequest::getSourceSettings().

An interface to settings that control the sensor module.

Definition at line 61 of file Settings.h.

Inheritance diagram for Argus::ISourceSettings:
Collaboration diagram for Argus::ISourceSettings:

Public Member Functions

virtual Status setExposureTimeRange (const Range< uint64_t > &exposureTimeRange)=0
 Sets the exposure time range of the source, in nanoseconds. More...
 
virtual Range< uint64_t > getExposureTimeRange () const =0
 Returns the exposure time range of the source, in nanoseconds. More...
 
virtual Status setFocusPosition (int32_t position)=0
 Sets the focus position, in focuser units. More...
 
virtual int32_t getFocusPosition () const =0
 Returns the focus position, in focuser units. More...
 
virtual Status setFrameDurationRange (const Range< uint64_t > &frameDurationRange)=0
 Sets the frame duration range, in nanoseconds. More...
 
virtual Range< uint64_t > getFrameDurationRange () const =0
 Returns the frame duration range, in nanoseconds. More...
 
virtual Status setGainRange (const Range< float > &gainRange)=0
 Sets the gain range for the sensor. More...
 
virtual Range< float > getGainRange () const =0
 Returns the gain range. More...
 
virtual Status setSensorMode (SensorMode *mode)=0
 Sets the sensor mode. More...
 
virtual SensorModegetSensorMode () const =0
 Returns the sensor mode. More...
 

Static Public Member Functions

static const InterfaceIDid ()
 

Protected Member Functions

 ~ISourceSettings ()
 

Constructor & Destructor Documentation

Argus::ISourceSettings::~ISourceSettings ( )
inlineprotected

Definition at line 147 of file Settings.h.

Member Function Documentation

virtual Range<uint64_t> Argus::ISourceSettings::getExposureTimeRange ( ) const
pure virtual

Returns the exposure time range of the source, in nanoseconds.

virtual int32_t Argus::ISourceSettings::getFocusPosition ( ) const
pure virtual

Returns the focus position, in focuser units.

virtual Range<uint64_t> Argus::ISourceSettings::getFrameDurationRange ( ) const
pure virtual

Returns the frame duration range, in nanoseconds.

virtual Range<float> Argus::ISourceSettings::getGainRange ( ) const
pure virtual

Returns the gain range.

virtual SensorMode* Argus::ISourceSettings::getSensorMode ( ) const
pure virtual

Returns the sensor mode.

static const InterfaceID& Argus::ISourceSettings::id ( )
inlinestatic

Definition at line 64 of file Settings.h.

virtual Status Argus::ISourceSettings::setExposureTimeRange ( const Range< uint64_t > &  exposureTimeRange)
pure virtual

Sets the exposure time range of the source, in nanoseconds.

If the exposure range is outside of the available range, the capture's exposure time will be as close as possible to the exposure range specified.

Parameters
[in]exposureTimeRangeExposure time range, in nanoseconds.
See also
ISensorMode::getExposureTimeRange()
Returns
success/status of the call.
virtual Status Argus::ISourceSettings::setFocusPosition ( int32_t  position)
pure virtual

Sets the focus position, in focuser units.

If the position is set outside of the focuser limits, the position will be clamped.

Parameters
[in]positionThe new focus position, in focuser units.
See also
ICameraProperties::getFocusPositionRange()
Returns
success/status of the call.
virtual Status Argus::ISourceSettings::setFrameDurationRange ( const Range< uint64_t > &  frameDurationRange)
pure virtual

Sets the frame duration range, in nanoseconds.

If frame range is out of bounds of the current sensor mode, the capture's frame duration will be as close as possible to the range specified.

Parameters
[in]frameDurationRangeFrame duration range, in nanoseconds
See also
ISensorMode::getFrameDurationRange()
Returns
success/status of the call.
virtual Status Argus::ISourceSettings::setGainRange ( const Range< float > &  gainRange)
pure virtual

Sets the gain range for the sensor.

The range has to be within the max and min reported in the CameraProperties Otherwise the range will be clipped.

Parameters
[in]gainRangescalar gain range
See also
ISensorMode::getAnalogGainRange()
Returns
success/status of the call.
virtual Status Argus::ISourceSettings::setSensorMode ( SensorMode mode)
pure virtual

Sets the sensor mode.

Note that changing sensor mode from one capture to the next may result in multiple sensor frames being dropped between the two captures.

Parameters
[in]modeDesired sensor mode for the capture.
See also
ICameraProperties::getAllSensorModes()
Returns
success/status of the call.

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