Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL
Inheritance Hierarchy
- IConsoleManager
- FConsoleManager
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/ConsoleManager.h |
| Include | #include "HAL/ConsoleManager.h" |
Syntax
class FConsoleManager : public IConsoleManager
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| IConsoleThreadPropagation * | Internally needed or ECVF_RenderThreadSafe | ||
| bool | Internally needed or ECVF_RenderThreadSafe | ||
| void | |||
| void | Test () |
Can be moved out into some automated testing system |
Overridden from IConsoleManager
| Type | Name | Description | |
|---|---|---|---|
| void | AddConsoleHistoryEntry
(
const TCHAR* Key, |
||
| void | The sinks are only called if a change has been done since the last time Should be called in very few points: | ||
| IConsoleObject * | FindConsoleObject
(
const TCHAR* Name, |
Find a console variable or command | |
| FString | FindConsoleObjectName
(
const IConsoleObject* Obj |
Lookup the name of a console object by its pointer | |
| IConsoleVariable * | FindConsoleVariable
(
const TCHAR* Name, |
Find a console variable | |
| void | ForEachConsoleObjectThatContains
(
const FConsoleObjectVisitor& Visitor, |
Not case sensitive, does not guarantee that UnregisterConsoleObject() will work in the loop | |
| void | ForEachConsoleObjectThatStartsWith
(
const FConsoleObjectVisitor& Visitor, |
Iterate in O(n), not case sensitive, does not guarantee that UnregisterConsoleObject() will work in the loop | |
| void | GetConsoleHistory
(
const TCHAR* Key, |
||
| bool | IsNameRegistered
(
const TCHAR* Name |
Check if a name (command or variable) has been registered with the console manager | |
| FConsoleVariableMulticastDelegate & | |||
| bool | ProcessUserConsoleInput
(
const TCHAR* Input, |
Process user input e.g. "MyCVar" to get the current value of the console variable "MyCVar -5.2" to set the value to -5.2 "MyCVar ?" to get the help text | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that is handles by an Exec functions (for auto completion) | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes no arguments | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
| IConsoleCommand * | RegisterConsoleCommand
(
const TCHAR* Name, |
Register a console command that takes arguments | |
| IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a string console variable | |
| IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a string console variable | |
| IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a float console variable | |
| IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a int console variable | |
| IConsoleVariable * | RegisterConsoleVariable
(
const TCHAR* Name, |
Create a bool console variable | |
| IConsoleVariable * | RegisterConsoleVariableBitRef
(
const TCHAR* CVarName, |
Create a reference to a show flag variable | |
| IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a int console variable | |
| IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a string console variable | |
| IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a bool console variable | |
| IConsoleVariable * | RegisterConsoleVariableRef
(
const TCHAR* Name, |
Create a reference to a float console variable | |
| FConsoleVariableSinkHandle | RegisterConsoleVariableSink_Handle
(
const FConsoleCommandDelegate& Command |
The registered command is executed at few defined points (see CallAllConsoleVariableSinks) | |
| void | RegisterThreadPropagation
(
uint32 ThreadId, |
Currently only for render thread | |
| void | UnregisterConsoleObject
(
IConsoleObject* ConsoleObject, |
Unregisters a console object, if that object was registered. O(n), n is the console object count | |
| void | The registered command is executed at few defined points (see CallAllConsoleVariableSinks) |