Odil
A C++11 library for the DICOM standard
|
Go to the documentation of this file.
9 #ifndef _fdbf3f51_91f5_464a_b449_c3f994297210
10 #define _fdbf3f51_91f5_464a_b449_c3f994297210
32 typedef std::function<
49 void operator()(std::shared_ptr<message::CStoreRequest> request);
52 virtual void operator()(std::shared_ptr<message::Message> message);
59 #endif // _fdbf3f51_91f5_464a_b449_c3f994297210
SCP for C-Store services.
Definition: StoreSCP.h:26
std::function< Value::Integer(std::shared_ptr< message::CStoreRequest >) > Callback
Callback called when a request is received, shall throw an SCP::Exception on error.
Definition: StoreSCP.h:34
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28
StoreSCP(Association &association, Callback const &callback)
Constructor.
virtual void operator()(std::shared_ptr< message::Message > message)
Process a C-Store request.
Callback const & get_callback() const
Return the callback.
StoreSCP(Association &association)
Constructor.
void set_callback(Callback const &callback)
Set the callback.
void operator()(std::shared_ptr< message::CStoreRequest > request)
Process a C-Store request.
Association.
Definition: Association.h:31
int64_t Integer
Integer type.
Definition: Value.h:42
Base class for all Service Class Providers.
Definition: SCP.h:25