CustusX  2023.01.05-dev+develop.0da12
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

Signals

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

Date
May 22, 2013
Author
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 ( )
inlinevirtual

Definition at line 45 of file cxStreamer.h.

Member Function Documentation

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

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 ( )
protected

Definition at line 37 of file cxStreamer.cpp.

bool cx::Streamer::isReadyToSend ( )
protected

Definition at line 49 of file cxStreamer.cpp.

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

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 ( )
signal
virtual void cx::Streamer::stopStreaming ( )
pure virtual
virtual void cx::Streamer::streamSlot ( )
protectedpure virtualslot

Member Data Documentation

SenderPtr cx::Streamer::mSender
protected

Definition at line 65 of file cxStreamer.h.

QTimer* cx::Streamer::mSendTimer
protected

Definition at line 66 of file cxStreamer.h.


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