KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
KviKvsKernel Class Reference

#include <KviKvsKernel.h>

Public Member Functions

KviKvsAsyncOperationManagerasyncOperationManager ()
 
void completeCommand (const QString &szCommandBegin, KviPointerList< QString > *pMatches)
 
KviPointerList< QString > * completeCommandAllocateResult (const QString &szCommandBegin)
 
void completeFunction (const QString &szFunctionBegin, KviPointerList< QString > *pMatches)
 
KviPointerList< QString > * completeFunctionAllocateResult (const QString &szFunctionBegin)
 
void completeModuleCommand (const QString &szModuleName, const QString &szCommandBegin, KviPointerList< QString > *matches)
 
void completeModuleFunction (const QString &szModuleName, const QString &szFunctionBegin, KviPointerList< QString > *matches)
 
KviKvsVariantListemptyParameterList ()
 
KviKvsCoreCallbackCommandExecRoutinefindCoreCallbackCommandExecRoutine (const QString &szCmdName)
 
KviKvsCoreFunctionExecRoutinefindCoreFunctionExecRoutine (const QString &szFncName)
 
KviKvsCoreSimpleCommandExecRoutinefindCoreSimpleCommandExecRoutine (const QString &szCmdName)
 
KviKvsSpecialCommandParsingRoutinefindSpecialCommandParsingRoutine (const QString &szCmdName)
 
void freeCompletionResult (KviPointerList< QString > *l)
 
void getAllFunctionsCommandsCore (QStringList *list)
 
KviKvsHashglobalVariables ()
 
 KviKvsKernel ()
 
KviKvsObjectControllerobjectController ()
 
void registerCoreCallbackCommandExecRoutine (const QString &szCmdName, KviKvsCoreCallbackCommandExecRoutine *r)
 
void registerCoreFunctionExecRoutine (const QString &szFncName, KviKvsCoreFunctionExecRoutine *r)
 
void registerCoreSimpleCommandExecRoutine (const QString &szCmdName, KviKvsCoreSimpleCommandExecRoutine *r)
 
void registerSpecialCommandParsingRoutine (const QString &szCmdName, KviKvsSpecialCommandParsingRoutine *r)
 
 ~KviKvsKernel ()
 

Static Public Member Functions

static void done ()
 
static void init ()
 
static KviKvsKernelinstance ()
 

Private Attributes

KviKvsAsyncOperationManagerm_pAsyncOperationManager
 
KviPointerHashTable< QString,
KviKvsCoreCallbackCommandExecRoutine > * 
m_pCoreCallbackCommandExecRoutineDict
 
KviPointerHashTable< QString,
KviKvsCoreFunctionExecRoutine > * 
m_pCoreFunctionExecRoutineDict
 
KviPointerHashTable< QString,
KviKvsCoreSimpleCommandExecRoutine > * 
m_pCoreSimpleCommandExecRoutineDict
 
KviKvsVariantListm_pEmptyParameterList
 
KviKvsHashm_pGlobalVariables
 
KviKvsObjectControllerm_pObjectController
 
KviPointerHashTable< QString,
KviKvsSpecialCommandParsingRoutine > * 
m_pSpecialCommandParsingRoutineDict
 

Static Private Attributes

static KviKvsKernelm_pKvsKernel = nullptr
 

Constructor & Destructor Documentation

KviKvsKernel::KviKvsKernel ( )
KviKvsKernel::~KviKvsKernel ( )

Member Function Documentation

KviKvsAsyncOperationManager* KviKvsKernel::asyncOperationManager ( )
inline
void KviKvsKernel::completeCommand ( const QString &  szCommandBegin,
KviPointerList< QString > *  pMatches 
)
KviPointerList<QString>* KviKvsKernel::completeCommandAllocateResult ( const QString &  szCommandBegin)
inline
void KviKvsKernel::completeFunction ( const QString &  szFunctionBegin,
KviPointerList< QString > *  pMatches 
)
KviPointerList<QString>* KviKvsKernel::completeFunctionAllocateResult ( const QString &  szFunctionBegin)
inline
void KviKvsKernel::completeModuleCommand ( const QString &  szModuleName,
const QString &  szCommandBegin,
KviPointerList< QString > *  matches 
)
void KviKvsKernel::completeModuleFunction ( const QString &  szModuleName,
const QString &  szFunctionBegin,
KviPointerList< QString > *  matches 
)
void KviKvsKernel::done ( )
static

References m_pKvsKernel.

Referenced by KviKvs::done().

KviKvsVariantList* KviKvsKernel::emptyParameterList ( )
inline
KviKvsCoreCallbackCommandExecRoutine* KviKvsKernel::findCoreCallbackCommandExecRoutine ( const QString &  szCmdName)
inline
KviKvsCoreFunctionExecRoutine* KviKvsKernel::findCoreFunctionExecRoutine ( const QString &  szFncName)
inline
KviKvsCoreSimpleCommandExecRoutine* KviKvsKernel::findCoreSimpleCommandExecRoutine ( const QString &  szCmdName)
inline
KviKvsSpecialCommandParsingRoutine* KviKvsKernel::findSpecialCommandParsingRoutine ( const QString &  szCmdName)
inline
void KviKvsKernel::freeCompletionResult ( KviPointerList< QString > *  l)
inline

