OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::WorkQueue::Request Class Reference

General purpose request structure. More...

#include <OgreWorkQueue.h>

+ Inheritance diagram for Ogre::WorkQueue::Request:

Public Member Functions

 Request (uint16 channel, uint16 rtype, const Any &rData, uint8 retry, RequestID rid)
 Constructor. More...
 
 ~Request ()
 
void abortRequest () const
 Set the abort flag. More...
 
bool getAborted () const
 Get the abort flag. More...
 
uint16 getChannel () const
 Get the request channel (top level categorisation) More...
 
const AnygetData () const
 Get the user details of this request. More...
 
RequestID getID () const
 Get the identifier of this request. More...
 
uint8 getRetryCount () const
 Get the remaining retry count. More...
 
uint16 getType () const
 Get the type of this request within the given channel. More...
 

Detailed Description

General purpose request structure.

Constructor & Destructor Documentation

◆ Request()

Ogre::WorkQueue::Request::Request ( uint16  channel,
uint16  rtype,
const Any rData,
uint8  retry,
RequestID  rid 
)

Constructor.

◆ ~Request()

Ogre::WorkQueue::Request::~Request ( )

Member Function Documentation

◆ abortRequest()

void Ogre::WorkQueue::Request::abortRequest ( ) const
inline

Set the abort flag.

Referenced by Ogre::WorkQueue::Response::abortRequest().

◆ getAborted()

bool Ogre::WorkQueue::Request::getAborted ( ) const
inline

◆ getChannel()

uint16 Ogre::WorkQueue::Request::getChannel ( ) const
inline

Get the request channel (top level categorisation)

◆ getData()

const Any& Ogre::WorkQueue::Request::getData ( ) const
inline

Get the user details of this request.

◆ getID()

RequestID Ogre::WorkQueue::Request::getID ( ) const
inline

Get the identifier of this request.

◆ getRetryCount()

uint8 Ogre::WorkQueue::Request::getRetryCount ( ) const
inline

Get the remaining retry count.

◆ getType()

uint16 Ogre::WorkQueue::Request::getType ( ) const
inline

Get the type of this request within the given channel.


The documentation for this class was generated from the following file: