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(std::shared_ptr< DataSet >)> Callback
 Callback called when a response is received. More...
 

Public Member Functions

 FindSCU (Association &association)
 Constructor. More...
 
void find (std::shared_ptr< DataSet > query, Callback callback) const
 Perform the C-FIND using an optional callback. More...
 
Value::DataSets find (std::shared_ptr< DataSet > query) const
 Return a list of datasets matching the query. 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(std::shared_ptr<DataSet>)> odil::FindSCU::Callback

Callback called when a response is received.

Constructor & Destructor Documentation

◆ FindSCU()

odil::FindSCU::FindSCU ( Association association)

Constructor.

Member Function Documentation

◆ find() [1/2]

Value::DataSets odil::FindSCU::find ( std::shared_ptr< DataSet query) const

Return a list of datasets matching the query.

◆ find() [2/2]

void odil::FindSCU::find ( std::shared_ptr< DataSet query,
Callback  callback 
) const

Perform the C-FIND using an optional callback.


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