Etermal
Embeddable Terminal and shell for OpenGL
Public Member Functions | Public Attributes | List of all members
etm::Shell::Command Struct Reference

Container for a command callback and its argument processor. More...

#include <Shell.h>

Public Member Functions

 Command ()
 Construct a default-initialized command.
 
 Command (const ArgFilter &filter, const callback_t &callback)
 Construct command with args. More...
 

Public Attributes

ArgFilter filter
 The argument processor.
 
callback_t callback
 The command callback.
 

Detailed Description

Container for a command callback and its argument processor.

Constructor & Destructor Documentation

◆ Command()

etm::Shell::Command::Command ( const ArgFilter filter,
const callback_t callback 
)

Construct command with args.

Parameters
[in]filterThe argument processor
[in]callbackThe command callback

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