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

SCU for C-MOVE services. More...

#include <MoveSCU.h>

Inheritance diagram for odil::MoveSCU:
odil::SCU

Public Types

typedef std::function< void(DataSet const &)> StoreCallback
 Callback called when a C-STORE request is received.
 
typedef StoreCallback Callback
 Typedef to keep compatibility with previous versions. More...
 
typedef std::function< void(message::CMoveResponse const &)> MoveCallback
 Callback called when a C-MOVE response is received.
 

Public Member Functions

 MoveSCU (Association &association)
 Constructor.
 
virtual ~MoveSCU ()
 Destructor.
 
std::string const & get_move_destination () const
 Return the AE title of the destination, defaults to "".
 
void set_move_destination (std::string const &move_destination)
 Set the AE title of the destination.
 
uint16_t get_incoming_port () const
 Return the port for incoming associations, defaults to 0.
 
void set_incoming_port (uint16_t port)
 Set the port for incoming associations, use 0 to disable.
 
void move (DataSet const &query, StoreCallback store_callback) const
 Perform the C-MOVE using callbacks.
 
void move (DataSet const &query, MoveCallback move_callback) const
 Perform the C-MOVE using callbacks.
 
void move (DataSet const &query, StoreCallback store_callback, MoveCallback move_callback) const
 Perform the C-MOVE using callbacks.
 
std::vector< DataSetmove (DataSet const &query) const
 Return a list of datasets matching the query.
 
- Public Member Functions inherited from odil::SCU
 SCU (Association &association)
 Create a default Service Class User.
 
virtual ~SCU ()
 Destructor.
 
std::string const & get_affected_sop_class () const
 Return the affected SOP class. Defaults to "".
 
void set_affected_sop_class (std::string const &sop_class)
 Set the affected SOP class.
 

Additional Inherited Members

- Protected Attributes inherited from odil::SCU
Association_association
 Association with peer.
 
std::string _affected_sop_class
 Affected SOP class.
 

Detailed Description

SCU for C-MOVE services.

Member Typedef Documentation

Typedef to keep compatibility with previous versions.

Deprecated:
The StoreCallback typedef should now be used.

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