dcmtkpp
|
Base class for all Service Class Providers. More...
#include <SCP.h>
Protected Member Functions | |
void | _send_echo_response (CEchoRequest const &request) const |
Send a C-ECHO response. | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
typedef std::function< void(void *, unsigned long)> | ProgressCallback |
Progress callback, following the semantics of DCMTK. | |
![]() | |
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. | |
![]() | |
static void | _progress_callback_wrapper (void *data, unsigned long bytes_count) |
Wrapper from ProgressCallback to DIMSE_ProgressCallback. | |
![]() | |
Network * | _network |
Network used by the ServiceRole. | |
Association * | _association |
Association used by the ServiceRole. | |
Base class for all Service Class Providers.