29 #ifndef _InputBuffer_H__    30 #define _InputBuffer_H__    63             bool bOnlySingleInput, 
bool trueKeyFalseChar, 
char _char, 
KeyCode::ByEnum key)
    65               listener_(listener), function_(function)
    70             (listener_->*function_)();
    83             void setConfigValues();
    86             void setMaxLength(
unsigned int length);
    92                 this->listeners_.insert(this->listeners_.end(), newTuple);
    98                 this->listeners_.insert(this->listeners_.end(), newTuple);
   104                 this->listeners_.insert(this->listeners_.end(), newTuple);
   110                 this->listeners_.insert(this->listeners_.end(), newTuple);
   117                 this->listeners_.insert(this->listeners_.end(), newTuple);
   123                 this->listeners_.insert(this->listeners_.end(), newTuple);
   129                 for (std::list<BaseInputBufferListenerTuple*>::iterator it = this->listeners_.begin(); it != this->listeners_.end(); )
   132                     if (refListener && refListener->
listener_ == listener)
   133                         this->listeners_.erase(it++);
   139             void set(
const std::string& input, 
bool update = 
true);
   140             void insert(
const std::string& input, 
bool update = 
true);
   141             void insert(
const char& input, 
bool update = 
true);
   142             void clear(
bool update = 
true);
   143             void removeAtCursor(
bool update = 
true);
   144             void removeBehindCursor(
bool update = 
true);
   147             void updated(
const char& update, 
bool bSingleInput);
   150                 { 
return this->buffer_; }
   152                 { 
return this->buffer_.size(); }
   155                 { 
return this->cursor_; }
   157                 { 
if (cursor <= this->buffer_.size()) { this->cursor_ = cursor; } }
   159                 { this->cursor_ = this->buffer_.size(); }
   161                 { this->cursor_ = 0; }
   163                 { 
if (this->cursor_ < this->buffer_.size()) { ++this->cursor_; } }
   165                 { 
if (this->cursor_ > 0) { --this->cursor_; } }
   167             virtual void buttonPressed(
const KeyEvent& evt) 
override;
   170             bool charIsAllowed(
const char& input);
   172             virtual void buttonHeld (
const KeyEvent& evt) 
override;
   173             void processKey (
const KeyEvent& evt);
   175             virtual void keyboardUpdated(
float dt) 
override;
 
::std::string string
Definition: gtest-port.h:756
 
This is the base class of all objects which may contain config values. 
Definition: Configurable.h:47
 
typedef void(ENET_CALLBACK *ENetPacketFreeCallback)(struct _ENetPacket *)
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
#define _CoreExport
Definition: CorePrereqs.h:61
 
Event argument for key events. 
Definition: InputHandler.h:76
 
Definition: InputPrereqs.h:78
 
Declaration of Configurable, the base class of all objects which may contain config values...
 
ByEnum
Key codes as enumeration. 
Definition: InputPrereqs.h:56
 
Definition: InputPrereqs.h:58