Classes | |
| struct | AcquisitionConfig |
| Acquisition pipeline configuration. More... | |
| struct | AdapterConfig |
| Adapter configuration. More... | |
| class | AdapterLoader |
| Dynamic adapter loader Loads CamCom adapters from shared libraries at runtime. More... | |
| class | CameraController |
| class | CameraServer |
| Main camera server class Orchestrates all components: adapter, HTTP server, frame pipeline. More... | |
| struct | DataFrame |
| Container for a single frame of image data with metadata. More... | |
| class | FitsRecorder |
| Records frames to FITS files. More... | |
| struct | GuiConfig |
| GUI configuration. More... | |
| class | HttpServer |
| struct | HttpServerConfig |
| HTTP server configuration. More... | |
| struct | LoggingConfig |
| Logging configuration. More... | |
| class | MockAdapter |
| struct | RecordingConfig |
| Recording configuration. More... | |
| struct | ServerConfig |
| Main server configuration. More... | |
| struct | SetupConfig |
| Server setup / behavior configuration. More... | |
| struct | StatisticsConfig |
| Statistics configuration. More... | |
| struct | StreamingConfig |
| Streaming configuration. More... | |
| class | StreamManager |
| struct | TelemetryConfig |
| Telemetry / monitoring configuration. More... | |
| struct | TimestampRow |
| Per-frame timestamp row for the cube binary table extension. More... | |
| struct | WebInterfaceConfig |
| Web interface configuration. More... | |
| struct | WebSocketHandlers |
Typedefs | |
| using | SetValues = std::map<std::string, std::string> |
| Set values configuration (use camera-native parameter names) | |
| using | HttpRequestHandler = std::function<std::string(const std::string&)> |
| using | HttpRawRequestHandler = std::function<std::pair<std::string, std::string>(const std::string&)> |
| using | WebSocketOnOpen = std::function<void()> |
| using | WebSocketOnMessage = std::function<void(const std::string&)> |
| using | WebSocketOnClose = std::function<void()> |
Functions | |
| std::string | expandEnvVars (const std::string &str) |
| void | mergeConfig (ServerConfig &dest, const ServerConfig &src) |
| ServerConfig | loadConfig (const std::string &filename, bool require_camcom=true, const std::string &base_dir="") |
| Load and parse YAML configuration file. | |
| bool | validateConfig (const ServerConfig &config) |
| Validate configuration. | |
| std::string | base64Encode (const std::vector< uint8_t > &input) |
| using camcom::server::HttpRawRequestHandler = std::function<std::pair<std::string, std::string>(const std::string&)> |
| using camcom::server::HttpRequestHandler = std::function<std::string(const std::string&)> |
| using camcom::server::SetValues = std::map<std::string, std::string> |
Set values configuration (use camera-native parameter names)
| using camcom::server::WebSocketOnClose = std::function<void()> |
| using camcom::server::WebSocketOnMessage = std::function<void(const std::string&)> |
| using camcom::server::WebSocketOnOpen = std::function<void()> |
| std::string camcom::server::base64Encode | ( | const std::vector< uint8_t > & | input | ) |
| std::string camcom::server::expandEnvVars | ( | const std::string & | str | ) |
| ServerConfig camcom::server::loadConfig | ( | const std::string & | filename, |
| bool | require_camcom = true, | ||
| const std::string & | base_dir = "" ) |
Load and parse YAML configuration file.
| filename | Path to YAML configuration file |
| require_camcom | Whether the camcom section is required (true for main config, false for includes) |
| base_dir | Base directory for resolving relative include paths (empty for main config) |
| std::runtime_error | if file cannot be parsed |
| void camcom::server::mergeConfig | ( | ServerConfig & | dest, |
| const ServerConfig & | src ) |
| bool camcom::server::validateConfig | ( | const ServerConfig & | config | ) |
Validate configuration.
| config | Configuration to validate |