HoverRace  2.0
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
HoverRace::Client::HoverScript::InputPeer Class Reference

Scripting peer for input. More...

#include <InputPeer.h>

+ Inheritance diagram for HoverRace::Client::HoverScript::InputPeer:

Public Member Functions

 InputPeer (Script::Core &scripting, Control::InputEventController &controller)
 
virtual ~InputPeer ()
 
void LHotkey (const std::string &key, const luabind::object &fn)
 
- Public Member Functions inherited from HoverRace::Script::Peer
 Peer (Core &scripting, const std::string &name)
 
 Peer (const Peer &)=delete
 
virtual ~Peer ()
 
CoreGetScripting () const
 
void LHelp ()
 
void LHelp_M (const std::string &methodName)
 
Peeroperator= (const Peer &)=delete
 

Static Public Member Functions

static void Register (Script::Core &scripting)
 Register this peer in an environment. More...
 
- Static Public Member Functions inherited from HoverRace::Script::Peer
static void Register (Core &scripting)
 

Private Types

using SUPER = Script::Peer
 

Private Attributes

Control::InputEventControllercontroller
 
std::vector< std::unique_ptr< boost::signals2::scoped_connection > > hotkeyConns
 
std::vector< Script::HandlershotkeyHandlers
 

Detailed Description

Scripting peer for input.

Author
Michael Imamura

Member Typedef Documentation

Constructor & Destructor Documentation

HoverRace::Client::HoverScript::InputPeer::InputPeer ( Script::Core scripting,
Control::InputEventController controller 
)
virtual HoverRace::Client::HoverScript::InputPeer::~InputPeer ( )
inlinevirtual

Member Function Documentation

void HoverRace::Client::HoverScript::InputPeer::LHotkey ( const std::string &  key,
const luabind::object &  fn 
)
void HoverRace::Client::HoverScript::InputPeer::Register ( Script::Core scripting)
static

Register this peer in an environment.

Parameters
scriptingThe target environment.

Member Data Documentation

Control::InputEventController& HoverRace::Client::HoverScript::InputPeer::controller
private
std::vector<std::unique_ptr<boost::signals2::scoped_connection> > HoverRace::Client::HoverScript::InputPeer::hotkeyConns
private
std::vector<Script::Handlers> HoverRace::Client::HoverScript::InputPeer::hotkeyHandlers
private

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