|
Odil
A C++11 library for the DICOM standard
|
SCP for C-Echo services. More...
#include <EchoSCP.h>


Public Types | |
| typedef std::function< Value::Integer(message::CEchoRequest const &)> | Callback |
| Callback called when a request is received, shall throw an SCP::Exception on error. More... | |
Public Member Functions | |
| EchoSCP (Association &association) | |
| Constructor. More... | |
| EchoSCP (Association &association, Callback const &callback) | |
| Constructor. More... | |
| virtual | ~EchoSCP () |
| Destructor. More... | |
| Callback const & | get_callback () const |
| Return the callback. More... | |
| void | set_callback (Callback const &callback) |
| Set the callback. More... | |
| virtual void | operator() (message::Message const &message) |
| Process a C-Echo request. More... | |
| virtual void | operator() (message::Message &&message) |
| Process a C-Echo request. More... | |
Public Member Functions inherited from odil::SCP | |
| SCP (Association &association) | |
| Create a Service Class Provider. More... | |
| virtual | ~SCP () |
| Destructor. More... | |
| void | receive_and_process () |
| Receive and process a message. More... | |
Additional Inherited Members | |
Protected Attributes inherited from odil::SCP | |
| Association & | _association |
| Association with peer. More... | |
SCP for C-Echo services.
| typedef std::function<Value::Integer(message::CEchoRequest const &)> odil::EchoSCP::Callback |
Callback called when a request is received, shall throw an SCP::Exception on error.
| odil::EchoSCP::EchoSCP | ( | Association & | association | ) |
Constructor.
| odil::EchoSCP::EchoSCP | ( | Association & | association, |
| Callback const & | callback | ||
| ) |
Constructor.
|
virtual |
Destructor.
| Callback const& odil::EchoSCP::get_callback | ( | ) | const |
Return the callback.
|
virtual |
Process a C-Echo request.
Implements odil::SCP.
|
virtual |
Process a C-Echo request.
Implements odil::SCP.
| void odil::EchoSCP::set_callback | ( | Callback const & | callback | ) |
Set the callback.
1.8.13