List of all members | Classes | Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Static Protected Member Functions
QtDcmMoveScu Class Reference

#include <QtDcmMoveScu.h>

Inherits QThread.

Classes

struct  MyCallbackInfo
 
class  Private
 
struct  QuerySyntax
 

Public Types

enum  QueryModel { QMPatientRoot = 0, QMStudyRoot = 1, QMPatientStudyOnly = 2 }
 
enum  eMoveMode { IMPORT = 0, PREVIEW }
 

Public Slots

void onStopMove ()
 

Signals

void updateProgress (int i)
 
void previewSlice (const QString &filename)
 
void serieMoved (const QString &directory, const QString &uid, int number)
 

Public Member Functions

 QtDcmMoveScu (QObject *parent=0)
 
virtual ~QtDcmMoveScu ()
 
void setMode (eMoveMode eMoveMode)
 
void setImageId (const QString &id)
 
void setOutputDir (const QString &dir)
 
void setImportDir (const QString &dir)
 
void setSeries (const QStringList &series)
 
void run ()
 

Protected Member Functions

OFCondition move (const QString &uid)
 
void addOverrideKey (const QString &key)
 
OFCondition addPresentationContext (T_ASC_Parameters *params, T_ASC_PresentationContextID pid, const char *abstractSyntax, E_TransferSyntax preferredTransferSyntax)
 
OFCondition cmove (T_ASC_Association *assoc, const char *fname)
 
void substituteOverrideKeys (DcmDataset &dset)
 
OFCondition moveSCU (T_ASC_Association *assoc, const char *fname)
 

Static Protected Member Functions

static OFCondition acceptSubAssoc (T_ASC_Network *aNet, T_ASC_Association **assoc)
 
static OFCondition echoSCP (T_ASC_Association *assoc, T_DIMSE_Message *msg, T_ASC_PresentationContextID presID)
 
static OFCondition storeSCP (T_ASC_Association *assoc, T_DIMSE_Message *msg, T_ASC_PresentationContextID presID, void *subOpCallbackData)
 
static void storeSCPCallback (void *caller, T_DIMSE_StoreProgress *progress, T_DIMSE_C_StoreRQ *req, char *imageFile, DcmDataset **imageDataSet, T_DIMSE_C_StoreRSP *rsp, DcmDataset **statusDetail)
 
static OFCondition subOpSCP (T_ASC_Association **subAssoc, void *subOpCallbackData)
 
static void subOpCallback (void *, T_ASC_Network *aNet, T_ASC_Association **subAssoc)
 
static void moveCallback (void *caller, T_DIMSE_C_MoveRQ *req, int responseCount, T_DIMSE_C_MoveRSP *rsp)
 

Detailed Description

Definition at line 50 of file QtDcmMoveScu.h.

Member Enumeration Documentation

Enumerator
QMPatientRoot 
QMStudyRoot 
QMPatientStudyOnly 

Definition at line 61 of file QtDcmMoveScu.h.

Enumerator
IMPORT 
PREVIEW 

Definition at line 74 of file QtDcmMoveScu.h.

Constructor & Destructor Documentation

QtDcmMoveScu::QtDcmMoveScu ( QObject *  parent = 0)

Definition at line 85 of file QtDcmMoveScu.cpp.

QtDcmMoveScu::~QtDcmMoveScu ( )
virtual

Definition at line 122 of file QtDcmMoveScu.cpp.

Member Function Documentation

void QtDcmMoveScu::setMode ( QtDcmMoveScu::eMoveMode  mode)

Definition at line 128 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::setImageId ( const QString &  id)

Definition at line 133 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::setOutputDir ( const QString &  dir)

Definition at line 143 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::setImportDir ( const QString &  dir)

Definition at line 148 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::setSeries ( const QStringList &  series)

Definition at line 138 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::run ( )

Definition at line 160 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::onStopMove ( )
slot

Definition at line 153 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::updateProgress ( int  i)
signal
void QtDcmMoveScu::previewSlice ( const QString &  filename)
signal
void QtDcmMoveScu::serieMoved ( const QString &  directory,
const QString &  uid,
int  number 
)
signal
OFCondition QtDcmMoveScu::move ( const QString &  uid)
protected

Definition at line 188 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::addOverrideKey ( const QString &  key)
protected

Definition at line 342 of file QtDcmMoveScu.cpp.

OFCondition QtDcmMoveScu::addPresentationContext ( T_ASC_Parameters *  params,
T_ASC_PresentationContextID  pid,
const char *  abstractSyntax,
E_TransferSyntax  preferredTransferSyntax 
)
protected

Definition at line 421 of file QtDcmMoveScu.cpp.

OFCondition QtDcmMoveScu::cmove ( T_ASC_Association *  assoc,
const char *  fname 
)
protected

Definition at line 995 of file QtDcmMoveScu.cpp.

OFCondition QtDcmMoveScu::acceptSubAssoc ( T_ASC_Network *  aNet,
T_ASC_Association **  assoc 
)
staticprotected

Definition at line 476 of file QtDcmMoveScu.cpp.

OFCondition QtDcmMoveScu::echoSCP ( T_ASC_Association *  assoc,
T_DIMSE_Message *  msg,
T_ASC_PresentationContextID  presID 
)
staticprotected

Definition at line 677 of file QtDcmMoveScu.cpp.

OFCondition QtDcmMoveScu::storeSCP ( T_ASC_Association *  assoc,
T_DIMSE_Message *  msg,
T_ASC_PresentationContextID  presID,
void *  subOpCallbackData 
)
staticprotected

Definition at line 688 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::storeSCPCallback ( void *  caller,
T_DIMSE_StoreProgress *  progress,
T_DIMSE_C_StoreRQ *  req,
char *  imageFile,
DcmDataset **  imageDataSet,
T_DIMSE_C_StoreRSP *  rsp,
DcmDataset **  statusDetail 
)
staticprotected

Definition at line 743 of file QtDcmMoveScu.cpp.

OFCondition QtDcmMoveScu::subOpSCP ( T_ASC_Association **  subAssoc,
void *  subOpCallbackData 
)
staticprotected

Definition at line 791 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::subOpCallback ( void *  caller,
T_ASC_Network *  aNet,
T_ASC_Association **  subAssoc 
)
staticprotected

Definition at line 843 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::moveCallback ( void *  caller,
T_DIMSE_C_MoveRQ *  req,
int  responseCount,
T_DIMSE_C_MoveRSP *  rsp 
)
staticprotected

Definition at line 872 of file QtDcmMoveScu.cpp.

void QtDcmMoveScu::substituteOverrideKeys ( DcmDataset &  dset)
protected

Definition at line 899 of file QtDcmMoveScu.cpp.

OFCondition QtDcmMoveScu::moveSCU ( T_ASC_Association *  assoc,
const char *  fname 
)
protected

Definition at line 917 of file QtDcmMoveScu.cpp.


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