mcx::parameter_server::DataContainer
mcx::parameter_server::DataContainer
Public Types
|
Name |
enum class |
Type { NONE, PARAMETER_FIXED, PARAMETER_VARIABLE, INPUT_BUFFER, OUTPUT_BUFFER, EXTERNAL} |
Public Functions
Public Attributes
Public Types Documentation
enum Type
Enumerator |
Value |
Description |
NONE |
|
|
PARAMETER_FIXED |
|
|
PARAMETER_VARIABLE |
|
|
INPUT_BUFFER |
|
|
OUTPUT_BUFFER |
|
|
EXTERNAL |
|
|
Public Functions Documentation
function DataContainer
function DataContainer
DataContainer(
Type type,
const void * data_ptr,
size_t offset_bytes,
size_t length_bytes
)
function ~DataContainer
function allocate
bool allocate(
Type type,
size_t length_bytes
)
function deallocate
function DataContainer
DataContainer(
const DataContainer & orig
) =delete
function operator=
inline DataContainer & operator=(
const DataContainer & orig
)
function setDataPtr
void setDataPtr(
Type type,
const void * data_ptr,
size_t offset_bytes,
size_t length_bytes
)
function readWithConversion
void readWithConversion(
DataContainer * dst,
const ConversionData & conversion
)
function getMaxSize
inline size_t getMaxSize() const
function getSize
inline size_t getSize() const
function getOffset
inline size_t getOffset() const
function getData
inline const uint8_t * getData() const
function getType
inline Type getType() const
function setSize
inline void setSize(
size_t size
)
function setTime
inline void setTime(
const struct timespec & app_time
)
function getTime
inline const struct timespec & getTime() const
Public Attributes Documentation
variable offset
variable size
variable max_size
variable v_ptr
variable ui_ptr
Updated on 2022-04-05 at 16:21:27 +0200