dcmtkpp
SCU.h
1 /*************************************************************************
2  * dcmtkpp - 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 _ba1518e7_8123_46c9_81c0_65439717e40e
10 #define _ba1518e7_8123_46c9_81c0_65439717e40e
11 
12 #include <string>
13 
14 #include "dcmtkpp/ServiceRole.h"
15 
16 namespace dcmtkpp
17 {
18 
20 class SCU: public ServiceRole
21 {
22 public:
23  SCU();
24  ~SCU();
25 
27  std::string const & get_affected_sop_class() const;
29  void set_affected_sop_class(std::string const & sop_class);
30 
32  void echo() const;
33 
34 protected:
36  std::string _affected_sop_class;
37 };
38 
39 }
40 
41 #endif // _ba1518e7_8123_46c9_81c0_65439717e40e
Definition: Association.cpp:22
void set_affected_sop_class(std::string const &sop_class)
Set the affected SOP class.
Definition: SCU.cpp:45
Base class for all Service Class Users and Providers.
Definition: ServiceRole.h:28
std::string const & get_affected_sop_class() const
Return the affected SOP class. Defaults to "".
Definition: SCU.cpp:38
void echo() const
Perform DICOM ping.
Definition: SCU.cpp:52
std::string _affected_sop_class
Affected SOP class.
Definition: SCU.h:36
Base class for all Service Class Users.
Definition: SCU.h:20