9 #ifndef _5ff4d940_4db7_4d85_9d3a_230b944b31fe 10 #define _5ff4d940_4db7_4d85_9d3a_230b944b31fe 16 #include "odil/Association.h" 17 #include "odil/DataSet.h" 18 #include "odil/message/CMoveRequest.h" 19 #include "odil/message/CMoveResponse.h" 20 #include "odil/odil.h" 40 typedef std::function<void(message::CMoveResponse &&)>
MoveCallback;
49 std::string
const & get_move_destination()
const;
51 void set_move_destination(std::string
const & move_destination);
54 uint16_t get_incoming_port()
const;
57 void set_incoming_port(uint16_t port);
60 void move(
DataSet const & query, StoreCallback store_callback)
const;
63 void move(
DataSet && query, StoreCallback store_callback)
const;
66 void move(
DataSet const & query, MoveCallback move_callback)
const;
69 void move(
DataSet && query, MoveCallback move_callback)
const;
73 DataSet const & query, StoreCallback store_callback,
74 MoveCallback move_callback)
const;
78 DataSet && query, StoreCallback store_callback,
79 MoveCallback move_callback)
const;
84 std::vector<DataSet> move(
DataSet const & query)
const;
89 std::vector<DataSet> move(
DataSet && query)
const;
92 std::string _move_destination;
93 uint16_t _incoming_port;
96 message::CMoveRequest
const & request, StoreCallback store_callback,
97 MoveCallback move_callback)
const;
100 Association & store_association, StoreCallback store_callback,
101 MoveCallback move_callback)
const;
103 bool _handle_main_association(MoveCallback callback)
const;
104 bool _handle_store_association(
105 Association & association, StoreCallback callback)
const;
110 #endif // _5ff4d940_4db7_4d85_9d3a_230b944b31fe std::function< void(DataSet &&)> StoreCallback
Callback called when a C-STORE request is received.
Definition: MoveSCU.h:31
Base class for all Service Class Users.
Definition: SCU.h:21
Definition: Association.cpp:39
StoreCallback Callback
Typedef to keep compatibility with previous versions.
Definition: MoveSCU.h:37
DICOM Data set.
Definition: DataSet.h:29
std::function< void(message::CMoveResponse &&)> MoveCallback
Callback called when a C-MOVE response is received.
Definition: MoveSCU.h:40
Association.
Definition: Association.h:30
SCU for C-MOVE services.
Definition: MoveSCU.h:27