uuu
uuu (Universal Update Utility), mfgtools 3.0
 
Loading...
Searching...
No Matches
FBCmd Class Reference

#include <fastboot.h>

Inheritance diagram for FBCmd:
CmdBase FBACmd FBBootCmd FBContinueCmd FBDelPartition FBEraseCmd FBFlashCmd FBFlashingCmd FBOemCmd FBRebootCmd FBSetActiveCmd FBSyncCmd FBUCmd

Public Member Functions

 FBCmd (char *p, std::string &&fb_cmd, char separator=':')
 
int parser (char *p=nullptr) override
 
int run (CmdCtx *ctx) override
 
- Public Member Functions inherited from CmdBase
 CmdBase ()=default
 
 CmdBase (char *p)
 
virtual ~CmdBase ()
 
virtual int dump ()
 
const std::string & get_cmd () const noexcept
 
bool get_lastcmd () const noexcept
 
void insert_param_info (const char *key, void *pD, Param::Type tp, bool ignore_case=true, const char *err=nullptr)
 
virtual int parser_protocol (char *p, size_t &pos)
 

Protected Attributes

std::string m_uboot_cmd
 
- Protected Attributes inherited from CmdBase
bool m_bCheckTotalParam = false
 
std::string m_cmd
 
bool m_lastcmd = false
 
bool m_NoKeyParam = false
 
int m_timeout = 10000
 

Private Attributes

const std::string m_fb_cmd
 
const char m_separator = ':'
 

Constructor & Destructor Documentation

◆ FBCmd()

FBCmd::FBCmd ( char * p,
std::string && fb_cmd,
char separator = ':' )
inline

Member Function Documentation

◆ parser()

int FBCmd::parser ( char * p = nullptr)
overridevirtual

Reimplemented from CmdBase.

Reimplemented in FBFlashCmd.

◆ run()

int FBCmd::run ( CmdCtx * ctx)
overridevirtual

Implements CmdBase.

Reimplemented in FBFlashCmd.

Member Data Documentation

◆ m_fb_cmd

const std::string FBCmd::m_fb_cmd
private

◆ m_separator

const char FBCmd::m_separator = ':'
private

◆ m_uboot_cmd

std::string FBCmd::m_uboot_cmd
protected

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