class::sys::AppfsInfo

class sys::AppfsInfo
  : public api::InfoObject

The AppfsInfo class is for getting information associated with executable files that are either installed in or built for the application filesystem.

Summary

[AppfsInfo](#classsys_1_1_appfs_info_1a50f0d3b5b6a6a4e964558f4325f52e47)()

[AppfsInfo](#classsys_1_1_appfs_info_1a936fc875490555d00581cf2e861c07b6)(  

const appfs_info_t & info
)

const var::ConstString id() const

const appfs_info_t & info() const

appfs_info_t & info()

bool is_code_external() const

bool is_code_tightly_coupled() const

bool is_data_external() const

bool is_data_tightly_coupled() const

bool is_executable() const

bool is_flash() const

bool is_orphan() const

bool is_root() const

bool is_startup() const

bool is_unique() const

bool is_valid() const

u16 mode() const

const var::ConstString name() const

u32 o_flags() const

u32 ram_size() const

u32 signature() const

u16 version() const

Members

AppfsInfo()

Constructs an empty object.


AppfsInfo(

const appfs_info_t & info
)

Constructs an object from a appfs_info_t object.


const var::ConstString id() const

Returns the application ID (cloud id).


const appfs_info_t & info() const

appfs_info_t & info()

bool is_code_external() const

Returns true if the application code is to be installed in external memory.


bool is_code_tightly_coupled() const

Returns true if the application code is to be installed in tightly coupled memory.


bool is_data_external() const

Returns true if the application data is to be installed in external memory.


bool is_data_tightly_coupled() const

Returns true if the application data is to be installed in tightly coupled memory.


bool is_executable() const

Returns true if the application is executable.


bool is_flash() const

Returns true if the application is to be installed in flash.


bool is_orphan() const

Returns true if the application should run as an orphan.


bool is_root() const

Returns true if the application should run as root.


bool is_startup() const

Returns true if the application runs at startup.


bool is_unique() const

Returns true if the application should create a unique instance.

If unique is false, the system will not allow a second copy of the application to be installed on the system.

If unique is true, the application will be assigned a unique name when it is installed in RAM or flash.


bool is_valid() const

Returns true if the object is valid.


u16 mode() const

Returns the file mode.


const var::ConstString name() const

Returns the name of the application.


u32 o_flags() const

Returns the flags.

See also: is_executable(), is_startup(), is_flash(), is_orphan(), is_root(), is_unique().


u32 ram_size() const

Returns the data RAM size used by the application.


u32 signature() const

Returns the application signature.

This value specifies the version of the table that connects the application to the operating system. Every OS package has a signature that is associated with the calls (such as printf(), pthread_create()) that are available to application installed on the system.


u16 version() const

Returns the version.


X

Thanks for Coming!

Subscribe to news and updates