Fraxinus  16.5.0-fx-rc1
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 60 of file cxStreamer.h.

Constructor & Destructor Documentation

cx::Streamer::Streamer ( )

Definition at line 39 of file cxStreamer.cpp.

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

Definition at line 66 of file cxStreamer.h.

Member Function Documentation

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

Definition at line 63 of file cxStreamer.cpp.

int cx::Streamer::getSendInterval ( ) const

how often an image should be sent (in milliseconds)

Definition at line 48 of file cxStreamer.cpp.

bool cx::Streamer::isInitialized ( )
protected

Definition at line 58 of file cxStreamer.cpp.

bool cx::Streamer::isReadyToSend ( )
protected

Definition at line 70 of file cxStreamer.cpp.

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

Definition at line 53 of file cxStreamer.cpp.

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

how often an image should be sent (in milliseconds)

Definition at line 43 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 86 of file cxStreamer.h.

QTimer* cx::Streamer::mSendTimer
protected

Definition at line 87 of file cxStreamer.h.


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