|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
12 #ifndef NVSIPLDEVICEINTERFACEPROVIDERINTERFACE_HPP
13 #define NVSIPLDEVICEINTERFACEPROVIDERINTERFACE_HPP
64 constexpr
UUID(uint32_t
const low, uint16_t
const mid,
65 uint16_t
const high, uint16_t
const seq,
66 uint8_t
const n0, uint8_t
const n1, uint8_t
const n2,
67 uint8_t
const n3, uint8_t
const n4, uint8_t
const n5)
72 ,
node{n0,n1,n2,n3,n4,n5}
82 if (l.time_low != r.time_low){
84 }
else if (l.time_mid != r.time_mid){
86 }
else if (l.time_hi_and_version != r.time_hi_and_version){
88 }
else if (l.clock_seq != r.clock_seq){
90 }
else if (l.node[0] != r.node[0]){
92 }
else if (l.node[1] != r.node[1]){
94 }
else if (l.node[2] != r.node[2]){
96 }
else if (l.node[3] != r.node[3]){
98 }
else if (l.node[4] != r.node[4]){
100 }
else if (l.node[5] != r.node[5]){
108 static_assert(
sizeof(UUID) ==
114 "Missing check in == operator as Structure shall not have padding");
268 #endif //NVSIPLDEVICEINTERFACEPROVIDERINTERFACE_HPP
uint16_t time_hi_and_version
Member variable to store the third opaque field composing the UUID.
uint16_t time_mid
Member variable to store the second opaque field composing the UUID.
UUID()
Construct for a new UUID object with default intialization values.
IInterfaceProvider()=default
Default Constructor.
Interface()=default
Default Constructor.
~Interface()=default
Default destructor for the class.
IInterfaceProvider & operator=(IInterfaceProvider &) &=delete
Delete copy assignment operator.
NonCopyable & operator=(NonCopyable &other) &=delete
Delete copy assignment operator.
A class to prevent drivers being copied and duplicating state.
virtual const UUID & getInstanceInterfaceID() const noexcept=0
A call to get the ID from the instance of the class inheriting this interface.
A universally unique identifier.
uint32_t time_low
Member variable to store the first opaque field composing the UUID.
Top-level interface class implementable for a particular device.
~NonCopyable()=default
Default destructor.
Interface & operator=(Interface &) &=delete
Delete copy assignment operator.
Class providing access to device interfaces.
virtual Interface * GetInterface(const UUID &interfaceId)=0
Get interface provided by this driver matching a provided ID.
constexpr UUID(uint32_t const low, uint16_t const mid, uint16_t const high, uint16_t const seq, uint8_t const n0, uint8_t const n1, uint8_t const n2, uint8_t const n3, uint8_t const n4, uint8_t const n5)
Constructs a new UUID object with parameter values.
Describes the custom interface for IMX623.
uint16_t clock_seq
Member variable to store the fourth opaque field composing the UUID.
friend bool operator==(const UUID &l, const UUID &r) noexcept
comparison operator to compare contents of two SSID structures
virtual ~IInterfaceProvider()=default
Default destructor.
uint8_t node[6]
Member variable to store the fifth-tenth opaque field composing the UUID.
NonCopyable()=default
Default Constructor.