Main Page | Class Hierarchy | Alphabetical List | Compound List | Compound Members

IRdInputState Struct Reference

Inherits IRsObject.

List of all members.

Public Member Functions

HRESULT GetKeyState ([in]RtUlong uKey,[out]RtBool *pPressed)
HRESULT GetMouseState ([out]RtMouseEvent *pMouseState)
HRESULT GetSequenceStart ([out]RtBool *pbSequenceStart)
HRESULT SetMouseState ([out]RtMouseEvent *pMouseState)
HRESULT SetViewNode (IRsNode *pViewNode)
HRESULT SetSequenceStart ([in]RtBool bSequencsStart)


Detailed Description

IRdInputState is used to handle state of various input devices (mouse or keyboard for now).


Member Function Documentation

HRESULT IRdInputState::GetKeyState [in] RtUlong  uKey,
[out] RtBool *  pPressed
 

Get state of keyboard button

Parameters:
uKey specifies windows virtual key code
pPressed return button state.
Returns:
standard HRESULT processing can be applied to returned value

HRESULT IRdInputState::GetMouseState [out] RtMouseEvent *  pMouseState  ) 
 

Get state of mouse

Parameters:
pMouseState Return mouse event that caused reading of input states.
Returns:
standard HRESULT processing can be applied to returned value

HRESULT IRdInputState::GetSequenceStart [out] RtBool *  pbSequenceStart  ) 
 

Sequence start flag is used to distinguish between clicks and drags for sequenced actions.

Parameters:
pbSequenceStart returns true if this is start of action sequence.
Returns:
standard HRESULT processing can be applied to returned value

HRESULT IRdInputState::SetMouseState [out] RtMouseEvent *  pMouseState  ) 
 

Set mouse event.

Parameters:
pMouseState specifies mouse state to store inside data object.
Returns:
standard HRESULT processing can be applied to returned value

HRESULT IRdInputState::SetViewNode IRsNode *  pViewNode  ) 
 

Set view node

Parameters:
pViewNode View node
Returns:
standard HRESULT processing can be applied to returned value

HRESULT IRdInputState::SetSequenceStart [in] RtBool  bSequencsStart  ) 
 

Set sequence start flag

Parameters:
bSequencsStart Set true for start of sequence
Returns:
standard HRESULT processing can be applied to returned value


Generated on Tue Jan 31 21:03:03 2006 for trueSpace7 Data Objects by doxygen 1.3.2