Odil
A C++11 library for the DICOM standard
|
SCU for C-MOVE services. More...
#include <MoveSCU.h>
Public Types | |
typedef std::function< void(DataSet &&)> | StoreCallback |
Callback called when a C-STORE request is received. More... | |
typedef StoreCallback | Callback |
Typedef to keep compatibility with previous versions. More... | |
typedef std::function< void(message::CMoveResponse &&)> | MoveCallback |
Callback called when a C-MOVE response is received. More... | |
Public Member Functions | |
MoveSCU (Association &association) | |
Constructor. More... | |
virtual | ~MoveSCU () |
Destructor. More... | |
std::string const & | get_move_destination () const |
Return the AE title of the destination, defaults to "". More... | |
void | set_move_destination (std::string const &move_destination) |
Set the AE title of the destination. More... | |
uint16_t | get_incoming_port () const |
Return the port for incoming associations, defaults to 0. More... | |
void | set_incoming_port (uint16_t port) |
Set the port for incoming associations, use 0 to disable. More... | |
void | move (DataSet const &query, StoreCallback store_callback) const |
Perform the C-MOVE using callbacks. More... | |
void | move (DataSet &&query, StoreCallback store_callback) const |
Perform the C-MOVE using callbacks. More... | |
void | move (DataSet const &query, MoveCallback move_callback) const |
Perform the C-MOVE using callbacks. More... | |
void | move (DataSet &&query, MoveCallback move_callback) const |
Perform the C-MOVE using callbacks. More... | |
void | move (DataSet const &query, StoreCallback store_callback, MoveCallback move_callback) const |
Perform the C-MOVE using callbacks. More... | |
void | move (DataSet &&query, StoreCallback store_callback, MoveCallback move_callback) const |
Perform the C-MOVE using callbacks. More... | |
std::vector< DataSet > | move (DataSet const &query) const |
Return a list of datasets matching the query. More... | |
std::vector< DataSet > | move (DataSet &&query) const |
Return a list of datasets matching the query. More... | |
![]() | |
SCU (Association &association) | |
Create a default Service Class User. More... | |
virtual | ~SCU () |
Destructor. More... | |
std::string const & | get_affected_sop_class () const |
Return the affected SOP class. Defaults to "". More... | |
void | set_affected_sop_class (std::string const &sop_class) |
Set the affected SOP class. More... | |
Additional Inherited Members | |
![]() | |
Association & | _association |
Association with peer. More... | |
std::string | _affected_sop_class |
Affected SOP class. More... | |
SCU for C-MOVE services.
typedef StoreCallback odil::MoveSCU::Callback |
Typedef to keep compatibility with previous versions.
typedef std::function<void(message::CMoveResponse &&)> odil::MoveSCU::MoveCallback |
Callback called when a C-MOVE response is received.
typedef std::function<void(DataSet &&)> odil::MoveSCU::StoreCallback |
Callback called when a C-STORE request is received.
odil::MoveSCU::MoveSCU | ( | Association & | association | ) |
Constructor.
|
virtual |
Destructor.
uint16_t odil::MoveSCU::get_incoming_port | ( | ) | const |
Return the port for incoming associations, defaults to 0.
std::string const& odil::MoveSCU::get_move_destination | ( | ) | const |
Return the AE title of the destination, defaults to "".
void odil::MoveSCU::move | ( | DataSet const & | query, |
StoreCallback | store_callback | ||
) | const |
Perform the C-MOVE using callbacks.
void odil::MoveSCU::move | ( | DataSet && | query, |
StoreCallback | store_callback | ||
) | const |
Perform the C-MOVE using callbacks.
void odil::MoveSCU::move | ( | DataSet const & | query, |
MoveCallback | move_callback | ||
) | const |
Perform the C-MOVE using callbacks.
void odil::MoveSCU::move | ( | DataSet && | query, |
MoveCallback | move_callback | ||
) | const |
Perform the C-MOVE using callbacks.
void odil::MoveSCU::move | ( | DataSet const & | query, |
StoreCallback | store_callback, | ||
MoveCallback | move_callback | ||
) | const |
Perform the C-MOVE using callbacks.
void odil::MoveSCU::move | ( | DataSet && | query, |
StoreCallback | store_callback, | ||
MoveCallback | move_callback | ||
) | const |
Perform the C-MOVE using callbacks.
Return a list of datasets matching the query.
Return a list of datasets matching the query.
void odil::MoveSCU::set_incoming_port | ( | uint16_t | port | ) |
Set the port for incoming associations, use 0 to disable.
void odil::MoveSCU::set_move_destination | ( | std::string const & | move_destination | ) |
Set the AE title of the destination.