dcmtkpp
|
Base class for all Service Class Users. More...
#include <SCU.h>
Public Member Functions | |
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. | |
![]() | |
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. | |
Network * | get_network () const |
Return the network used by the ServiceRole. | |
void | set_network (Network *network) |
Set the network used by the ServiceRole. | |
Association * | get_association () const |
Return the association used by the ServiceRole. | |
void | set_association (Association *association) |
Set the association used by the ServiceRole. | |
Protected Attributes | |
std::string | _affected_sop_class |
Affected SOP class. | |
![]() | |
Network * | _network |
Network used by the ServiceRole. | |
Association * | _association |
Association used by the ServiceRole. | |
Additional Inherited Members | |
![]() | |
typedef std::function< void(void *, unsigned long)> | ProgressCallback |
Progress callback, following the semantics of DCMTK. | |
![]() | |
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 void | _progress_callback_wrapper (void *data, unsigned long bytes_count) |
Wrapper from ProgressCallback to DIMSE_ProgressCallback. | |
Base class for all Service Class Users.