class Enlighten SystemDependencies

This is the documentation for Enlighten.

class Enlighten SystemDependencies

class Enlighten::SystemDependencies

    └>Geo::IGeoReleasable

A list of system dependencies.

Functions

Name

Description

Name

Description

Create(Geo::s32)

Creates system dependencies for a given number of systems.

GetDependency(const Geo::s32 &, const Geo::s32 &)

Returns if this system depends on the other system.

GetNumDependencies(const Geo::s32 &)

Returns the number of systems this system depends on.

GetNumSystems()

Returns the number of systems in the dependency matrix.

NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

Release()

Deletes the system dependencies.

Release()

Free this object that was created within the Enlighten libraries.

SetDependency(const Geo::s32 &, const Geo::s32 &, bool)

Defines if this system depends on the other system.



static SystemDependencies* Enlighten::SystemDependencies::Create


public: SystemDependencies * Create
(
    Geo::s32 numSystems
)


Creates system dependencies for a given number of systems.

Per default, there exist no dependencies which means that all entries in the dependency matrix are set to false.

Parameters

[in]

numSystems

Number of systems in the dependency matrix.

 



bool Enlighten::SystemDependencies::GetDependency


public: bool GetDependency
(
    const Geo::s32 & thisSystem,
    const Geo::s32 & otherSystem
) const


Returns if this system depends on the other system.

 

Parameters

[in]

thisSystem

The system for which the dependency is defined.

[in]

otherSystem

The system on which the dependency exists or not exists.

 



Geo::s32 Enlighten::SystemDependencies::GetNumDependencies