Definition at line 28 of file service-maker/sources/modules/lidar_feeder/lidar_feeder.hpp.


Public Types | |
| typedef struct deepstream::Buffer::_Latency | Latency |
| Unified definition of latency for a buffer. More... | |
| typedef struct deepstream::Buffer::_Latency | Latency |
| Unified definition of latency for a buffer. More... | |
| using | FreeFunction = void(*)(void *) |
| Signature of customized function for freeing data in a buffer. More... | |
| using | FreeFunction = void(*)(void *) |
| Signature of customized function for freeing data in a buffer. More... | |
Public Member Functions | |
| DS3DBuffer () | |
| DS3DBuffer (OpaqueBuffer *buffer) | |
| DS3DBuffer () | |
| DS3DBuffer (OpaqueBuffer *buffer) | |
| operator bool () const | |
| If the buffer is null. More... | |
| operator bool () const | |
| If the buffer is null. More... | |
| size_t | size () const |
| Size of the buffer in bytes. More... | |
| size_t | size () const |
| Size of the buffer in bytes. More... | |
| uint64_t | timestamp () const |
| Timestamp of the buffer. More... | |
| uint64_t | timestamp () const |
| Timestamp of the buffer. More... | |
| int32_t | chunkId (unsigned int batchId) const |
| Chunk id of the buffer. More... | |
| int32_t | chunkId (unsigned int batchId) const |
| Chunk id of the buffer. More... | |
| std::vector< Latency > | measureLatency () const |
| Return latency data of the buffer. More... | |
| std::vector< Latency > | measureLatency () const |
| Return latency data of the buffer. More... | |
| virtual size_t | read (std::function< size_t(const void *data, size_t len)> callable) |
| Read data from the buffer. More... | |
| virtual size_t | read (std::function< size_t(const void *data, size_t len)> callable) |
| Read data from the buffer. More... | |
| virtual size_t | write (std::function< size_t(void *data, size_t len)> callable) |
| Write data to the buffer. More... | |
| virtual size_t | write (std::function< size_t(void *data, size_t len)> callable) |
| Write data to the buffer. More... | |
| OpaqueBuffer * | give () |
| Give up the ownership of this buffer and return the opaque buffer pointer. More... | |
| OpaqueBuffer * | give () |
| Give up the ownership of this buffer and return the opaque buffer pointer. More... | |
| virtual size_t | batchSize () |
| get the batch size of the buffer, 1 for un-batched buffer More... | |
| virtual size_t | batchSize () |
| get the batch size of the buffer, 1 for un-batched buffer More... | |
| virtual Tensor * | extract (unsigned int batchId) |
| create a tensor object with the buffer data More... | |
| virtual Tensor * | extract (unsigned int batchId) |
| create a tensor object with the buffer data More... | |
Static Public Member Functions | |
| static void | wrap (Tensor *) |
| wrap the tensor to a new buffer More... | |
| static void | wrap (Tensor *) |
| wrap the tensor to a new buffer More... | |
Protected Attributes | |
| OpaqueBuffer * | buffer_ |
| opaque buffer pointer More... | |
| std::vector< int > | chunk_ids_ = { 0 } |
| chunk ids, optional More... | |
|
inherited |
Signature of customized function for freeing data in a buffer.
Definition at line 59 of file service-maker/includes/buffer.hpp.
|
inherited |
Signature of customized function for freeing data in a buffer.
Definition at line 59 of file 9.0/service-maker/includes/buffer.hpp.
|
inherited |
Unified definition of latency for a buffer.
|
inherited |
Unified definition of latency for a buffer.
|
inline |
Definition at line 31 of file service-maker/sources/modules/lidar_feeder/lidar_feeder.hpp.
|
inline |
Definition at line 32 of file service-maker/sources/modules/lidar_feeder/lidar_feeder.hpp.
References deepstream::Buffer::buffer_.
|
inline |
Definition at line 31 of file 9.0/service-maker/sources/modules/lidar_feeder/lidar_feeder.hpp.
|
inline |
Definition at line 32 of file 9.0/service-maker/sources/modules/lidar_feeder/lidar_feeder.hpp.
References deepstream::Buffer::buffer_.
|
virtualinherited |
get the batch size of the buffer, 1 for un-batched buffer
|
virtualinherited |
get the batch size of the buffer, 1 for un-batched buffer
|
inherited |
Chunk id of the buffer.
|
inherited |
Chunk id of the buffer.
|
virtualinherited |
create a tensor object with the buffer data
|
virtualinherited |
create a tensor object with the buffer data
|
inherited |
Give up the ownership of this buffer and return the opaque buffer pointer.
|
inherited |
Give up the ownership of this buffer and return the opaque buffer pointer.
Referenced by deepstream::EnsembleRender::consume().
|
inherited |
Return latency data of the buffer.
Referenced by deepstream::NvDsMeasureLatency::handleBuffer().
|
inherited |
Return latency data of the buffer.
|
inherited |
If the buffer is null.
|
inherited |
If the buffer is null.
|
virtualinherited |
Read data from the buffer.
| [in] | callable | callable provided by the caller to collect data |
Reimplemented in deepstream::VideoBuffer, and deepstream::VideoBuffer.
|
virtualinherited |
Read data from the buffer.
| [in] | callable | callable provided by the caller to collect data |
Reimplemented in deepstream::VideoBuffer, and deepstream::VideoBuffer.
|
inherited |
Size of the buffer in bytes.
|
inherited |
Size of the buffer in bytes.
|
inherited |
Timestamp of the buffer.
|
inherited |
Timestamp of the buffer.
|
staticinherited |
wrap the tensor to a new buffer
|
staticinherited |
wrap the tensor to a new buffer
|
virtualinherited |
Write data to the buffer.
| [in] | callable | callable provided by the caller to inject data |
Reimplemented in deepstream::VideoBuffer, and deepstream::VideoBuffer.
|
virtualinherited |
Write data to the buffer.
| [in] | callable | callable provided by the caller to inject data |
Reimplemented in deepstream::VideoBuffer, and deepstream::VideoBuffer.
Referenced by deepstream::FileDataSource::read().
|
protectedinherited |
opaque buffer pointer
Definition at line 164 of file service-maker/includes/buffer.hpp.
Referenced by DS3DBuffer().
|
protectedinherited |
chunk ids, optional
Definition at line 166 of file service-maker/includes/buffer.hpp.