|
Symbian platform (C++)
SDK native APIs, runtime and tooling
|
Namespaces | |
| namespace | internal |
Classes | |
| struct | FailureHandlerOptions |
| struct | FastCounterReading |
| Native 32-bit fast counter and platform-reported frequency. More... | |
| struct | SerialPortRange |
| One OS serial module and its contiguous range of port units. More... | |
| struct | TickReading |
| Native 32-bit elapsed-time tick and its measured period. More... | |
Typedefs | |
| using | FailureHandledEntry = std::function< absl::Status()> |
Functions | |
| absl::Status | RunActiveService (std::int32_t category, std::uint32_t stop_key, const std::function< absl::Status()> &start, const std::function< void()> &on_stop, const std::function< void()> &on_ready) |
| Run a service on the calling thread's native active scheduler. | |
| absl::Status | RequestActiveServiceStop (std::int32_t category, std::uint32_t stop_key) |
| Request an active service to stop from another guest thread. | |
| void | StopActiveService () |
| Stop the current thread's active service from its event callback. | |
| absl::Status | OpenDocument (std::u16string_view absolute_path) |
| Ask the OS to open a document with its registered application. | |
| absl::StatusOr< bool > | IsApplicationRegistered (std::uint32_t uid) |
| Check whether AppArc currently knows an application UID. | |
| absl::Status | CopyTextToClipboard (std::u16string_view text) |
| absl::StatusOr< std::u16string > | ReadTextFromClipboard () |
| absl::StatusOr< TickReading > | ReadTickCounter () |
| Read the native system tick and its period, or a typed OS error. | |
| absl::StatusOr< FastCounterReading > | ReadFastCounter () |
| Read the fast counter and its frequency, or a typed OS error. | |
| void | DebugLog (std::string_view message) |
| std::size_t | CopyRecentDebugLogs (std::span< char > destination) |
| int | RunWithFailureHandler (FailureHandledEntry entry, const FailureHandlerOptions &options={}) |
| absl::Status | ShowFailureReport (const absl::Status &error, const FailureHandlerOptions &options={}) |
| absl::StatusOr< std::vector< SerialPortRange > > | ListSerialPortRanges () |
| Enumerate OS serial ports without opening or changing any port. | |
| using symbian::api::system::FailureHandledEntry = typedef std::function<absl::Status()> |
| std::size_t symbian::api::system::CopyRecentDebugLogs | ( | std::span< char > | destination | ) |
| absl::Status symbian::api::system::CopyTextToClipboard | ( | std::u16string_view | text | ) |
| void symbian::api::system::DebugLog | ( | std::string_view | message | ) |
| absl::StatusOr< bool > symbian::api::system::IsApplicationRegistered | ( | std::uint32_t | uid | ) |
Check whether AppArc currently knows an application UID.
| absl::StatusOr< std::vector< SerialPortRange > > symbian::api::system::ListSerialPortRanges | ( | ) |
Enumerate OS serial ports without opening or changing any port.
| absl::Status symbian::api::system::OpenDocument | ( | std::u16string_view | absolute_path | ) |
Ask the OS to open a document with its registered application.
| absl::StatusOr< FastCounterReading > symbian::api::system::ReadFastCounter | ( | ) |
Read the fast counter and its frequency, or a typed OS error.
Availability and resolution depend on the device or emulator profile.
| absl::StatusOr< std::u16string > symbian::api::system::ReadTextFromClipboard | ( | ) |
| absl::StatusOr< TickReading > symbian::api::system::ReadTickCounter | ( | ) |
Read the native system tick and its period, or a typed OS error.
| absl::Status symbian::api::system::RequestActiveServiceStop | ( | std::int32_t | category, |
| std::uint32_t | stop_key | ||
| ) |
Request an active service to stop from another guest thread.
| absl::Status symbian::api::system::RunActiveService | ( | std::int32_t | category, |
| std::uint32_t | stop_key, | ||
| const std::function< absl::Status()> & | start, | ||
| const std::function< void()> & | on_stop, | ||
| const std::function< void()> & | on_ready | ||
| ) |
Run a service on the calling thread's native active scheduler.
Owns a process-local stop property. The start callback runs after scheduler installation and must arm its asynchronous requests before returning. on_ready runs once after the stop signal is armed. on_stop runs when the signal requests shutdown or its subscription fails. Both callbacks and StopActiveService run on the scheduler thread. Another thread can request shutdown through RequestActiveServiceStop. Only one service loop may run per thread; the property category/key must be unique to the app.
| int symbian::api::system::RunWithFailureHandler | ( | FailureHandledEntry | entry, |
| const FailureHandlerOptions & | options = {} |
||
| ) |
| absl::Status symbian::api::system::ShowFailureReport | ( | const absl::Status & | error, |
| const FailureHandlerOptions & | options = {} |
||
| ) |
| void symbian::api::system::StopActiveService | ( | ) |
Stop the current thread's active service from its event callback.