BEEP-8 Helper Lib 1.0.0
Loading...
Searching...
No Matches
CShellObj Class Reference
Inheritance diagram for CShellObj:
CObj

Public Member Functions

void Prompt ()
 Displays the command prompt.
 
std::vector< str16GetAvailableCommands ()
 Retrieves a list of available commands.
 
void Register (CShellCmd *cmd_)
 Registers a new command with the shell.
 
void Input (u32 keycode_)
 Processes an input keycode.
 
void ExecShellScript (std::shared_ptr< std::string > script_)
 Executes a shell script.
 
- Public Member Functions inherited from CObj
u32 GetId () const
 Get the ID of the object.
 
HObj GetHandle () const
 Get the handle of the object.
 
void SetHandle (HObj hObj_)
 Set the handle of the object.
 
void SetPriority (u32 priority_)
 Set the priority of the object.
 
u32 GetPriority () const
 Get the priority of the object.
 
void ReqKill ()
 Request to kill the object.
 
bool IsReqKill () const
 Check if the object is requested to be killed.
 
u32 GetTypeId ()
 Get the type ID of the object.
 
bool IsTypeOf (u32 type_id_)
 Check if the object is of a specific type.
 

Friends

class CHelpShellCmd
 

Additional Inherited Members

- Protected Member Functions inherited from CObj
void SetTypeId (u32 type_id_)
 Set the type ID of the object.
 

Member Function Documentation

◆ ExecShellScript()

void CShellObj::ExecShellScript ( std::shared_ptr< std::string > script_)

Executes a shell script.

Parameters
script_The script to execute.

◆ GetAvailableCommands()

std::vector< str16 > CShellObj::GetAvailableCommands ( )

Retrieves a list of available commands.

Returns
A vector of available command names.

◆ Input()

void CShellObj::Input ( u32 keycode_)

Processes an input keycode.

Parameters
keycode_The keycode to process.

◆ Register()

void CShellObj::Register ( CShellCmd * cmd_)

Registers a new command with the shell.

Parameters
cmd_The command to register.

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