NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvsipl::MAX96792ACustomInterface Class Referenceabstract

Detailed Description

The class of custom interfaces in deserializer MAX96792A.

Definition at line 53 of file MAX96792A_CustomInterface.hpp.

Inheritance diagram for nvsipl::MAX96792ACustomInterface:
Collaboration diagram for nvsipl::MAX96792ACustomInterface:

Public Member Functions

const UUID & getInstanceInterfaceID () const noexcept override
 Function to get interface ID that's unique to this instance. More...
 
virtual SIPLStatus SetHeteroFrameSync (uint8_t const muxSel, uint32_t const gpioNum[MAX_CAMERAMODULES_PER_BLOCK]) const =0
 Set Heterogenous frame synchronization. More...
 
virtual SIPLStatus GetGroupID (uint32_t &grpId) const =0
 Get the camera group ID. More...
 

Static Public Member Functions

static const UUID & getClassInterfaceID ()
 Function to get interface ID that's unique to this class. More...
 

Protected Member Functions

 MAX96792ACustomInterface ()=default
 Default Constructor. More...
 
 MAX96792ACustomInterface (MAX96792ACustomInterface const &)=delete
 Prevent the Copy constructor. More...
 
 MAX96792ACustomInterface (MAX96792ACustomInterface &&)=delete
 Prevent the Move constructor. More...
 
MAX96792ACustomInterface & operator= (MAX96792ACustomInterface const &) &=delete
 Prevent default copy assignment operator. More...
 
MAX96792ACustomInterface & operator= (MAX96792ACustomInterface &&) &=delete
 Prevent default move assignment operator. More...
 
 ~MAX96792ACustomInterface ()=default
 Default destructor. More...
 

Constructor & Destructor Documentation

◆ MAX96792ACustomInterface() [1/3]

nvsipl::MAX96792ACustomInterface::MAX96792ACustomInterface ( )
protecteddefault

Default Constructor.

◆ MAX96792ACustomInterface() [2/3]

nvsipl::MAX96792ACustomInterface::MAX96792ACustomInterface ( MAX96792ACustomInterface const &  )
protecteddelete

Prevent the Copy constructor.

◆ MAX96792ACustomInterface() [3/3]

nvsipl::MAX96792ACustomInterface::MAX96792ACustomInterface ( MAX96792ACustomInterface &&  )
protecteddelete

Prevent the Move constructor.

◆ ~MAX96792ACustomInterface()

nvsipl::MAX96792ACustomInterface::~MAX96792ACustomInterface ( )
protecteddefault

Default destructor.

Member Function Documentation

◆ getClassInterfaceID()

static const UUID& nvsipl::MAX96792ACustomInterface::getClassInterfaceID ( )
inlinestatic

Function to get interface ID that's unique to this class.

This function is used by application to get deserializer's custom interface ID. Application can use this ID to get the interface of the class.

Precondition
None.
Return values
MAX96792A_CUSTOM_INTERFACE_IDCustom interface id for MAX96792A. Valid range : [ MAX96792A_CUSTOM_INTERFACE_ID].


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

Definition at line 91 of file MAX96792A_CustomInterface.hpp.

References nvsipl::MAX96792A_CUSTOM_INTERFACE_ID().

◆ GetGroupID()

virtual SIPLStatus nvsipl::MAX96792ACustomInterface::GetGroupID ( uint32_t &  grpId) const
pure virtual

Get the camera group ID.

This function is used to get the camera group ID.

Precondition
  • A valid deserializer object created with CNvMDeserializer_Create().
  • Must be called after CNvMDeserializer::Init().
Parameters
[input]grpId Group Index. Valid range: [0, 3].
Return values
NVSIPL_STATUS_OKCamera group ID was got successfully.
NVSIPL_STATUS_BAD_ARGUMENTInput parameter validation failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: Yes
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: No
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ getInstanceInterfaceID()

const UUID& nvsipl::MAX96792ACustomInterface::getInstanceInterfaceID ( ) const
inlineoverridevirtualnoexcept

Function to get interface ID that's unique to this instance.

This function is used by application to get deserializer's custom interface ID and ensure typecasted pointer indeed points to the right object. Application can use this ID to get the interface of the instance.

Precondition
None.
Return values
MAX96792A_CUSTOM_INTERFACE_IDCustom interface id for MAX96792A. Valid range : [ MAX96792A_CUSTOM_INTERFACE_ID].


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

Implements nvsipl::Interface.

Definition at line 130 of file MAX96792A_CustomInterface.hpp.

References nvsipl::MAX96792A_CUSTOM_INTERFACE_ID().

◆ operator=() [1/2]

MAX96792ACustomInterface& nvsipl::MAX96792ACustomInterface::operator= ( MAX96792ACustomInterface &&  ) &
protecteddelete

Prevent default move assignment operator.

◆ operator=() [2/2]

MAX96792ACustomInterface& nvsipl::MAX96792ACustomInterface::operator= ( MAX96792ACustomInterface const &  ) &
protecteddelete

Prevent default copy assignment operator.

◆ SetHeteroFrameSync()

virtual SIPLStatus nvsipl::MAX96792ACustomInterface::SetHeteroFrameSync ( uint8_t const  muxSel,
uint32_t const  gpioNum[MAX_CAMERAMODULES_PER_BLOCK] 
) const
pure virtual

Set Heterogenous frame synchronization.

This function is used to choose the multiplexer's input source and the GPIO number of the deserializer to select the input frame sync source per link when the external synchronization is used.

Precondition
  • This function is applicable only if the platform has the HW support.
  • Must be called after CNvMDeserializer::Init().
Parameters
[input]muxSel The multiplexer's input selection. Valid range: [0, 3].
[input]gpioNum Array to store the gpio number per link. Valid range: [0, 16].
Return values
NVSIPL_STATUS_OKHeterogenous frame synchronization was set successfully.
NVSIPL_STATUS_BAD_ARGUMENTInput parameter validation failed.
(SIPLStatus)Any errors from dependencies.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: No
    • Reinit/Deinit Preparation: No
  • Maturity: GA

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