9 #ifndef _918ce553_d774_44c0_9cbf_56f32584a1ab
10 #define _918ce553_d774_44c0_9cbf_56f32584a1ab
32 typedef std::function<
49 virtual void operator()(std::shared_ptr<message::Message> message);
52 void operator()(std::shared_ptr<message::NCreateRequest const> message);
Association.
Definition: Association.h:31
SCP for N-Create services.
Definition: NCreateSCP.h:26
NCreateSCP(Association &association, Callback const &callback)
Constructor.
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.
Definition: NCreateSCP.h:34
Callback const & get_callback() const
Return the callback.
virtual void operator()(std::shared_ptr< message::Message > message)
Process a N-Create request.
NCreateSCP(Association &association)
Constructor.
void set_callback(Callback const &callback)
Set the callback.
Base class for all Service Class Providers.
Definition: SCP.h:25
int64_t Integer
Integer type.
Definition: Value.h:42
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28