UserInput Class Reference

ユーザ入力管理 More...

#include <userInput.h>

Collaboration diagram for UserInput:

Collaboration graph
[legend]

List of all members.

Classes

class  userInput_t
 公開するユーザ入力情報 More...

Public Types

typedef std::vector< char > keys_t
typedef std::vector< int > sdl_keys_t
typedef std::list< SDLKey > now_keys_t

Public Member Functions

 UserInput (ScreenCtrl &scrObj)
void update (void)

Static Public Member Functions

static UserInputgetObject (void)
 クラスオブジェクトの取得
static userInput_t getInputed (void)
 入力情報リソースの取得

Public Attributes

bool quit

Friends

class SDL_Video
class ButtonComponent
class MenuComponent
class ComboBoxComponent
class TextInputComponent
class OptionComponent
class CheckBoxComponent


Detailed Description

ユーザ入力管理

ユーザ入力情報の管理

Definition at line 15 of file userInput.h.


Member Typedef Documentation

typedef std::vector<char> UserInput::keys_t

押下文字

Definition at line 32 of file userInput.h.

typedef std::vector<int> UserInput::sdl_keys_t

押下キー

Definition at line 33 of file userInput.h.

typedef std::list<SDLKey> UserInput::now_keys_t

押されているキー

Definition at line 34 of file userInput.h.


Member Function Documentation

UserInput & UserInput::getObject ( void   )  [static]

クラスオブジェクトの取得

Returns:
クラスオブジェクト

Definition at line 27 of file userInput.cpp.

Referenced by getInputed().

UserInput::userInput_t UserInput::getInputed ( void   )  [static]

入力情報リソースの取得

Returns:
入力情報リソース

Definition at line 173 of file userInput.cpp.

References getObject(), and state.

Referenced by UserCreateScr::MainLoop(), PracticeMenu::MainLoop(), NetworkMenu::MainLoop(), FirstMenu::MainLoop(), and ScreenTask::send().


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

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1