14#ifndef GDCMSERVICECLASSUSER_H
15#define GDCMSERVICECLASSUSER_H
26class ServiceClassUserInternals;
31class ULConnectionCallback;
117 ServiceClassUserInternals *Internals;
BaseRootQuery.
Definition gdcmBaseRootQuery.h:67
Class to represent a Data Set (which contains Data Elements)
Definition gdcmDataSet.h:56
a DICOM File
Definition gdcmFile.h:34
PresentationContext.
Definition gdcmPresentationContext.h:30
ServiceClassUser.
Definition gdcmServiceClassUser.h:37
bool SendMove(const BaseRootQuery *query, const char *outputdir)
Execute a C-MOVE, based on query, return files are written in outputdir.
void operator=(const ServiceClassUser &)=delete
bool SendFind(const BaseRootQuery *query, std::vector< DataSet > &retDatasets)
C-FIND a query, return result are in retDatasets.
bool IsPresentationContextAccepted(const PresentationContext &pc) const
Return if the passed in presentation was accepted during association negotiation.
ServiceClassUser(const ServiceClassUser &)=delete
void SetTimeout(double t)
set/get Timeout
bool SendMove(const BaseRootQuery *query, std::vector< File > &retFile)
Execute a C-MOVE, based on query, returned Files are stored in vector.
~ServiceClassUser() override
void SetPresentationContexts(std::vector< PresentationContext > const &pcs)
Set the Presentation Context used for the Association.
bool SendStore(const char *filename)
Execute a C-STORE on file on disk, named filename.
static SmartPointer< ServiceClassUser > New()
for wrapped language: instantiate a reference counted object
Definition gdcmServiceClassUser.h:107
bool StopAssociation()
Stop the running association.
void SetPortSCP(uint16_t portscp)
Set the port for any incoming C-STORE-SCP operation (typically in a return of C-MOVE)
void SetHostname(const char *hostname)
Set the name of the called hostname (hostname or IP address)
void SetAETitle(const char *aetitle)
set calling ae title
void SetPort(uint16_t port)
Set port of remote host (called application)
double GetTimeout() const
bool SendMove(const BaseRootQuery *query, std::vector< DataSet > &retDatasets)
Execute a C-MOVE, based on query, returned dataset are Implicit.
const char * GetCalledAETitle() const
const char * GetAETitle() const
bool StartAssociation()
Start the association. Need to call SetPresentationContexts before.
bool SendStore(DataSet const &ds)
Execute a C-STORE on a DataSet, the transfer syntax used will be Implicit.
bool InitializeConnection()
bool SendStore(File const &file)
void SetCalledAETitle(const char *aetitle)
set called ae title
Class for Smart Pointer.
Definition gdcmSmartPointer.h:40
Subject.
Definition gdcmSubject.h:29
Definition gdcmULConnectionCallback.h:39
ULConnection.
Definition gdcmULConnection.h:58
ULEvent.
Definition gdcmULEvent.h:37
#define GDCM_EXPORT
Definition gdcmWin32.h:34
EStateID
Definition gdcmNetworkStateID.h:32