IOLink 1.11.0
Loading...
Searching...
No Matches
CheckerboardImageView::ViewOriginImpl Class Reference

This class is an implementation of the ViewOriginExtension interface. More...

Inheritance diagram for CheckerboardImageView::ViewOriginImpl:
iolink::ViewOriginExtension iolink::Extension

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< ViewOriginExtensionparent (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.
 

Additional Inherited Members

Detailed Description

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.

Member Function Documentation

◆ dataOrigin()

ViewDataOrigin CheckerboardImageView::ViewOriginImpl::dataOrigin ( ) const
inlineoverridevirtual

Returns the data origin of current view.

Exceptions
Errorif data origin is not available

Implements iolink::ViewOriginExtension.

Examples
customImageView.cpp.

◆ displayName()

std::string CheckerboardImageView::ViewOriginImpl::displayName ( ) const
inlineoverridevirtual

Returns the name of the current view to display.

Exceptions
Errorif display name is not available

Implements iolink::ViewOriginExtension.

Examples
customImageView.cpp.

◆ parent()

std::shared_ptr< ViewOriginExtension > CheckerboardImageView::ViewOriginImpl::parent ( size_t  idx) const
inlineoverridevirtual

Returns, for the given index, the viewOrigin extension of the parent used to create the current view.

Parameters
idxindex of parent to retrieve
Exceptions
Errorif the index is out of range
Returns
a ViewOrigin extension which cannot be null

Implements iolink::ViewOriginExtension.

Examples
customImageView.cpp.

◆ parentCount()

size_t CheckerboardImageView::ViewOriginImpl::parentCount ( ) const
inlineoverridevirtual

Returns the count of parents used to create the current view.

Returns
count of view's parents

Implements iolink::ViewOriginExtension.

Examples
customImageView.cpp.

◆ uid()

uint64_t CheckerboardImageView::ViewOriginImpl::uid ( ) const
inlineoverridevirtual

Returns an unique identifier for current view.

Returns
view identifier

Implements iolink::ViewOriginExtension.

Examples
customImageView.cpp.

The documentation for this class was generated from the following file: