roviz  0.7
Code Documentation of roviz
Public Member Functions | List of all members
StreamWidget Class Referenceabstract

Base class for all widgets representing a StreamObject. More...

#include <stream_widget.h>

Inheritance diagram for StreamWidget:
Inheritance graph
Collaboration diagram for StreamWidget:
Collaboration graph

Public Member Functions

 StreamWidget (OutputPrivate *out)
 
virtual void newObject (StreamObject obj)=0
 Called when a new image arrived. More...
 
virtual void reset (void)=0
 Reset the widget to make it show the default image again.
 
virtual QWidget * qwidget (void)=0
 Convert this widget to a QWidget. More...
 
OutputPrivateoutput (void)
 Get the output associated with this widget. More...
 

Detailed Description

Base class for all widgets representing a StreamObject.

See also
StreamObject

Member Function Documentation

◆ newObject()

virtual void StreamWidget::newObject ( StreamObject  obj)
pure virtual

Called when a new image arrived.

Parameters
objStreamObject representing the new object to display

Implemented in ImageWidget, and SparseWidget.

Here is the caller graph for this function:

◆ output()

OutputPrivate * StreamWidget::output ( void  )

Get the output associated with this widget.

Returns
The output associated with this widget

◆ qwidget()

virtual QWidget* StreamWidget::qwidget ( void  )
pure virtual

Convert this widget to a QWidget.

Returns
The QWidget

Implemented in ImageWidget.

Here is the caller graph for this function:

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