Versions Compared

Key

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

class Enlighten::SystemGrouping

    └>Geo::IGeoReleasable

A groupings of instances into systems.

Functions

NameDescription
AddInstance(Geo::s32, Geo::s32)

Adds an instance with a given ID to a system.

AddSystem(Geo::s32)

Adds a system to the grouping with a maximum instance capacity.

Create(Geo::s32)

Creates a system grouping for a given number of systems.

GetInstance(Geo::s32, Geo::s32)

Returns the global ID for an instance in a system.

GetNumInstances()

Returns the total number of instances in the grouping.

GetNumInstances(Geo::s32)

Returns the number of instances in a system.

GetNumSystems()

Returns the number of systems in the grouping.

NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

Release()

Deletes the system grouping.

Release()

Free this object that was created within the Enlighten libraries.


Anchor
a4f84032c900e3f9287ca4a048606bd77
a4f84032c900e3f9287ca4a048606bd77

bool Enlighten::SystemGrouping::AddInstance

...

public: bool AddInstance
(
    Geo::s32 sysIdx,
    Geo::s32 gId
)

...

Adds an instance with a given ID to a system.

Parameters
[in]sysIdx

The system the instance gets added to.

[in]gId

The global ID of the instance.

Returns

true if the instance is successfully added.


Anchor
a67625352f40a1f4cf774c0c86fe516ed
a67625352f40a1f4cf774c0c86fe516ed

bool Enlighten::SystemGrouping::AddSystem

...

public: bool AddSystem
(
    Geo::s32 capacity
)

...

Adds a system to the grouping with a maximum instance capacity.

Parameters
[in]capacity

Maximum number of instances the added system can contain.

Returns

true if the system is successfully added.


Anchor
ae93f5f36e6727d3cb7871a8cf33b0151
ae93f5f36e6727d3cb7871a8cf33b0151

static SystemGrouping* Enlighten::SystemGrouping::Create

...

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

...

Creates a system grouping for a given number of systems.

Parameters
[in]numSystems

Number of systems in the grouping.


Anchor
aee1fed782bda60b5f3c369da97b55bad
aee1fed782bda60b5f3c369da97b55bad

Geo::s32 Enlighten::SystemGrouping::GetInstance

...

public: Geo::s32 GetInstance
(
    Geo::s32 sysIdx,
    Geo::s32 instIdx
) const

...

Returns the global ID for an instance in a system.

Parameters
[in]sysIdx

The considered system.

[in]instIdx

The instance index within the system.


Anchor
a32a7003f1c7b4e93a8015e58b6588cb4
a32a7003f1c7b4e93a8015e58b6588cb4

Geo::s32 Enlighten::SystemGrouping::GetNumInstances

...

public: Geo::s32 GetNumInstances() const

...

Returns the total number of instances in the grouping.


Anchor
a0008952e606f1ed179d686e05039055b
a0008952e606f1ed179d686e05039055b

Geo::s32 Enlighten::SystemGrouping::GetNumInstances

...

public: Geo::s32 GetNumInstances
(
    Geo::s32 sysIdx
) const

...

Returns the number of instances in a system.

Parameters
[in]sysIdx

The considered system.


Anchor
a53c3533381edd6feaf40d557243dc606
a53c3533381edd6feaf40d557243dc606

Geo::s32 Enlighten::SystemGrouping::GetNumSystems

...

public: Geo::s32 GetNumSystems() const

...

Returns the number of systems in the grouping.


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
a378109e5c0be1df513a0d84f315859e4
a378109e5c0be1df513a0d84f315859e4

void Enlighten::SystemGrouping::Release

...

public: virtual void Release()

...

Deletes the system grouping.


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)'