9#ifndef _f82a15e2_fd13_44b5_af7d_c6983494c9c6
10#define _f82a15e2_fd13_44b5_af7d_c6983494c9c6
40 typedef std::function<
41 void(std::shared_ptr<message::CGetResponse>)
55 std::vector<std::shared_ptr<DataSet>>
get(
56 std::shared_ptr<DataSet> query)
const;
60 std::shared_ptr<message::CGetRequest const> request,
62 bool _handle_get_response(
63 std::shared_ptr<message::CGetResponse> response,
65 void _handle_store_request(
66 std::shared_ptr<message::CStoreRequest> request,
Association.
Definition: Association.h:31
SCU for C-GET services.
Definition: GetSCU.h:28
void get(std::shared_ptr< DataSet > query, StoreCallback store_callback, GetCallback get_callback=GetCallback()) const
Perform the C-GET using callbacks.
std::vector< std::shared_ptr< DataSet > > get(std::shared_ptr< DataSet > query) const
Return a list of datasets matching the query.
StoreCallback Callback
Typedef to keep compatibility with previous versions.
Definition: GetSCU.h:37
std::function< void(std::shared_ptr< message::CGetResponse >) > GetCallback
Callback called when a C-GET response is received.
Definition: GetSCU.h:42
std::function< void(std::shared_ptr< DataSet >)> StoreCallback
Callback called when a C-STORE request is received.
Definition: GetSCU.h:31
GetSCU(Association &association)
Constructor.
Base class for all Service Class Users.
Definition: SCU.h:22
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28