|
Symbian platform (C++)
SDK native APIs, runtime and tooling
|
Classes | |
| struct | FastCounterReading |
| Native 32-bit fast counter and platform-reported frequency. More... | |
| struct | TickReading |
| Native 32-bit elapsed-time tick and its measured period. More... | |
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::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. | |
| 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< 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.
| void symbian::api::system::StopActiveService | ( | ) |
Stop the current thread's active service from its event callback.