ATSC3  24.10.0
Public Member Functions | List of all members
CCoreConfig Class Reference

#include <atsc_core_config_api.h>

Public Member Functions

 CCoreConfig ()
 Constructor of CCoreConfig. More...
 
 ~CCoreConfig ()
 Destructor for CCoreConfig. More...
 
int32_t LoadAPPMode (sAppSettings_t *pEnv)
 load application mode More...
 
int32_t Save (sAppSettings_t sEnv)
 Application settings. More...
 
int32_t Load (sAppSettings_t *pSettings)
 To load application settings. More...
 
uint64_t ExternalStorageSpace (void)
 external storage location More...
 
uint64_t InternalStorageSpace (void)
 internal storage location More...
 
bool IsWriteSpace (uint32_t write_size)
 location to write space More...
 
std::string GetESGPath (void)
 read esg location More...
 
std::string GetFileStoragePath (void)
 read files location More...
 
uint64_t GetMountFsAvailableSize (char *szPath)
 read available mount space More...
 
int32_t SaveAPPMode (sAppSettings_t sEnv)
 To save Application mode. More...
 
int32_t EraseOldFiles (const char *pFolder, int32_t iOldSec)
 To save Application mode. More...
 

Detailed Description

CCoreConfig

Constructor & Destructor Documentation

◆ CCoreConfig()

CCoreConfig::CCoreConfig ( )

Constructor of CCoreConfig.

Parameters
N/A
Return values
N/A

◆ ~CCoreConfig()

CCoreConfig::~CCoreConfig ( )

Destructor for CCoreConfig.

Parameters
N/A
Return values
N/A

Member Function Documentation

◆ EraseOldFiles()

CCoreConfig::EraseOldFiles ( const char *  pFolder,
int32_t  iOldSec 
)

To save Application mode.

Parameters
constchar *pFolder, int32_t iOldSec
Return values
int32_t

◆ ExternalStorageSpace()

CCoreConfig::ExternalStorageSpace ( void  )

external storage location

Parameters
N/A
Return values
uint64_t

◆ GetESGPath()

CCoreConfig::GetESGPath ( void  )

read esg location

Parameters
N/A
Return values
std::string

◆ GetFileStoragePath()

CCoreConfig::GetFileStoragePath ( void  )

read files location

Parameters
N/A
Return values
std::string

◆ GetMountFsAvailableSize()

CCoreConfig::GetMountFsAvailableSize ( char *  szPath)

read available mount space

Parameters
charszPath
Return values
uint64_t

◆ InternalStorageSpace()

CCoreConfig::InternalStorageSpace ( void  )

internal storage location

Parameters
N/A
Return values
uint64_t

◆ IsWriteSpace()

CCoreConfig::IsWriteSpace ( uint32_t  write_size)

location to write space

Parameters
write_size
Return values
bool

◆ Load()

CCoreConfig::Load ( sAppSettings_t pSettings)

To load application settings.

Parameters
pSettings
Return values
int32_t

◆ LoadAPPMode()

CCoreConfig::LoadAPPMode ( sAppSettings_t pEnv)

load application mode

Parameters
pEnv
Return values
int32_t

◆ Save()

CCoreConfig::Save ( sAppSettings_t  sEnv)

Application settings.

Parameters
sEnv
Return values
int32_t

◆ SaveAPPMode()

CCoreConfig::SaveAPPMode ( sAppSettings_t  sEnv)

To save Application mode.

Parameters
sAppSettings_tsEnv
Return values
uint32_t

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