CLI  2.9
exec_context.h File Reference

Execution context class definition. More...

#include "cli/namespace.h"
#include "cli/io_device.h"
#include "cli/tk.h"

Go to the source code of this file.

Classes

class  ExecutionContext
 Execution context. More...
 
class  ExecutionResult
 Result interface for execution contexts. More...
 

Typedefs

typedef enum _STREAM_TYPE STREAM_TYPE
 Output stream enumeration. More...
 

Enumerations

enum  _STREAM_TYPE {
  ALL_STREAMS = -1, WELCOME_STREAM = 0, PROMPT_STREAM, ECHO_STREAM,
  OUTPUT_STREAM, ERROR_STREAM, STREAM_TYPES_COUNT
}
 Output stream enumeration. More...
 

Detailed Description

Execution context class definition.

Author
Alexis Royer

Definition in file exec_context.h.

Typedef Documentation

◆ STREAM_TYPE

typedef enum _STREAM_TYPE STREAM_TYPE

Output stream enumeration.

Returns
N/A (doxygen warning)

Enumeration Type Documentation

◆ _STREAM_TYPE

Output stream enumeration.

Returns
N/A (doxygen warning)
Enumerator
ALL_STREAMS 

All streams.

WELCOME_STREAM 

Welcome stream. Useful for bye too.

PROMPT_STREAM 

Prompt stream.

ECHO_STREAM 

Echo stream.

OUTPUT_STREAM 

Output stream.

ERROR_STREAM 

Error stream.

STREAM_TYPES_COUNT 

Number of streams.

Definition at line 49 of file exec_context.h.