mcx::parameter_server::ParameterBase
2 minute read
mcx::parameter_server::ParameterBase
Inherited by mcx::parameter_server::Parameter
Public Functions
Name | |
---|---|
virtual uint32_t | read(void * out_data, uint32_t size, struct timespec * update_time) =0 |
virtual bool | compareAndSwapUpdateCounter(uint32_t & last_update_counter) =0 |
virtual void | setUpdateOutputFlag(bool newval) =0 |
virtual void | setUpdateOutputOnceFlag(uint32_t length) =0 |
virtual void | setUpdateOutputOnInputFlag(bool newval) =0 |
virtual uint32_t | addRequest() =0 |
virtual uint32_t | getReplyId() =0 |
virtual void | write(const void * in_data, uint32_t size) =0 |
virtual void | force(const void * in_data, uint32_t size) =0 |
virtual void | setForceFlag(bool overwrite_active) =0 |
virtual void | setUserGroup(UserGroup user_group, bool recursive) =0 |
virtual void | setPermissions(Permission permission, bool recursive) =0 |
virtual void | activateLink(bool flag) =0 |
virtual const ParameterInfo & | getInfo() const =0 |
virtual size_t | getSize() const =0 |
virtual size_t | getMaxSize() const =0 |
Public Functions Documentation
function read
virtual uint32_t read(
void * out_data,
uint32_t size,
struct timespec * update_time
) =0
Reimplemented by: mcx::parameter_server::Parameter::read
function compareAndSwapUpdateCounter
virtual bool compareAndSwapUpdateCounter(
uint32_t & last_update_counter
) =0
Reimplemented by: mcx::parameter_server::Parameter::compareAndSwapUpdateCounter
function setUpdateOutputFlag
virtual void setUpdateOutputFlag(
bool newval
) =0
Reimplemented by: mcx::parameter_server::Parameter::setUpdateOutputFlag
function setUpdateOutputOnceFlag
virtual void setUpdateOutputOnceFlag(
uint32_t length
) =0
Reimplemented by: mcx::parameter_server::Parameter::setUpdateOutputOnceFlag
function setUpdateOutputOnInputFlag
virtual void setUpdateOutputOnInputFlag(
bool newval
) =0
Reimplemented by: mcx::parameter_server::Parameter::setUpdateOutputOnInputFlag
function addRequest
virtual uint32_t addRequest() =0
Reimplemented by: mcx::parameter_server::Parameter::addRequest
function getReplyId
virtual uint32_t getReplyId() =0
Reimplemented by: mcx::parameter_server::Parameter::getReplyId
function write
virtual void write(
const void * in_data,
uint32_t size
) =0
Reimplemented by: mcx::parameter_server::Parameter::write
function force
virtual void force(
const void * in_data,
uint32_t size
) =0
Reimplemented by: mcx::parameter_server::Parameter::force
function setForceFlag
virtual void setForceFlag(
bool overwrite_active
) =0
Reimplemented by: mcx::parameter_server::Parameter::setForceFlag
function setUserGroup
virtual void setUserGroup(
UserGroup user_group,
bool recursive
) =0
Reimplemented by: mcx::parameter_server::Parameter::setUserGroup
function setPermissions
virtual void setPermissions(
Permission permission,
bool recursive
) =0
Reimplemented by: mcx::parameter_server::Parameter::setPermissions
function activateLink
virtual void activateLink(
bool flag
) =0
Reimplemented by: mcx::parameter_server::Parameter::activateLink
function getInfo
virtual const ParameterInfo & getInfo() const =0
Reimplemented by: mcx::parameter_server::Parameter::getInfo
function getSize
virtual size_t getSize() const =0
Reimplemented by: mcx::parameter_server::Parameter::getSize
function getMaxSize
virtual size_t getMaxSize() const =0
Reimplemented by: mcx::parameter_server::Parameter::getMaxSize
Updated on 2022-04-05 at 16:21:27 +0200