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

#include <cmd.h>

Inheritance diagram for CmdShell:
CmdBase

Public Member Functions

 CmdShell (char *p)
int parser (char *p=nullptr) override
int run (CmdCtx *p) 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)

Private Attributes

bool m_dyn = false
std::string m_protocol
std::string m_shellcmd

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

◆ CmdShell()

CmdShell::CmdShell ( char * p)
inline

Member Function Documentation

◆ parser()

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

Reimplemented from CmdBase.

◆ run()

int CmdShell::run ( CmdCtx * p)
overridevirtual

Implements CmdBase.

Member Data Documentation

◆ m_dyn

bool CmdShell::m_dyn = false
private

◆ m_protocol

std::string CmdShell::m_protocol
private

◆ m_shellcmd

std::string CmdShell::m_shellcmd
private

The documentation for this class was generated from the following files:
  • /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/libuuu/cmd.h
  • /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/libuuu/cmd.cpp