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

Dispatch an incoming message to one of the registered SCPs. More...

#include <SCPDispatcher.h>

Public Member Functions

 SCPDispatcher (Association &association)
 Create a dispatcher with network and association. More...
 
 ~SCPDispatcher ()
 Destructor. More...
 
bool has_scp (Value::Integer command) const
 Test whether command has an SCP registered. More...
 
std::shared_ptr< SCP > const & get_scp (Value::Integer command) const
 Return the SCP registered with command. More...
 
void set_scp (Value::Integer command, std::shared_ptr< SCP > const &scp)
 Registered an SCP with command. More...
 
void dispatch ()
 Receive and dispatch an incoming message. More...
 

Detailed Description

Dispatch an incoming message to one of the registered SCPs.

Constructor & Destructor Documentation

◆ SCPDispatcher()

odil::SCPDispatcher::SCPDispatcher ( Association association)

Create a dispatcher with network and association.

◆ ~SCPDispatcher()

odil::SCPDispatcher::~SCPDispatcher ( )

Destructor.

Member Function Documentation

◆ dispatch()

void odil::SCPDispatcher::dispatch ( )

Receive and dispatch an incoming message.

◆ get_scp()

std::shared_ptr<SCP> const& odil::SCPDispatcher::get_scp ( Value::Integer  command) const

Return the SCP registered with command.

◆ has_scp()

bool odil::SCPDispatcher::has_scp ( Value::Integer  command) const

Test whether command has an SCP registered.

◆ set_scp()

void odil::SCPDispatcher::set_scp ( Value::Integer  command,
std::shared_ptr< SCP > const &  scp 
)

Registered an SCP with command.


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