Odil
A C++11 library for the DICOM standard
|
SCU for C-GET services. More...
#include <GetSCU.h>
Public Types | |
typedef std::function< void(std::shared_ptr< 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(std::shared_ptr< message::CGetResponse >) > | GetCallback |
Callback called when a C-GET response is received. More... | |
Public Member Functions | |
GetSCU (Association &association) | |
Constructor. More... | |
void | get (std::shared_ptr< DataSet > query, StoreCallback store_callback, GetCallback get_callback=GetCallback()) const |
Perform the C-GET using callbacks. More... | |
std::vector< std::shared_ptr< DataSet > > | get (std::shared_ptr< 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-GET services.
typedef StoreCallback odil::GetSCU::Callback |
Typedef to keep compatibility with previous versions.
typedef std::function< void(std::shared_ptr<message::CGetResponse>) > odil::GetSCU::GetCallback |
Callback called when a C-GET response is received.
typedef std::function<void(std::shared_ptr<DataSet>)> odil::GetSCU::StoreCallback |
Callback called when a C-STORE request is received.
odil::GetSCU::GetSCU | ( | Association & | association | ) |
Constructor.
std::vector< std::shared_ptr< DataSet > > odil::GetSCU::get | ( | std::shared_ptr< DataSet > | query | ) | const |
Return a list of datasets matching the query.
void odil::GetSCU::get | ( | std::shared_ptr< DataSet > | query, |
StoreCallback | store_callback, | ||
GetCallback | get_callback = GetCallback() |
||
) | const |
Perform the C-GET using callbacks.