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