dcmtkpp
Public Types | Public Member Functions | List of all members
dcmtkpp::GetSCU Class Reference

SCU for C-GET services. More...

#include <GetSCU.h>

Inheritance diagram for dcmtkpp::GetSCU:
dcmtkpp::SCU dcmtkpp::ServiceRole

Public Types

typedef StoreSCP::Callback Callback
 Callback called when a response is received.
 
- Public Types inherited from dcmtkpp::ServiceRole
typedef std::function< void(void *, unsigned long)> ProgressCallback
 Progress callback, following the semantics of DCMTK.
 

Public Member Functions

virtual ~GetSCU ()
 Destructor.
 
void get (DataSet const &query, Callback callback) const
 Perform the C-GET using an optional callback.
 
std::vector< DataSetget (DataSet const &query) const
 Return a list of datasets matching the query.
 
- Public Member Functions inherited from dcmtkpp::SCU
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.
 
void echo () const
 Perform DICOM ping.
 
- Public Member Functions inherited from dcmtkpp::ServiceRole
 ServiceRole ()
 Create a default Service Role with no network and no association.
 
 ServiceRole (ServiceRole const &other)
 Copy the other service role.
 
ServiceRole const & operator= (ServiceRole const &other)
 Copy the other service role.
 
virtual ~ServiceRole ()
 Destructor, network and association are not modified.
 
Networkget_network () const
 Return the network used by the ServiceRole.
 
void set_network (Network *network)
 Set the network used by the ServiceRole.
 
Associationget_association () const
 Return the association used by the ServiceRole.
 
void set_association (Association *association)
 Set the association used by the ServiceRole.
 

Additional Inherited Members

- Protected Member Functions inherited from dcmtkpp::ServiceRole
T_ASC_PresentationContextID _find_presentation_context (std::string const &abstract_syntax) const
 Find an accepted presentation context.
 
void _send (Message const &message, std::string const &abstract_syntax, ProgressCallback callback=NULL, void *callback_data=NULL) const
 Send a DIMSE message.
 
Message _receive (ProgressCallback callback=NULL, void *callback_data=NULL) const
 Receive a generic DIMSE message.
 
template<typename TMessage >
TMessage _receive (ProgressCallback callback=NULL, void *callback_data=NULL) const
 Receive a DIMSE message of specific type. More...
 
- Static Protected Member Functions inherited from dcmtkpp::ServiceRole
static void _progress_callback_wrapper (void *data, unsigned long bytes_count)
 Wrapper from ProgressCallback to DIMSE_ProgressCallback.
 
- Protected Attributes inherited from dcmtkpp::SCU
std::string _affected_sop_class
 Affected SOP class.
 
- Protected Attributes inherited from dcmtkpp::ServiceRole
Network_network
 Network used by the ServiceRole.
 
Association_association
 Association used by the ServiceRole.
 

Detailed Description

SCU for C-GET services.


The documentation for this class was generated from the following files: