|
dcmtkpp
|
Public Types | |
| typedef std::function< void(DataSet const &)> | 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 | |
| bool | store (Callback callback) const |
| Receive a store request and respond to it. More... | |
| void | store (CStoreRequest const &request, Callback callback) const |
| Respond to a store request. More... | |
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. | |
| 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from dcmtkpp::SCP | |
| void | _send_echo_response (CEchoRequest const &request) const |
| Send a C-ECHO response. | |
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::ServiceRole | |
| Network * | _network |
| Network used by the ServiceRole. | |
| Association * | _association |
| Association used by the ServiceRole. | |
| bool dcmtkpp::StoreSCP::store | ( | Callback | callback | ) | const |
Receive a store request and respond to it.
| callback | function called with the dataset to be stored. |
| void dcmtkpp::StoreSCP::store | ( | CStoreRequest const & | request, |
| Callback | callback | ||
| ) | const |
Respond to a store request.
| request | |
| callback | function called with the dataset to be stored. |
1.8.9.1