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


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