![]() |
IOLink 1.11.0
|
This class is an implementation of the ViewOriginExtension interface. More...
Public Member Functions | |
uint64_t | uid () const override |
Returns an unique identifier for current view. | |
size_t | parentCount () const override |
Returns the count of parents used to create the current view. | |
std::shared_ptr< ViewOriginExtension > | parent (size_t idx) const override |
Returns, for the given index, the viewOrigin extension of the parent used to create the current view. | |
ViewDataOrigin | dataOrigin () const override |
Returns the data origin of current view. | |
std::string | displayName () const override |
Returns the name of the current view to display. | |
![]() | |
std::string | toString () const |
String representation of the extension. | |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< ViewOriginExtension > | cast (const std::shared_ptr< Extension > &extension) |
Upcast a generic extension to this specific type. | |
![]() | |
static constexpr size_t | EXTENSION_ID = 0x3 |
Identifier used to load the extension using the View::extension method. | |
This class is an implementation of the ViewOriginExtension interface.
With it, we can provide the customer with some information about the origin of the view.
|
inlineoverridevirtual |
Returns the data origin of current view.
Error | if data origin is not available |
Implements iolink::ViewOriginExtension.
|
inlineoverridevirtual |
Returns the name of the current view to display.
Error | if display name is not available |
Implements iolink::ViewOriginExtension.
|
inlineoverridevirtual |
Returns, for the given index, the viewOrigin extension of the parent used to create the current view.
idx | index of parent to retrieve |
Error | if the index is out of range |
Implements iolink::ViewOriginExtension.
|
inlineoverridevirtual |
Returns the count of parents used to create the current view.
Implements iolink::ViewOriginExtension.
|
inlineoverridevirtual |
Returns an unique identifier for current view.
Implements iolink::ViewOriginExtension.