Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
camera_lens_detail::TemporaryOutput Struct Reference

Own an unpublished derivative and its temporary sibling path. More...

Public Member Functions

 TemporaryOutput (const std::string &output)
 Open an exclusive temporary file beside the requested output.
 ~TemporaryOutput ()
 Remove an unpublished temporary pathname.

Data Fields

std::string path
File file

Detailed Description

Own an unpublished derivative and its temporary sibling path.

Definition at line 443 of file camera_lens.cpp.

Constructor & Destructor Documentation

◆ TemporaryOutput()

camera_lens_detail::TemporaryOutput::TemporaryOutput ( const std::string & output)
inlineexplicit

Open an exclusive temporary file beside the requested output.

Parameters
outputFinal derivative path.
Exceptions
std::runtime_errorIf temporary-file creation or stream setup fails.

A sibling path permits rename-based publication on the same filesystem. Clean up the descriptor and file if wrapping it fails.

Definition at line 451 of file camera_lens.cpp.

◆ ~TemporaryOutput()

camera_lens_detail::TemporaryOutput::~TemporaryOutput ( )
inline

Remove an unpublished temporary pathname.

A successful rename has already moved the file; cleanup targets only the temporary name, never the published derivative.

Definition at line 466 of file camera_lens.cpp.

Field Documentation

◆ file

File camera_lens_detail::TemporaryOutput::file

Definition at line 445 of file camera_lens.cpp.

◆ path

std::string camera_lens_detail::TemporaryOutput::path

Definition at line 444 of file camera_lens.cpp.


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