MachineIntelligenceCore:Toolchain
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mic::application Namespace Reference

Contains base application-related classes, types and types. More...

Classes

class  Application
 Base class for all applications. More...
 
class  FactoryInterface
 Abstract class constituting interface for application factories. More...
 
class  TemplateFactory
 Template class used for generation of concrete object factories. This enables that each application has an equivalent factory class that provides a Create virtual -. More...
 
class  ApplicationFactory
 Application factory, class responsible for generation of an application object. Defined in the form of a singleton, with double-checked locking pattern (DCLP) based access to instance. More...
 
class  ApplicationState
 Class storing the state of the application (modes, sleep interval etc.). Defined in the form of a singleton, with double-checked locking pattern (DCLP) based access to instance. More...
 
class  ContinuousLearningApplication
 Parent class for all applications basing on continuous learning. By default all computations are made within a single thread. More...
 
class  EpisodicTrainAndTestApplication
 Parent class for all applications basing on episodes. Each episode consists of two phases: a training phase (first), and testing phase (second). Each phase will end when then an adequate method (performLearning/TrainingStep) will return false. By default all computations are made within a single thread. More...
 
class  KeyHandlerRegistry
 Abstract class responsible for handling the keypressed callbacks. Implements several basic callbacks and offers several mechnisms for callback management. More...
 
class  TrainThenTestApplication
 Parent class for all applications consisting of two phases: a training phase (first), and testing phase (second). Each phase will end when then an adequate method (performLearning/TrainingStep) will return false. By default all computations are made within a single thread. More...
 

Typedefs

typedef std::pair< std::string,
boost::function< void()> > 
Handler
 Basic handler type representing <description, handler function> pair. More...
 
typedef std::pair< char, HandlerKeyHandler
 Basic handler type representing <key, description, handler function> triplet. More...
 
typedef std::map< char, HandlerKeyHandlerMap
 Basic type storing <key, description, handler function> triplets. More...
 

Functions

void RegisterApplication (void)
 Declaration of a function that must be defined in each application-derived class separately. More...
 
void keyhandlerDisplayAppState (void)
 

Detailed Description

Contains base application-related classes, types and types.

Author
tkornuta

Typedef Documentation

typedef std::pair<std::string, boost::function<void ()> > mic::application::Handler

Basic handler type representing <description, handler function> pair.

Author
tkornuta

Definition at line 51 of file KeyHandlerRegistry.hpp.

typedef std::pair<char, Handler > mic::application::KeyHandler

Basic handler type representing <key, description, handler function> triplet.

Author
tkornuta

Definition at line 57 of file KeyHandlerRegistry.hpp.

typedef std::map<char, Handler > mic::application::KeyHandlerMap

Basic type storing <key, description, handler function> triplets.

Author
tkornuta

Definition at line 70 of file KeyHandlerRegistry.hpp.

Function Documentation

void mic::application::keyhandlerDisplayAppState ( void  )
void mic::application::RegisterApplication ( void  )

Declaration of a function that must be defined in each application-derived class separately.

Author
tkornuta