Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
FindSCP.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 _d54d5d3d_791c_43e5_b13a_397954053963
10
#define _d54d5d3d_791c_43e5_b13a_397954053963
11
12
#include <memory>
13
14
#include "
odil/Association.h
"
15
#include "
odil/odil.h
"
16
#include "
odil/SCP.h
"
17
#include "
odil/message/CFindRequest.h
"
18
#include "
odil/message/Message.h
"
19
20
namespace
odil
21
{
22
24
class
ODIL_API
FindSCP
:
public
SCP
25
{
26
public
:
27
29
FindSCP
(
Association
& association);
30
32
FindSCP
(
33
Association
& association,
34
std::shared_ptr<DataSetGenerator>
const
& generator);
35
37
std::shared_ptr<DataSetGenerator const>
get_generator
()
const
;
38
40
void
set_generator
(std::shared_ptr<DataSetGenerator>
const
& generator);
41
43
virtual
void
operator()
(std::shared_ptr<message::Message>
message
);
44
45
private
:
46
std::shared_ptr<DataSetGenerator> _generator;
47
48
void
operator()
(std::shared_ptr<message::CFindRequest const> request);
49
};
50
51
}
52
53
#endif
// _d54d5d3d_791c_43e5_b13a_397954053963
Association.h
CFindRequest.h
SCP.h
odil::Association
Association.
Definition
Association.h:31
odil::FindSCP::FindSCP
FindSCP(Association &association)
Constructor.
odil::FindSCP::FindSCP
FindSCP(Association &association, std::shared_ptr< DataSetGenerator > const &generator)
Constructor.
odil::FindSCP::get_generator
std::shared_ptr< DataSetGenerator const > get_generator() const
Return the generator.
odil::FindSCP::operator()
virtual void operator()(std::shared_ptr< message::Message > message)
Process a C-Find request.
odil::FindSCP::set_generator
void set_generator(std::shared_ptr< DataSetGenerator > const &generator)
Set the generator.
odil::SCP::SCP
SCP(Association &association)
Create a Service Class Provider.
Message.h
odil::message
Definition
Cancellation.h:21
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
src
odil
FindSCP.h
Generated by
1.17.0