|
| AZ_RTTI (Console, "{CF6DCDE7-1A66-442C-BA87-01A432C13E7D}", IConsole) |
|
| AZ_CLASS_ALLOCATOR (Console, AZ::OSAllocator) |
|
| Console (AZ::SettingsRegistryInterface &settingsRegistry) |
|
|
PerformCommandResult | PerformCommand (const char *command, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly) override |
|
PerformCommandResult | PerformCommand (const ConsoleCommandContainer &commandAndArgs, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly) override |
|
PerformCommandResult | PerformCommand (AZStd::string_view command, const ConsoleCommandContainer &commandArgs, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly) override |
|
void | ExecuteConfigFile (AZStd::string_view configFileName) override |
|
void | ExecuteCommandLine (const AZ::CommandLine &commandLine) override |
|
bool | ExecuteDeferredConsoleCommands () override |
|
void | ClearDeferredConsoleCommands () override |
| Clear out any deferred console commands queue.
|
|
bool | HasCommand (AZStd::string_view command, ConsoleFunctorFlags ignoreAnyFlags=ConsoleFunctorFlags::IsInvisible) override |
|
ConsoleFunctorBase * | FindCommand (AZStd::string_view command, ConsoleFunctorFlags ignoreAnyFlags=ConsoleFunctorFlags::IsInvisible) override |
|
AZStd::string | AutoCompleteCommand (AZStd::string_view command, AZStd::vector< AZStd::string > *matches=nullptr) override |
|
void | VisitRegisteredFunctors (const FunctorVisitor &visitor) override |
|
void | RegisterFunctor (ConsoleFunctorBase *functor) override |
|
void | UnregisterFunctor (ConsoleFunctorBase *functor) override |
|
void | LinkDeferredFunctors (ConsoleFunctorBase *&deferredHead) override |
|
void | RegisterCommandInvokerWithSettingsRegistry (AZ::SettingsRegistryInterface &settingsRegistry) override |
|
| AZ_RTTI (IConsole, "{20001930-119D-4A80-BD67-825B7E4AEB3D}") |
|
virtual PerformCommandResult | PerformCommand (const char *command, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly)=0 |
|
virtual PerformCommandResult | PerformCommand (const ConsoleCommandContainer &commandAndArgs, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly)=0 |
|
virtual PerformCommandResult | PerformCommand (AZStd::string_view command, const ConsoleCommandContainer &commandArgs, ConsoleSilentMode silentMode=ConsoleSilentMode::NotSilent, ConsoleInvokedFrom invokedFrom=ConsoleInvokedFrom::AzConsole, ConsoleFunctorFlags requiredSet=ConsoleFunctorFlags::Null, ConsoleFunctorFlags requiredClear=ConsoleFunctorFlags::ReadOnly)=0 |
|
virtual void | ExecuteConfigFile (AZStd::string_view configFileName)=0 |
|
virtual void | ExecuteCommandLine (const AZ::CommandLine &commandLine)=0 |
|
virtual bool | ExecuteDeferredConsoleCommands ()=0 |
|
virtual void | ClearDeferredConsoleCommands ()=0 |
| Clear out any deferred console commands queue.
|
|
virtual bool | HasCommand (AZStd::string_view command, ConsoleFunctorFlags ignoreAnyFlags=ConsoleFunctorFlags::IsInvisible)=0 |
|
virtual ConsoleFunctorBase * | FindCommand (AZStd::string_view command, ConsoleFunctorFlags ignoreAnyFlags=ConsoleFunctorFlags::IsInvisible)=0 |
|
virtual AZStd::string | AutoCompleteCommand (AZStd::string_view command, AZStd::vector< AZStd::string > *matches=nullptr)=0 |
|
template<typename RETURN_TYPE > |
GetValueResult | GetCvarValue (AZStd::string_view command, RETURN_TYPE &outValue) |
|
virtual void | VisitRegisteredFunctors (const FunctorVisitor &visitor)=0 |
|
virtual void | RegisterFunctor (ConsoleFunctorBase *functor)=0 |
|
virtual void | UnregisterFunctor (ConsoleFunctorBase *functor)=0 |
|
virtual void | LinkDeferredFunctors (ConsoleFunctorBase *&deferredHead)=0 |
|
ConsoleCommandRegisteredEvent & | GetConsoleCommandRegisteredEvent () |
|
ConsoleCommandInvokedEvent & | GetConsoleCommandInvokedEvent () |
| Returns the AZ::Event<> invoked whenever a console command is executed.
|
|
DispatchCommandNotFoundEvent & | GetDispatchCommandNotFoundEvent () |
| Returns the AZ::Event<> invoked whenever a console command could not be found.
|
|
virtual void | RegisterCommandInvokerWithSettingsRegistry (AZ::SettingsRegistryInterface &settingsRegistry)=0 |
|
| AZ_DISABLE_COPY_MOVE (IConsole) |
|
A simple console class for providing text based variable and process interaction.