Odil
A C++11 library for the DICOM standard
|
SCP for C-Store services. More...
#include <StoreSCP.h>
Public Types | |
typedef std::function< Value::Integer(message::CStoreRequest &&)> | Callback |
Callback called when a request is received, shall throw an SCP::Exception on error. More... | |
Public Member Functions | |
StoreSCP (Association &association) | |
Constructor. More... | |
StoreSCP (Association &association, Callback const &callback) | |
Constructor. More... | |
virtual | ~StoreSCP () |
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-Store request. More... | |
virtual void | operator() (message::Message &&message) |
Process a C-Store request. More... | |
![]() | |
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 | |
![]() | |
Association & | _association |
Association with peer. More... | |
SCP for C-Store services.
typedef std::function<Value::Integer(message::CStoreRequest &&)> odil::StoreSCP::Callback |
Callback called when a request is received, shall throw an SCP::Exception on error.
odil::StoreSCP::StoreSCP | ( | Association & | association | ) |
Constructor.
odil::StoreSCP::StoreSCP | ( | Association & | association, |
Callback const & | callback | ||
) |
Constructor.
|
virtual |
Destructor.
Callback const& odil::StoreSCP::get_callback | ( | ) | const |
Return the callback.
|
virtual |
Process a C-Store request.
Implements odil::SCP.
|
virtual |
Process a C-Store request.
Implements odil::SCP.
void odil::StoreSCP::set_callback | ( | Callback const & | callback | ) |
Set the callback.