|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
12 #ifndef NVSIPLDEVICEINTERFACEPROVIDERINTERFACE_HPP
13 #define NVSIPLDEVICEINTERFACEPROVIDERINTERFACE_HPP
59 constexpr
UUID(uint32_t
const low, uint16_t
const mid,
60 uint16_t
const high, uint16_t
const seq,
61 uint8_t
const n0, uint8_t
const n1, uint8_t
const n2,
62 uint8_t
const n3, uint8_t
const n4, uint8_t
const n5)
67 ,
node{n0,n1,n2,n3,n4,n5}
77 if (l.time_low != r.time_low){
79 }
else if (l.time_mid != r.time_mid){
81 }
else if (l.time_hi_and_version != r.time_hi_and_version){
83 }
else if (l.clock_seq != r.clock_seq){
85 }
else if (l.node[0] != r.node[0]){
87 }
else if (l.node[1] != r.node[1]){
89 }
else if (l.node[2] != r.node[2]){
91 }
else if (l.node[3] != r.node[3]){
93 }
else if (l.node[4] != r.node[4]){
95 }
else if (l.node[5] != r.node[5]){
103 static_assert(
sizeof(UUID) ==
109 "Missing check in == operator as Structure shall not have padding");
233 #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.
Contains the classes and variables for implementation of SIPL.
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.