Versions Compared

Key

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

class Enlighten::FixedTimeLimiter

    └>Enlighten::ILimiter
        └>Geo::IGeoReleasable

Simple implementation of ILimiter which prevents new tasks from starting after a fixed time has elapsed from the start of UpdateRadiosity().

Functions

NameDescription
FixedTimeLimiter(double)

Constructor.

NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

Release()

This function will be called when MultithreadCpuWorker is destroyed.

Release()

This function will be called when MultithreadCpuWorker is destroyed.

Release()

Free this object that was created within the Enlighten libraries.

Reset()

Reset will be called before Enlighten processing begins.

Reset()

Reset will be called before Enlighten processing begins.

Timeout()

Timeout should return FALSE if processing should continue and TRUE if processing should stop.

Timeout()

Timeout should return FALSE if processing should continue and TRUE if processing should stop.


Anchor
ada3c4f6c8eaeb4bf534a5a287ca7bf3e
ada3c4f6c8eaeb4bf534a5a287ca7bf3e

Enlighten::FixedTimeLimiter::FixedTimeLimiter

...

public: FixedTimeLimiter
(
    double timeLimitInSeconds
)

...

Constructor.


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

virtual void Enlighten::FixedTimeLimiter::Release

...

public: virtual void Release()

...

This function will be called when MultithreadCpuWorker is destroyed.


Anchor
aec6992c25cbcb57adfa3575fcb066e12
aec6992c25cbcb57adfa3575fcb066e12

virtual void Enlighten::ILimiter::Release

...

public: void Release()

...

This function will be called when MultithreadCpuWorker is destroyed.


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

virtual void Enlighten::FixedTimeLimiter::Reset

...

public: virtual void Reset()

...

Reset will be called before Enlighten processing begins.


Anchor
adaa94ef6978c29d92eadf58b1dba0a6d
adaa94ef6978c29d92eadf58b1dba0a6d

virtual void Enlighten::ILimiter::Reset

...

public: void Reset()

...

Reset will be called before Enlighten processing begins.


Anchor
a4b3f4807fc88bbb7257080f86642cea1
a4b3f4807fc88bbb7257080f86642cea1

virtual bool Enlighten::FixedTimeLimiter::Timeout

...

public: virtual bool Timeout()

...

Timeout should return FALSE if processing should continue and TRUE if processing should stop.


Anchor
a78bbf5cf1162900175dbd0cca25a963b
a78bbf5cf1162900175dbd0cca25a963b

virtual bool Enlighten::ILimiter::Timeout

...

public: bool Timeout()

...

Timeout should return FALSE if processing should continue and TRUE if processing should stop.