PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::web::rest_server::impl Struct Reference

Implementation details for rest_server. More...

Collaboration diagram for kcenon::pacs::web::rest_server::impl:
Collaboration graph

Public Member Functions

 impl ()
 
 impl (const rest_server_config &cfg)
 

Public Attributes

rest_server_config config
 
std::shared_ptr< rest_server_contextcontext
 
std::unique_ptr< crow::SimpleApp > app
 
std::thread server_thread
 
std::atomic< bool > running {false}
 
std::atomic< std::uint16_t > actual_port {0}
 
std::mutex mutex
 

Detailed Description

Implementation details for rest_server.

Definition at line 103 of file rest_server.cpp.

Constructor & Destructor Documentation

◆ impl() [1/2]

kcenon::pacs::web::rest_server::impl::impl ( )
inline

Definition at line 112 of file rest_server.cpp.

112: context(std::make_shared<rest_server_context>()) {}
std::shared_ptr< rest_server_context > context

◆ impl() [2/2]

kcenon::pacs::web::rest_server::impl::impl ( const rest_server_config & cfg)
inlineexplicit

Definition at line 114 of file rest_server.cpp.

115 : config(cfg), context(std::make_shared<rest_server_context>()) {
116 context->config = &config;
117 }

References config, and context.

Member Data Documentation

◆ actual_port

std::atomic<std::uint16_t> kcenon::pacs::web::rest_server::impl::actual_port {0}

Definition at line 109 of file rest_server.cpp.

109{0};

◆ app

std::unique_ptr<crow::SimpleApp> kcenon::pacs::web::rest_server::impl::app

◆ config

◆ context

◆ mutex

◆ running

◆ server_thread

std::thread kcenon::pacs::web::rest_server::impl::server_thread

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