Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes
Core::EnvisionApplication Class Reference
Inheritance diagram for Core::EnvisionApplication:

Public Types

using IdleFunction = std::function< void()>
 

Public Member Functions

 EnvisionApplication (int &argc, char **argv)
 
virtual bool notify (QObject *receiver, QEvent *event) override
 
void userInputIdle ()
 

Static Public Member Functions

static void addOnUserInputIdleAction (void *actionId, IdleFunction action)
 
static void removeOnUserInputIdleAction (void *actionId)
 

Static Private Member Functions

static QMap< void *, IdleFunction > & idleActions ()
 

Private Attributes

QTimer idleInputTimer_
 

Member Typedef Documentation

◆ IdleFunction

using Core::EnvisionApplication::IdleFunction = std::function<void ()>

Constructor & Destructor Documentation

◆ EnvisionApplication()

Core::EnvisionApplication::EnvisionApplication ( int &  argc,
char **  argv 
)

Member Function Documentation

◆ addOnUserInputIdleAction()

void Core::EnvisionApplication::addOnUserInputIdleAction ( void *  actionId,
IdleFunction  action 
)
static

◆ idleActions()

QMap< void *, EnvisionApplication::IdleFunction > & Core::EnvisionApplication::idleActions ( )
staticprivate

◆ notify()

bool Core::EnvisionApplication::notify ( QObject *  receiver,
QEvent *  event 
)
overridevirtual

◆ removeOnUserInputIdleAction()

void Core::EnvisionApplication::removeOnUserInputIdleAction ( void *  actionId)
static

◆ userInputIdle()

void Core::EnvisionApplication::userInputIdle ( )

Member Data Documentation

◆ idleInputTimer_

QTimer Core::EnvisionApplication::idleInputTimer_
private