Class: TApplicationSchedule

Declaration: Scheduling.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TThreadSchedule

Inherited By:

None.

Purpose:

Defines a schedule for user application tasks; CPU usage is moderate to heavy, and timely response is better than a TSupportSchedule.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TApplicationSchedule::TApplicationSchedule

  1. TApplicationSchedule ()
  2. TApplicationSchedule (const TApplicationSchedule & aApplicationSchedule)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TApplicationSchedule::~TApplicationSchedule

virtual ~ TApplicationSchedule ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TApplicationSchedule::operator=

TApplicationSchedule & operator =(const TApplicationSchedule & aApplicationSchedule)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TApplicationSchedule::operator<<=

TStream & operator <<= (TStream & fromWhere)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws TInvalidVersionError if a version mismatch occurs.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TApplicationSchedule::operator>>=

TStream & operator >>=(TStream & toWhere) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TApplicationSchedule::GetPriority

virtual AbsolutePriority GetPriority () const

Interface Category:

API.

Purpose:

Gets the priority associated with this object.

Calling Context:

Called to get the priority of a TApplicationSchedule class object.

Parameters:

Return Value:

The priority value.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

This function is for Taligent internal use only.

Member Function: TApplicationSchedule::GetPolicy

virtual SchedulingPolicy GetPolicy () const

Interface Category:

API.

Purpose:

Gets the policy value associated with this class object.

Calling Context:

Called to get the policy value associated with this class object.

Parameters:

Return Value:

Returns the policy.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

This function is for Taligent internal use only.

Member Function: TApplicationSchedule::GetMaximumPriority

virtual AbsolutePriority GetMaximumPriority () const

Interface Category:

API.

Purpose:

Gets the maximum priority upper limit for this class object.

Calling Context:

Called to get the upper limit on the priority for this class object.

Parameters:

Return Value:

Returns a priority value.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

This function is for Taligent internal use only.

Member Function: TApplicationSchedule::GetMinimumPriority

virtual AbsolutePriority GetMinimumPriority () const

Interface Category:

API.

Purpose:

Gets the minimum priority lower limit for this class object.

Calling Context:

Called to get the lower limit on the priority for this class object.

Parameters:

Return Value:

Returns a priority value.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

This function is for Taligent internal use only.

Member Function: TApplicationSchedule::SetPriority

virtual void SetPriority (const AbsolutePriority thePriority)

Interface Category:

API.

Purpose:

Sets the priority value for this class object.

Calling Context:

Called to set a priority value for this object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

This function is for Taligent internal use only. Note that no exceptions are thrown even if incorrect priority values are specified, thus, due care must be taken while using this member function.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.