CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::Streamer Class Referenceabstract

#include <cxStreamer.h>

Inheritance diagram for cx::Streamer:
cx::CommandLineStreamer cx::IGTLinkClientStreamer cx::LocalServerStreamer cx::OpenIGTLinkStreamer cx::DummyImageStreamer cx::ImageStreamerOpenCV


void stateChanged ()

Public Member Functions

 Streamer ()
virtual ~Streamer ()
virtual void startStreaming (SenderPtr sender)=0
virtual void stopStreaming ()=0
virtual bool isStreaming ()=0
void setSendInterval (int milliseconds)
 how often an image should be sent (in milliseconds) More...
int getSendInterval () const
 how often an image should be sent (in milliseconds) More...

Protected Slots

virtual void streamSlot ()=0

Protected Member Functions

void setInitialized (bool initialized)
bool isInitialized ()
void createSendTimer (bool singleshot=false)
bool isReadyToSend ()

Protected Attributes

SenderPtr mSender
QTimer * mSendTimer

Detailed Description

May 22, 2013
Janne Beate Bakeng, SINTEF

Definition at line 39 of file cxStreamer.h.

Constructor & Destructor Documentation

cx::Streamer::Streamer ( )

Definition at line 18 of file cxStreamer.cpp.

virtual cx::Streamer::~Streamer ( )

Definition at line 45 of file cxStreamer.h.

Member Function Documentation

void cx::Streamer::createSendTimer ( bool  singleshot = false)

Definition at line 42 of file cxStreamer.cpp.

int cx::Streamer::getSendInterval ( ) const

how often an image should be sent (in milliseconds)

Definition at line 27 of file cxStreamer.cpp.

bool cx::Streamer::isInitialized ( )

Definition at line 37 of file cxStreamer.cpp.

bool cx::Streamer::isReadyToSend ( )

Definition at line 49 of file cxStreamer.cpp.

virtual bool cx::Streamer::isStreaming ( )
pure virtual
void cx::Streamer::setInitialized ( bool  initialized)

Definition at line 32 of file cxStreamer.cpp.

void cx::Streamer::setSendInterval ( int  milliseconds)

how often an image should be sent (in milliseconds)

Definition at line 22 of file cxStreamer.cpp.

virtual void cx::Streamer::startStreaming ( SenderPtr  sender)
pure virtual
void cx::Streamer::stateChanged ( )
virtual void cx::Streamer::stopStreaming ( )
pure virtual
virtual void cx::Streamer::streamSlot ( )
protectedpure virtualslot

Member Data Documentation

SenderPtr cx::Streamer::mSender

Definition at line 65 of file cxStreamer.h.

QTimer* cx::Streamer::mSendTimer

Definition at line 66 of file cxStreamer.h.

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