odil
C++11libraryfortheDICOMstandard
Public Types | Public Member Functions | List of all members
odil::StoreSCP Class Reference

SCP for C-Store services. More...

#include <StoreSCP.h>

Inheritance diagram for odil::StoreSCP:
odil::SCP

Public Types

typedef std::function< Value::Integer(message::CStoreRequest &&)> Callback
 Callback called when a request is received, shall throw an SCP::Exception on error.
 

Public Member Functions

 StoreSCP (Association &association)
 Constructor.
 
 StoreSCP (Association &association, Callback const &callback)
 Constructor.
 
virtual ~StoreSCP ()
 Destructor.
 
Callback const & get_callback () const
 Return the callback.
 
void set_callback (Callback const &callback)
 Set the callback.
 
virtual void operator() (message::Message const &message)
 Process a C-Store request.
 
virtual void operator() (message::Message &&message)
 Process a C-Store request.
 
- Public Member Functions inherited from odil::SCP
 SCP (Association &association)
 Create a Service Class Provider.
 
virtual ~SCP ()
 Destructor.
 
void receive_and_process ()
 Receive and process a message.
 

Additional Inherited Members

- Protected Attributes inherited from odil::SCP
Association_association
 Association with peer.
 

Detailed Description

SCP for C-Store services.


The documentation for this class was generated from the following files: