HLCC Documentation 2.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
hlcc::lsvsim::DataContext Class Reference

#include <dataContext.hpp>

Inheritance diagram for hlcc::lsvsim::DataContext:

Public Member Functions

 DataContext ()
 
virtual ~DataContext ()
 
ConfigGetConfig ()
 
void ReloadConfig ()
 
OldbInterfaceGetOldbInterface ()
 
void UpdateDb ()
 
 DataContext (const DataContext &)=delete
 
DataContextoperator= (const DataContext &)=delete
 Disable copy constructor.
 

Detailed Description

This class provide access to the application run-time data including the in-memory DB.

Constructor & Destructor Documentation

◆ DataContext() [1/2]

hlcc::lsvsim::DataContext::DataContext ( )

Default constructor.

◆ ~DataContext()

hlcc::lsvsim::DataContext::~DataContext ( )
virtual

Destructor

◆ DataContext() [2/2]

hlcc::lsvsim::DataContext::DataContext ( const DataContext & )
delete

Member Function Documentation

◆ GetConfig()

Config & hlcc::lsvsim::DataContext::GetConfig ( )
Returns
reference to the config object.

◆ GetOldbInterface()

OldbInterface & hlcc::lsvsim::DataContext::GetOldbInterface ( )
Returns
A reference to the OLDB interface object.

◆ operator=()

DataContext & hlcc::lsvsim::DataContext::operator= ( const DataContext & )
delete

Disable copy constructor.

◆ ReloadConfig()

void hlcc::lsvsim::DataContext::ReloadConfig ( )

Reload the configuration from file and reconnect to the in-memory DB.

◆ UpdateDb()

void hlcc::lsvsim::DataContext::UpdateDb ( )

Try to connect to the DB and update the application configuration.


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