Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::SystemDependencies

    └>Geo::IGeoReleasable

A list of system dependencies.

Functions

NameDescription
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.


Anchor
a1bc0fa581d5aea33c66a8ce7638cb8d4
a1bc0fa581d5aea33c66a8ce7638cb8d4

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.


Anchor
a7caeaa0626064a0fd79e5a36c0dbd745
a7caeaa0626064a0fd79e5a36c0dbd745

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.


Anchor
a2721f12ea28b4146f9a2a24a3aecf0d1
a2721f12ea28b4146f9a2a24a3aecf0d1

Geo::s32 Enlighten::SystemDependencies::GetNumDependencies

...

public: Geo::s32 GetNumDependencies
(
    const Geo::s32 & thisSystem
) const

...

Returns the number of systems this system depends on.

Parameters
[in]thisSystem

The considered system.


Anchor
aec6ffaa6e162927caa658220aee0c810
aec6ffaa6e162927caa658220aee0c810

Geo::s32 Enlighten::SystemDependencies::GetNumSystems

...

public: Geo::s32 GetNumSystems() const

...

Returns the number of systems in the dependency matrix.


Anchor
adaed81b4c59f263dcb4e78c4126f4683
adaed81b4c59f263dcb4e78c4126f4683

Geo::NonCopyable::NonCopyable

...

public: NonCopyable
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a6abc781e23b8f4864e0b868806e0acbf
a6abc781e23b8f4864e0b868806e0acbf

NonCopyable& Geo::NonCopyable::operator=

...

public: NonCopyable & operator=
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a736038654d671a690790d985577a6141
a736038654d671a690790d985577a6141

void Enlighten::SystemDependencies::Release

...

public: virtual void Release()

...

Deletes the system dependencies.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

virtual void Geo::IGeoReleasable::Release

...

public: void Release()

...

Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


Anchor
a62a2aa7eb2e22c65691c636d5239400b
a62a2aa7eb2e22c65691c636d5239400b

bool Enlighten::SystemDependencies::SetDependency

...

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

...

Defines 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.

[in]isDependent

If this system depends on the other system. Defaults to true.

Returns

true if the dependency is successfully set, and false if the system indices are outside the range of [0..GetNumSystems()].