Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
odil::MoveSCU Class Reference

SCU for C-MOVE services. More...

#include <MoveSCU.h>

Inheritance diagram for odil::MoveSCU:
Collaboration diagram for odil::MoveSCU:

Public Types

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

Public Member Functions

 MoveSCU (Association &association)
 Constructor.
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 (std::shared_ptr< DataSet > query, StoreCallback store_callback) const
 Perform the C-MOVE using callbacks.
void move (std::shared_ptr< DataSet > query, MoveCallback move_callback) const
 Perform the C-MOVE using callbacks.
void move (std::shared_ptr< DataSet > query, StoreCallback store_callback, MoveCallback move_callback) const
 Perform the C-MOVE using callbacks.
std::vector< std::shared_ptr< DataSet > > move (std::shared_ptr< DataSet > 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

◆ Callback

Typedef to keep compatibility with previous versions.

Deprecated
The StoreCallback typedef should now be used.

◆ MoveCallback

typedef std::function< void(std::shared_ptr<message::CMoveResponse>) > odil::MoveSCU::MoveCallback

Callback called when a C-MOVE response is received.

◆ StoreCallback

typedef std::function<void(std::shared_ptr<DataSet>)> odil::MoveSCU::StoreCallback

Callback called when a C-STORE request is received.

Constructor & Destructor Documentation

◆ MoveSCU()

odil::MoveSCU::MoveSCU ( Association & association)

Constructor.

Member Function Documentation

◆ get_incoming_port()

uint16_t odil::MoveSCU::get_incoming_port ( ) const

Return the port for incoming associations, defaults to 0.

◆ get_move_destination()

std::string const & odil::MoveSCU::get_move_destination ( ) const

Return the AE title of the destination, defaults to "".

◆ move() [1/4]

std::vector< std::shared_ptr< DataSet > > odil::MoveSCU::move ( std::shared_ptr< DataSet > query) const

Return a list of datasets matching the query.

◆ move() [2/4]

void odil::MoveSCU::move ( std::shared_ptr< DataSet > query,
MoveCallback move_callback ) const

Perform the C-MOVE using callbacks.

◆ move() [3/4]

void odil::MoveSCU::move ( std::shared_ptr< DataSet > query,
StoreCallback store_callback ) const

Perform the C-MOVE using callbacks.

◆ move() [4/4]

void odil::MoveSCU::move ( std::shared_ptr< DataSet > query,
StoreCallback store_callback,
MoveCallback move_callback ) const

Perform the C-MOVE using callbacks.

◆ set_incoming_port()

void odil::MoveSCU::set_incoming_port ( uint16_t port)

Set the port for incoming associations, use 0 to disable.

◆ set_move_destination()

void odil::MoveSCU::set_move_destination ( std::string const & move_destination)

Set the AE title of the destination.


The documentation for this class was generated from the following file:
  • /build/reproducible-path/odil-0.13.0/src/odil/MoveSCU.h