ifw-slm 0.1.2
 
Loading...
Searching...
No Matches
ifw::slm::Application Class Reference

#include <application.hpp>

Public Member Functions

 Application (const std::string &mod_name=CONFIG_DEFAULT_MODNAME, const std::string &config_filename=CONFIG_DEFAULT_FILENAME)
 
 ~Application ()
 
void RegisterLoopActionFactory (int loop_index, ActionMgr::LoopActionFactory factory)
 
void RegisterLoopSuspendedActionFactory (int loop_index, ActionMgr::LoopSuspendedActionFactory factory)
 
void RegisterLoopCloseActionFactory (int loop_index, ActionMgr::LoopCloseActionFactory factory)
 
void RegisterLoopExecuteActivityFactory (int loop_index, ActionMgr::LoopExecuteActivityFactory factory)
 
int Run (int argc, char *argv[])
 
 Application (const Application &)=delete
 
Applicationoperator= (const Application &)=delete
 

Detailed Description

Top-level application wrapper for the ifw-slm framework. Encapsulates all RAD initialization: logging, event handlers, CII services, OLDB lifecycle, and state machine startup.

Users only call RegisterLoopActionFactory() and Run().

Constructor & Destructor Documentation

◆ Application() [1/2]

ifw::slm::Application::Application ( const std::string & mod_name = CONFIG_DEFAULT_MODNAME,
const std::string & config_filename = CONFIG_DEFAULT_FILENAME )
explicit

◆ ~Application()

ifw::slm::Application::~Application ( )
default

◆ Application() [2/2]

ifw::slm::Application::Application ( const Application & )
delete

Member Function Documentation

◆ operator=()

Application & ifw::slm::Application::operator= ( const Application & )
delete

◆ RegisterLoopActionFactory()

void ifw::slm::Application::RegisterLoopActionFactory ( int loop_index,
ActionMgr::LoopActionFactory factory )

◆ RegisterLoopCloseActionFactory()

void ifw::slm::Application::RegisterLoopCloseActionFactory ( int loop_index,
ActionMgr::LoopCloseActionFactory factory )

◆ RegisterLoopExecuteActivityFactory()

void ifw::slm::Application::RegisterLoopExecuteActivityFactory ( int loop_index,
ActionMgr::LoopExecuteActivityFactory factory )

◆ RegisterLoopSuspendedActionFactory()

void ifw::slm::Application::RegisterLoopSuspendedActionFactory ( int loop_index,
ActionMgr::LoopSuspendedActionFactory factory )

◆ Run()

int ifw::slm::Application::Run ( int argc,
char * argv[] )

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