Odil
A C++11 library for the DICOM standard
Public Types | Public Member Functions | List of all members
odil::FindSCU Class Reference

SCU for C-FIND services. More...

#include <FindSCU.h>

Inheritance diagram for odil::FindSCU:
Inheritance graph
[legend]
Collaboration diagram for odil::FindSCU:
Collaboration graph
[legend]

Public Types

typedef std::function< void(DataSet &&)> Callback
 Callback called when a response is received. More...
 

Public Member Functions

 FindSCU (Association &association)
 Constructor. More...
 
virtual ~FindSCU ()
 Destructor. More...
 
void find (DataSet const &query, Callback callback) const
 Perform the C-FIND using an optional callback. More...
 
void find (DataSet &&query, Callback callback) const
 Perform the C-FIND using an optional callback. More...
 
std::vector< DataSetfind (DataSet const &query) const
 Return a list of datasets matching the query. The user is responsible for the de-allocation of the matches. More...
 
std::vector< DataSetfind (DataSet &&query) const
 Return a list of datasets matching the query. The user is responsible for the de-allocation of the matches. More...
 
- Public Member Functions inherited from odil::SCU
 SCU (Association &association)
 Create a default Service Class User. More...
 
virtual ~SCU ()
 Destructor. More...
 
std::string const & get_affected_sop_class () const
 Return the affected SOP class. Defaults to "". More...
 
void set_affected_sop_class (std::string const &sop_class)
 Set the affected SOP class. More...
 

Additional Inherited Members

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

Detailed Description

SCU for C-FIND services.

Member Typedef Documentation

◆ Callback

typedef std::function<void(DataSet &&)> odil::FindSCU::Callback

Callback called when a response is received.

Constructor & Destructor Documentation

◆ FindSCU()

odil::FindSCU::FindSCU ( Association association)

Constructor.

◆ ~FindSCU()

virtual odil::FindSCU::~FindSCU ( )
virtual

Destructor.

Member Function Documentation

◆ find() [1/4]

void odil::FindSCU::find ( DataSet const &  query,
Callback  callback 
) const

Perform the C-FIND using an optional callback.

◆ find() [2/4]

void odil::FindSCU::find ( DataSet &&  query,
Callback  callback 
) const

Perform the C-FIND using an optional callback.

◆ find() [3/4]

std::vector<DataSet> odil::FindSCU::find ( DataSet const &  query) const

Return a list of datasets matching the query. The user is responsible for the de-allocation of the matches.

◆ find() [4/4]

std::vector<DataSet> odil::FindSCU::find ( DataSet &&  query) const

Return a list of datasets matching the query. The user is responsible for the de-allocation of the matches.


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