CustusX  15.3.4-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::StreamerService Class Referenceabstract

Abstract class. Interface to Streamers. More...

#include <cxStreamerService.h>

Inheritance diagram for cx::StreamerService:
cx::IGTLinkStreamerService cx::ImageFileStreamerService cx::OpenCVStreamerService

Public Member Functions

 StreamerService ()
 
virtual QString getName ()=0
 
virtual std::vector< PropertyPtrgetSettings (QDomElement root)=0
 
virtual StreamerPtr createStreamer (QDomElement root)=0
 

Detailed Description

Abstract class. Interface to Streamers.

Date
May 20, 2014
Author
Ole Vegard Solberg, SINTEF

Definition at line 63 of file cxStreamerService.h.

Constructor & Destructor Documentation

cx::StreamerService::StreamerService ( )
inline

Definition at line 67 of file cxStreamerService.h.

Member Function Documentation

virtual StreamerPtr cx::StreamerService::createStreamer ( QDomElement  root)
pure virtual

Return a streamer that can emit image data.

Implemented in cx::OpenCVStreamerService, cx::ImageFileStreamerService, and cx::IGTLinkStreamerService.

virtual QString cx::StreamerService::getName ( )
pure virtual
virtual std::vector<PropertyPtr> cx::StreamerService::getSettings ( QDomElement  root)
pure virtual

Fill settings for this algorithm. Input is the root node for this algo, filled with stored settings (if any). On completion, the root is filled with default values for settings.

Implemented in cx::OpenCVStreamerService, cx::ImageFileStreamerService, and cx::IGTLinkStreamerService.


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