uuu
uuu (Universal Update Utility), mfgtools 3.0
 
Loading...
Searching...
No Matches
FBLoop Class Referenceabstract

#include <fastboot.h>

Inheritance diagram for FBLoop:
CmdBase FBCRC FBWrite

Public Member Functions

 FBLoop (char *p)
 
virtual int each (FastBoot &fb, std::shared_ptr< DataBuffer > fbuff, size_t off)=0
 
int run (CmdCtx *ctx) override
 
std::string build_cmd (std::string &cmd, size_t off, size_t sz)
 
- 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)
 
virtual int parser (char *p=nullptr)
 

Public Attributes

std::string m_uboot_cmd = "mmc read $loadaddr"
 
size_t m_blksize = 512
 
size_t m_each = 0x4000000
 
size_t m_seek = 0
 
size_t m_skip = 0
 
bool m_nostop = false
 
std::string m_filename
 

Additional Inherited Members

- 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
 

Constructor & Destructor Documentation

◆ FBLoop()

FBLoop::FBLoop ( char * p)

Member Function Documentation

◆ build_cmd()

string FBLoop::build_cmd ( std::string & cmd,
size_t off,
size_t sz )

◆ each()

virtual int FBLoop::each ( FastBoot & fb,
std::shared_ptr< DataBuffer > fbuff,
size_t off )
pure virtual

Implemented in FBCRC, and FBWrite.

◆ run()

int FBLoop::run ( CmdCtx * ctx)
overridevirtual

Implements CmdBase.

Member Data Documentation

◆ m_blksize

size_t FBLoop::m_blksize = 512

◆ m_each

size_t FBLoop::m_each = 0x4000000

◆ m_filename

std::string FBLoop::m_filename

◆ m_nostop

bool FBLoop::m_nostop = false

◆ m_seek

size_t FBLoop::m_seek = 0

◆ m_skip

size_t FBLoop::m_skip = 0

◆ m_uboot_cmd

std::string FBLoop::m_uboot_cmd = "mmc read $loadaddr"

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