14 #ifndef GDCMSERVICECLASSUSER_H
15 #define GDCMSERVICECLASSUSER_H
26 class ServiceClassUserInternals;
31 class ULConnectionCallback;
46 void SetHostname(
const char *hostname );
49 void SetPort( uint16_t port );
52 void SetPortSCP( uint16_t portscp );
55 void SetAETitle(
const char *aetitle);
56 const char *GetAETitle()
const;
59 void SetCalledAETitle(
const char *aetitle);
60 const char *GetCalledAETitle()
const;
63 void SetTimeout(
double t);
64 double GetTimeout()
const;
69 bool InitializeConnection();
72 void SetPresentationContexts(std::vector<PresentationContext>
const & pcs);
78 bool StartAssociation();
81 bool StopAssociation();
87 bool SendStore(
const char *filename);
90 bool SendStore(
File const &file);
92 bool SendStore(
DataSet const &ds);
95 bool SendFind(
const BaseRootQuery* query, std::vector<DataSet> &retDatasets);
98 bool SendMove(
const BaseRootQuery* query,
const char *outputdir);
100 bool SendMove(
const BaseRootQuery* query, std::vector<DataSet> &retDatasets);
102 bool SendMove(
const BaseRootQuery* query, std::vector<File> &retFile);
116 ServiceClassUserInternals *Internals;
121 #endif // GDCMSERVICECLASSUSER_H