NorMIT-nav  22.09
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

◆ Streamer()

cx::Streamer::Streamer ( )

Definition at line 18 of file cxStreamer.cpp.

◆ ~Streamer()

virtual cx::Streamer::~Streamer ( )
inlinevirtual

Definition at line 45 of file cxStreamer.h.

Member Function Documentation

◆ createSendTimer()

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

Definition at line 42 of file cxStreamer.cpp.

◆ getSendInterval()

int cx::Streamer::getSendInterval ( ) const

how often an image should be sent (in milliseconds)

Definition at line 27 of file cxStreamer.cpp.

◆ isInitialized()

bool cx::Streamer::isInitialized ( )
protected

Definition at line 37 of file cxStreamer.cpp.

◆ isReadyToSend()

bool cx::Streamer::isReadyToSend ( )
protected

Definition at line 49 of file cxStreamer.cpp.

◆ isStreaming()

virtual bool cx::Streamer::isStreaming ( )
pure virtual

◆ setInitialized()

void cx::Streamer::setInitialized ( bool  initialized)
protected

Definition at line 32 of file cxStreamer.cpp.

◆ setSendInterval()

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

how often an image should be sent (in milliseconds)

Definition at line 22 of file cxStreamer.cpp.

◆ startStreaming()

virtual void cx::Streamer::startStreaming ( SenderPtr  sender)
pure virtual

◆ stateChanged

void cx::Streamer::stateChanged ( )
signal

◆ stopStreaming()

virtual void cx::Streamer::stopStreaming ( )
pure virtual

◆ streamSlot

virtual void cx::Streamer::streamSlot ( )
protectedpure virtualslot

Member Data Documentation

◆ mSender

SenderPtr cx::Streamer::mSender
protected

Definition at line 65 of file cxStreamer.h.

◆ mSendTimer

QTimer* cx::Streamer::mSendTimer
protected

Definition at line 66 of file cxStreamer.h.


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