|
RTC Toolkit 5.1.0
|
A structure to hold the arguments passed to the Add method. More...
#include <rtctk/componentFramework/repositorySubscriberIf.hpp>
Public Types | |
| using | CallbackType = std::function<void(const DataPointPath&)> |
| callback type that is used internally | |
Public Member Functions | |
| Parameters ()=default | |
| Parameters (const DataPointPath &path, bool value_requested, void *buffer, const std::type_info &type, const CallbackType &removed_callback, const CallbackType &newvalue_callback) | |
| Allows to explicitly construct a complete parameters structure. | |
| Parameters (const DataPointPath &path, void *buffer, const std::type_info &type, const CallbackType &removed_callback, const CallbackType &newvalue_callback) | |
| const DataPointPath & | GetPath () const |
| const bool | GetValueRequested () const |
| void * | GetBuffer () const |
| const std::type_info & | GetType () const |
| const CallbackType & | GetRemovedCallback () const |
| const CallbackType & | GetNewValueCallback () const |
A structure to hold the arguments passed to the Add method.
| using rtctk::componentFramework::RepositorySubscriberIf::SubscribeRequest::Parameters::CallbackType = std::function<void(const DataPointPath&)> |
callback type that is used internally
|
default |
|
inlineexplicit |
Allows to explicitly construct a complete parameters structure.
| [in] | path | The datapoint path to subscribe to. |
| [in] | value_requested | True if ValueSubscription, False if Notification Only. |
| [in] | buffer | Pointer to the data object that will be filled with new values. |
| [in] | type | The type of the object pointed to by buffer. |
| [in] | removed_callback | The callback to invoke when a datapoint is deleted. This can be nullptr to indicate no callback is registered. |
| [in] | newvalue_callback | The callback to invoke when a datapoint is update with a new value. This can be nullptr to indicate no callback is registered. |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |