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

SCP for C-Move services. More...

#include <MoveSCP.h>

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

Classes

class  DataSetGenerator
 Generator of C-MOVE responses. More...
 

Public Member Functions

 MoveSCP (Association &association)
 Constructor. More...
 
 MoveSCP (Association &association, std::shared_ptr< DataSetGenerator > const &generator)
 Constructor. More...
 
std::shared_ptr< DataSetGenerator const > get_generator () const
 Return the generator. More...
 
void set_generator (std::shared_ptr< DataSetGenerator > const &generator)
 Set the generator. More...
 
virtual void operator() (std::shared_ptr< message::Message > message)
 Process a C-Get request. More...
 
- Public Member Functions inherited from odil::SCP
 SCP (Association &association)
 Create a Service Class Provider. More...
 
virtual ~SCP ()=default
 Destructor. More...
 
void receive_and_process ()
 Receive and process a message. More...
 

Additional Inherited Members

- Protected Attributes inherited from odil::SCP
Association_association
 Association with peer. More...
 

Detailed Description

SCP for C-Move services.

Constructor & Destructor Documentation

◆ MoveSCP() [1/2]

odil::MoveSCP::MoveSCP ( Association association)

Constructor.

◆ MoveSCP() [2/2]

odil::MoveSCP::MoveSCP ( Association association,
std::shared_ptr< DataSetGenerator > const &  generator 
)

Constructor.

Member Function Documentation

◆ get_generator()

std::shared_ptr<DataSetGenerator const> odil::MoveSCP::get_generator ( ) const

Return the generator.

◆ operator()()

virtual void odil::MoveSCP::operator() ( std::shared_ptr< message::Message message)
virtual

Process a C-Get request.

Implements odil::SCP.

◆ set_generator()

void odil::MoveSCP::set_generator ( std::shared_ptr< DataSetGenerator > const &  generator)

Set the generator.


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