Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
FindSCU.h
Go to the documentation of this file.
1
/*************************************************************************
2
* odil - Copyright (C) Universite de Strasbourg
3
* Distributed under the terms of the CeCILL-B license, as published by
4
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6
* for details.
7
************************************************************************/
8
9
#ifndef _0106eb3a_4e02_4d7c_93bf_4d53dcafbb05
10
#define _0106eb3a_4e02_4d7c_93bf_4d53dcafbb05
11
12
#include <vector>
13
14
#include "
odil/Association.h
"
15
#include "
odil/DataSet.h
"
16
#include "
odil/message/CFindRequest.h
"
17
#include "
odil/odil.h
"
18
#include "
odil/SCU.h
"
19
20
namespace
odil
21
{
22
24
class
ODIL_API
FindSCU
:
public
SCU
25
{
26
public
:
28
typedef
std::function<void(std::shared_ptr<DataSet>)>
Callback
;
29
31
FindSCU
(
Association
& association);
32
34
void
find
(std::shared_ptr<DataSet> query,
Callback
callback)
const
;
35
39
Value::DataSets
find
(std::shared_ptr<DataSet> query)
const
;
40
41
private
:
42
void
_find(
43
std::shared_ptr<message::CFindRequest const> request,
44
Callback
callback)
const
;
45
};
46
47
}
48
49
#endif
// _0106eb3a_4e02_4d7c_93bf_4d53dcafbb05
Association.h
CFindRequest.h
DataSet.h
SCU.h
odil::Association
Association.
Definition
Association.h:31
odil::FindSCU::FindSCU
FindSCU(Association &association)
Constructor.
odil::FindSCU::find
Value::DataSets find(std::shared_ptr< DataSet > query) const
Return a list of datasets matching the query.
odil::FindSCU::Callback
std::function< void(std::shared_ptr< DataSet >)> Callback
Callback called when a response is received.
Definition
FindSCU.h:28
odil::FindSCU::find
void find(std::shared_ptr< DataSet > query, Callback callback) const
Perform the C-FIND using an optional callback.
odil::SCU::SCU
SCU(Association &association)
Create a default Service Class User.
odil::Value::DataSets
std::vector< std::shared_ptr< DataSet > > DataSets
Data sets container.
Definition
Value.h:60
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
src
odil
FindSCU.h
Generated by
1.17.0