9 #ifndef _f82a15e2_fd13_44b5_af7d_c6983494c9c6 10 #define _f82a15e2_fd13_44b5_af7d_c6983494c9c6 15 #include "odil/Association.h" 16 #include "odil/DataSet.h" 18 #include "odil/message/CGetResponse.h" 19 #include "odil/message/CStoreRequest.h" 38 typedef std::function<void(message::CGetResponse const &)>
GetCallback;
48 DataSet const & query, StoreCallback store_callback,
54 std::vector<DataSet>
get(
DataSet const & query)
const;
57 bool _handle_get_response(
58 message::CGetResponse
const & response, GetCallback callback)
const;
59 void _handle_store_request(
60 message::CStoreRequest
const & request, StoreCallback callback)
const;
65 #endif // _f82a15e2_fd13_44b5_af7d_c6983494c9c6 virtual ~GetSCU()
Destructor.
Definition: GetSCU.cpp:34
Base class for all Service Class Users.
Definition: SCU.h:20
SCU for C-GET services.
Definition: GetSCU.h:25
GetSCU(Association &association)
Constructor.
Definition: GetSCU.cpp:27
StoreCallback Callback
Typedef to keep compatibility with previous versions.
Definition: GetSCU.h:35
std::function< void(DataSet const &)> StoreCallback
Callback called when a C-STORE request is received.
Definition: GetSCU.h:29
Definition: Association.cpp:39
DICOM Data set.
Definition: DataSet.h:28
Association.
Definition: Association.h:29
std::function< void(message::CGetResponse const &)> GetCallback
Callback called when a C-GET response is received.
Definition: GetSCU.h:38