References l.

void KviKvsKernel::getAllFunctionsCommandsCore ( QStringList *  list)
KviKvsHash* KviKvsKernel::globalVariables ( )
inline
void KviKvsKernel::init ( )
static

References KviKvsKernel(), and m_pKvsKernel.

Referenced by KviKvs::init().

static KviKvsKernel* KviKvsKernel::instance ( )
inlinestatic

Referenced by ScriptEditorWidget::asyncCompleterCreation(), ClassEditorWidget::build(), KviKvsObject::callFunction(), KviInputEditor::completion(), KviKvsObject::emitSignal(), KvsObject_widget::eventFilter(), KviKvsTreeNodeSpecialCommandClass::execute(), KviKvsScript::execute(), KviKvs::flushUserClasses(), KviApplication::frameDestructorCallback(), KviKvsObject::function_setProperty(), KviKvsRunTimeContext::globalVariables(), KviKvsObject::inheritsClass(), KviKvsCoreFunctions::init(), KviKvsCoreSimpleCommands::init(), KviKvsParser::init(), KviKvsCoreCallbackCommands::init(), KviClassEditorDialog::KviClassEditorDialog(), KviKvsAsyncOperation::KviKvsAsyncOperation(), KviKvsObject::KviKvsObject(), KviKvsObjectClass::KviKvsObjectClass(), KviKvsCoreCallbackCommands::KVSCCC(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreSimpleCommands::KVSCSC(), KVSO_CLASS_FUNCTION(), KviKvsTreeNodeScopeOperator::objectFromVariant(), objects_kvs_cmd_clearObjects(), objects_kvs_cmd_connect(), objects_kvs_cmd_disconnect(), objects_kvs_cmd_killClass(), objects_kvs_fnc_classAllHandlers(), objects_kvs_fnc_classes(), objects_kvs_fnc_exists(), objects_kvs_fnc_instances(), objects_kvs_fnc_name(), objects_kvs_fnc_variables(), ClassEditorWidget::oneTimeSetup(), KvsObject_tableWidget::paint(), KviKvsParser::parseCommand(), KviKvsParser::parseDollar(), KviKvsParser::parsePercentOrDollar(), KviKvsParser::parseSpecialCommandHelp(), ClassEditorWidget::removeItem(), ClassEditorWidget::removeItemChildren(), ClassEditorWidget::renameClass(), ClassEditorWidget::renameFunction(), ClassEditorWidget::renameNamespace(), ClassEditorWidget::saveNotBuiltClasses(), KvsObject_socket::slotNewConnection(), KviKvsAsyncOperation::~KviKvsAsyncOperation(), KviKvsObject::~KviKvsObject(), and KviKvsObjectClass::~KviKvsObjectClass().

KviKvsObjectController* KviKvsKernel::objectController ( )
inline
void KviKvsKernel::registerCoreCallbackCommandExecRoutine ( const QString &  szCmdName,
KviKvsCoreCallbackCommandExecRoutine r 
)
inline
void KviKvsKernel::registerCoreFunctionExecRoutine ( const QString &  szFncName,
KviKvsCoreFunctionExecRoutine r 
)
inline
void KviKvsKernel::registerCoreSimpleCommandExecRoutine ( const QString &  szCmdName,
KviKvsCoreSimpleCommandExecRoutine r 
)
inline
void KviKvsKernel::registerSpecialCommandParsingRoutine ( const QString &  szCmdName,
KviKvsSpecialCommandParsingRoutine r 
)
inline

Member Data Documentation

KviKvsAsyncOperationManager* KviKvsKernel::m_pAsyncOperationManager
private

Referenced by KviKvsKernel(), and ~KviKvsKernel().

KviPointerHashTable<QString, KviKvsCoreCallbackCommandExecRoutine>* KviKvsKernel::m_pCoreCallbackCommandExecRoutineDict
private
KviPointerHashTable<QString, KviKvsCoreFunctionExecRoutine>* KviKvsKernel::m_pCoreFunctionExecRoutineDict
private
KviPointerHashTable<QString, KviKvsCoreSimpleCommandExecRoutine>* KviKvsKernel::m_pCoreSimpleCommandExecRoutineDict
private
KviKvsVariantList* KviKvsKernel::m_pEmptyParameterList
private

Referenced by KviKvsKernel(), and ~KviKvsKernel().

KviKvsHash* KviKvsKernel::m_pGlobalVariables
private

Referenced by KviKvsKernel(), and ~KviKvsKernel().

KviKvsKernel * KviKvsKernel::m_pKvsKernel = nullptr
staticprivate

Referenced by done(), init(), and KviKvsKernel().

KviKvsObjectController* KviKvsKernel::m_pObjectController
private

Referenced by KviKvsKernel(), and ~KviKvsKernel().

KviPointerHashTable<QString, KviKvsSpecialCommandParsingRoutine>* KviKvsKernel::m_pSpecialCommandParsingRoutineDict
private

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