File UserBufferList.hpp¶
↰ Parent directory (SNPE)
Contents
Definition (SNPE/UserBufferList.hpp)¶
Includes¶
DlSystem/UserBufferMap.hpp(File UserBufferMap.hpp)SNPE/UserBufferList.h(File UserBufferList.hpp)
Included By¶
Namespaces¶
Classes¶
Full File Listing¶
-
namespace PSNPE
-
class UserBufferList¶
- #include <UserBufferList.hpp>
Public Functions
-
UserBufferList()¶
Creates an empty UserBufferList.
- Returns
A handle of User buffer list
-
explicit UserBufferList(size_t size)¶
Creates a UserBufferList of a specific size.
- Parameters
size – [in] Required size of the user buffer list
- Returns
A handle of User buffer list
-
UserBufferList(const UserBufferList &other)¶
Copy Constructor for User buffer list.
- Parameters
other – [in] Pointer to another UserBufferList
- Returns
A handle to a User buffer list initialized with the given UserBufferList
-
UserBufferList(UserBufferList &&other) noexcept¶
Move Constructor for User buffer list.
- Parameters
other – [in] Pointer to another UserBufferList
- Returns
A handle to a User buffer list initialized with the given UserBufferList
-
UserBufferList &operator=(const UserBufferList &other)¶
Assignment operator for User buffer list.
- Parameters
other – [in] Pointer to another UserBufferList
- Returns
A handle to a User buffer list initialized with the given UserBufferList
-
UserBufferList &operator=(UserBufferList &&other)¶
Assignment operator for User buffer list.
- Parameters
other – [in] Pointer to another UserBufferList
- Returns
A handle to a User buffer list initialized with the given UserBufferList
-
void push_back(const DlSystem::UserBufferMap &userBufferMap)¶
Add a UserBufferMap at the end of UserBufferList.
- Parameters
userBufferMap – [in] Pointer to the userBufferMap to be added
-
DlSystem::UserBufferMap &operator[](size_t idx)¶
Returns the user buffer map at a specific index.
- Parameters
idx – [in] Specifc index, from where to return a user buffer map
- Returns
UserBufferMap at index idx in the User Buffer List
-
size_t size() const noexcept¶
Returns the size of the user buffer map.
- Returns
size of the user buffer map
-
size_t capacity() const noexcept¶
Returns the max size possible for the user buffer map.
- Returns
max size of the user buffer map
-
void clear() noexcept¶
Clears the given user buffer map.
-
UserBufferList()¶
-
class UserBufferList¶