UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-11-21)
usNetworkServer Class Reference

#include </home/soft/ustk/ustk-web-script/ustk-code/apps/ustk/ultrasonix-server/usNetworkServer.h>

+ Inheritance diagram for usNetworkServer:

Classes

struct  usImageHeader
 
struct  usInitHeaderConfirmation
 
struct  usInitHeaderIncomming
 
struct  usUpdateHeaderIncomming
 

Public Slots

void startServerSlot ()
 
void stopServerSlot ()
 

Signals

void writeOnSocketSignal ()
 

Public Member Functions

 usNetworkServer (QObject *parent=0)
 
 ~usNetworkServer ()
 
QTcpSocket * getSocket ()
 
porta * getPorta ()
 
void writeOnSocketFromOtherThread ()
 
void useProbeConfigFile (std::string configFileName)
 
void setVerbose ()
 
void setUSMVersion (int usmVersion)
 
void setPCIVersion (int pciVersion)
 

Public Attributes

usImageHeader imageHeader
 
unsigned char * postScanImage
 
char * beginImage
 
int motorStatus
 
bool biPlane
 
unsigned char * secondBiplaneImage
 
bool motorOffsetSkipped
 

Detailed Description

Definition at line 43 of file usNetworkServer.h.

Constructor & Destructor Documentation

◆ usNetworkServer()

usNetworkServer::usNetworkServer ( QObject *  parent = 0)
explicit

Definition at line 3 of file usNetworkServer.cpp.

◆ ~usNetworkServer()

usNetworkServer::~usNetworkServer ( )

Definition at line 17 of file usNetworkServer.cpp.

Member Function Documentation

◆ getPorta()

porta * usNetworkServer::getPorta ( )

Definition at line 556 of file usNetworkServer.cpp.

◆ getSocket()

QTcpSocket * usNetworkServer::getSocket ( )

Definition at line 554 of file usNetworkServer.cpp.

◆ setPCIVersion()

void usNetworkServer::setPCIVersion ( int  pciVersion)

Definition at line 943 of file usNetworkServer.cpp.

◆ setUSMVersion()

void usNetworkServer::setUSMVersion ( int  usmVersion)

Definition at line 939 of file usNetworkServer.cpp.

◆ setVerbose()

void usNetworkServer::setVerbose ( )

Definition at line 894 of file usNetworkServer.cpp.

◆ startServerSlot

void usNetworkServer::startServerSlot ( )
slot

Definition at line 896 of file usNetworkServer.cpp.

References writeOnSocketSignal().

◆ stopServerSlot

void usNetworkServer::stopServerSlot ( )
slot

Definition at line 934 of file usNetworkServer.cpp.

◆ useProbeConfigFile()

void usNetworkServer::useProbeConfigFile ( std::string  configFileName)

Definition at line 858 of file usNetworkServer.cpp.

◆ writeOnSocketFromOtherThread()

void usNetworkServer::writeOnSocketFromOtherThread ( )

Definition at line 758 of file usNetworkServer.cpp.

References writeOnSocketSignal().

◆ writeOnSocketSignal

void usNetworkServer::writeOnSocketSignal ( )
signal

Member Data Documentation

◆ beginImage

char* usNetworkServer::beginImage

Definition at line 136 of file usNetworkServer.h.

◆ biPlane

bool usNetworkServer::biPlane

Definition at line 139 of file usNetworkServer.h.

◆ imageHeader

usImageHeader usNetworkServer::imageHeader

Definition at line 132 of file usNetworkServer.h.

◆ motorOffsetSkipped

bool usNetworkServer::motorOffsetSkipped

Definition at line 144 of file usNetworkServer.h.

◆ motorStatus

int usNetworkServer::motorStatus

Definition at line 138 of file usNetworkServer.h.

◆ postScanImage

unsigned char* usNetworkServer::postScanImage

Definition at line 134 of file usNetworkServer.h.

◆ secondBiplaneImage

unsigned char* usNetworkServer::secondBiplaneImage

Definition at line 142 of file usNetworkServer.h.