ONE - On-device Neural Engine
Loading...
Searching...
No Matches
mir::ExternalRegion< T > Class Template Referencefinal

#include <ExternalRegion.h>

Collaboration diagram for mir::ExternalRegion< T >:

Public Member Functions

 ExternalRegion (T *base, int32_t size)
 
T * base () override
 
int32_t size () const override
 
- Public Member Functions inherited from mir::Region< T >
virtual ~Region ()=default
 

Detailed Description

template<typename T>
class mir::ExternalRegion< T >

Definition at line 25 of file ExternalRegion.h.

Constructor & Destructor Documentation

◆ ExternalRegion()

template<typename T >
mir::ExternalRegion< T >::ExternalRegion ( T *  base,
int32_t  size 
)
inline

Definition at line 28 of file ExternalRegion.h.

28 : _base{base}, _size{size}
29 {
30 // DO NOTHING
31 }
int32_t size() const override
T * base() override

Member Function Documentation

◆ base()

template<typename T >
T * mir::ExternalRegion< T >::base ( )
inlineoverridevirtual

Implements mir::Region< T >.

Definition at line 34 of file ExternalRegion.h.

34{ return _base; }

◆ size()

template<typename T >
int32_t mir::ExternalRegion< T >::size ( ) const
inlineoverridevirtual

Implements mir::Region< T >.

Definition at line 35 of file ExternalRegion.h.

35{ return _size; }

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