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(time_t t);
64 time_t GetTimeout()
const;
69 bool InitializeConnection();
72 void SetPresentationContexts(std::vector<PresentationContext>
const & pcs);
75 bool StartAssociation();
78 bool StopAssociation();
84 bool SendStore(
const char *filename);
87 bool SendStore(
File const &file);
89 bool SendStore(
DataSet const &ds);
92 bool SendFind(
const BaseRootQuery* query, std::vector<DataSet> &retDatasets);
95 bool SendMove(
const BaseRootQuery* query,
const char *outputdir);
97 bool SendMove(
const BaseRootQuery* query, std::vector<DataSet> &retDatasets);
99 bool SendMove(
const BaseRootQuery* query, std::vector<File> &retFile);
113 ServiceClassUserInternals *Internals;
118 #endif // GDCMSERVICECLASSUSER_H