libstorage-ng
Public Member Functions | List of all members
storage::ProbeCallbacksV2 Class Referenceabstract
Inheritance diagram for storage::ProbeCallbacksV2:
[legend]
Collaboration diagram for storage::ProbeCallbacksV2:
[legend]

Public Member Functions

virtual bool missing_command (const std::string &message, const std::string &what, const std::string &command, uint64_t used_features) const =0
 Callback for missing commands. More...
 

Member Function Documentation

◆ missing_command()

virtual bool storage::ProbeCallbacksV2::missing_command ( const std::string &  message,
const std::string &  what,
const std::string &  command,
uint64_t  used_features 
) const
pure virtual

Callback for missing commands.

message is translated. what is usually not translated and may be empty. command is the missing command.

used_features reports for which storage feature the command is needed. used_features may be zero, e.g. if a command fails for which the library has hard dependencies.

If it returns true the error is ignored as good as possible.


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