Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
darc::protox::PX_D3D_ParameterBase Class Reference

Base class for Direct3D Parameters. More...

#include <px_D3D9_Parameter.h>

Inheritance diagram for darc::protox::PX_D3D_ParameterBase:
darc::protox::PX_D3D_Parameter< T > darc::protox::PX_D3D_Parameter< bool > darc::protox::PX_D3D_Parameter< D3DDEVTYPE > darc::protox::PX_D3D_Parameter< D3DFORMAT > darc::protox::PX_D3D_Parameter< D3DMULTISAMPLE_TYPE > darc::protox::PX_D3D_Parameter< D3DSWAPEFFECT > darc::protox::PX_D3D_Parameter< DWORD > darc::protox::PX_D3D_Parameter< UInt > darc::protox::PX_D3D_Parameter< VectorUI2D >

List of all members.

Public Types

enum  Locals { UNLOCKED = -1, MASK_A = 0, MASK_B = 1 }

Public Member Functions

 PX_D3D_ParameterBase (PX_D3D_PARAM _cID)
virtual ~PX_D3D_ParameterBase ()
UInt getNumberOfItems () const
UInt getNumberOfAvailableItems () const
Int getAvailableIndex (UInt _itemID) const
Int getLock () const
DCR setLock (Int _lock)
virtual bool getMask (UInt _maskID, UInt _itemID) const =0
virtual void setMask (UInt _maskID, bool _b)=0
virtual void setMask (UInt _maskID, UInt _itemID, bool _b)=0
virtual void combineMask ()=0
virtual QString getString (UInt _itemID)=0

Protected Attributes

UInt m_nItem
Int m_lock
PX_D3D_PARAM m_configID

Detailed Description

Base class for Direct3D Parameters.


Member Enumeration Documentation

Parameter identifier.

Enumerator:
UNLOCKED 
MASK_A 
MASK_B 

Constructor & Destructor Documentation


Member Function Documentation

Returns the current lock status.

Returns the item index of the n-th available item.

Parameters:
_itemIDN-th available index.
Returns:
Returns -1 if the index is not available.

Member Data Documentation

Number of items.


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