Class: TLowlevelStatus

Declaration: PrintJobStatus.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPrintingStatus

Inherited By:

TRenderingStatus

Purpose:

Used by the lowest-level objects in spooling or despooling. It is used in the despooling phase to report the status coming back from the device. API clients can use the GetLowlevelStatus to look at the device status when the job is printed.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Deriving classes can override HandleLowlevelStatusChanged to handle the change in status appropriately.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TLowlevelStatus::TLowlevelStatus

  1. TLowlevelStatus ()
  2. TLowlevelStatus (const TLowlevelStatus &)

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: TLowlevelStatus::~TLowlevelStatus

virtual ~ TLowlevelStatus ()

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: TLowlevelStatus::SetLowlevelStatus

virtual void SetLowlevelStatus (const TStandardText & status)

Interface Category:

API.

Purpose:

Sets the low-level status. Calls HandleLowlevelStatusChanged.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLowlevelStatus::GetLowlevelStatus

virtual void GetLowlevelStatus (TStandardText & status) const

Interface Category:

API.

Purpose:

Returns the low-level status.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLowlevelStatus::ClearStatus

virtual void ClearStatus ()

Interface Category:

API.

Purpose:

Clears the current value of the status.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

Deriving classes must call the inherited function.

Member Function: TLowlevelStatus::operator=

TLowlevelStatus & operator =(const TLowlevelStatus & right)

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: TLowlevelStatus::operator>>=

virtual 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: TLowlevelStatus::operator<<=

virtual 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 no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLowlevelStatus::Hash

virtual long Hash () const

Interface Category:

API.

Purpose:

Generates a hash value.

Calling Context:

Called to generate a hash value.

Parameters:

Return Value:

A long hash value.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TLowlevelStatus::HandleLowlevelStatusChanged

virtual void HandleLowlevelStatusChanged ()

Interface Category:

API.

Purpose:

Does the appropriate thing when the status is changed.

Calling Context:

Called by SetLowLevelStatus.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.