Telematics SDK - Interface Specification
v1.47.0
|
Data Structures | |
struct | telux::platform::EfsEventInfo |
class | telux::platform::IFsListener |
Listener class for getting notifications related to EFS backup/restore operations. The client needs to implement these methods as briefly as possible and avoid blocking calls in it. The methods in this class can be invoked from multiple different threads. Client needs to make sure that the implementation is thread-safe. More... | |
class | telux::platform::IFsManager |
IFsManager provides interface to to control and get notified about file system operations. This includes Embedded file system (EFS) operations. More... | |
Enumerations | |
enum | telux::platform::EfsEvent { telux::platform::EfsEvent::START, telux::platform::EfsEvent::END } |
This section contains APIs, data structures and components to configure and acquire information from the filesystem manager.
struct telux::platform::EfsEventInfo |
Data Fields | ||
---|---|---|
EfsEvent | event |
The event being notified |
ErrorCode | error |
telux::common::ErrorCode associated with the event |
class telux::platform::IFsListener |
Listener class for getting notifications related to EFS backup/restore operations. The client needs to implement these methods as briefly as possible and avoid blocking calls in it. The methods in this class can be invoked from multiple different threads. Client needs to make sure that the implementation is thread-safe.
Public Member Functions | |
virtual void | OnEfsRestoreEvent (EfsEventInfo event) |
virtual void | OnEfsBackupEvent (EfsEventInfo event) |
virtual | ~IFsListener () |
Public Member Functions inherited from telux::common::IServiceStatusListener | |
virtual void | onServiceStatusChange (ServiceStatus status) |
virtual | ~IServiceStatusListener () |
|
virtual |
Destructor of IFsListener
|
virtual |
This function is called when a EFS restore operation is detected.
[in] | event | Event related data. telux::platform::EfsEventInfo. |
|
virtual |
This function is called when a EFS backup operation is detected.
[in] | event | Event related data. telux::platform::EfsEventInfo. |
class telux::platform::IFsManager |
IFsManager provides interface to to control and get notified about file system operations. This includes Embedded file system (EFS) operations.
Public Member Functions | |
virtual telux::common::ServiceStatus | getServiceStatus ()=0 |
virtual telux::common::Status | registerListener (std::weak_ptr< IFsListener > listener)=0 |
virtual telux::common::Status | deregisterListener (std::weak_ptr< IFsListener > listener)=0 |
virtual telux::common::Status | startEfsBackup ()=0 |
virtual | ~IFsManager () |
|
virtual |
Destructor of IFsManager
|
pure virtual |
This status indicates whether the object is in a usable state.
|
pure virtual |
Registers the listener for FileSystem Manager indications.
[in] | listener | - pointer to implemented listener. |
|
pure virtual |
Deregisters the previously registered listener.
[in] | listener | - pointer to registered listener that needs to be removed. |
|
pure virtual |
Request to trigger an EFS backup. If the request is successful, the status of EFS backup is notified via telux::platform::IFsListener::OnEfsBackupEvent.
|
strong |