Typedefs | Functions | Variables

main.cpp File Reference

#include <iostream>
#include <stdio.h>
#include "gamepad-config/gamepad-config.h"
#include "i18n/i18n.h"
#include "perf/perf.h"
#include "threadsafe/threadsafe.h"
#include "threadsafe/threadsafe_multimap.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Typedefs

typedef threadsafe_multimap
< std::string, int > 
string_int_map_t

Functions

static int selectFromMap (IN string_int_map_t &map, IN const char *title)
static smart_ptr
< gamepad::SourceDevice
selectDevice (IN gamepad::Manager *mgr)
static smart_ptr< gamepad::TypeselectType (IN gamepad::Manager *mgr)
static void displayHints (IN i18n::Manager *mgr)
static int atExtreme (IN const gamepad::pot_value_t &pv) throw ()
int main (IN int argc, IN const char *argv[])

Variables

static const char * s_defaultLocale = "en_US.UTF-8"

Typedef Documentation

typedef threadsafe_multimap<std::string, int> string_int_map_t

Definition at line 26 of file main.cpp.


Function Documentation

static int selectFromMap ( IN string_int_map_t map,
IN const char *  title 
) [static]

Definition at line 37 of file main.cpp.

static smart_ptr<gamepad::SourceDevice> selectDevice ( IN gamepad::Manager mgr  )  [static]

Definition at line 88 of file main.cpp.

static smart_ptr<gamepad::Type> selectType ( IN gamepad::Manager mgr  )  [static]

Definition at line 127 of file main.cpp.

static void displayHints ( IN i18n::Manager *  mgr  )  [static]

Definition at line 158 of file main.cpp.

static int atExtreme ( IN const gamepad::pot_value_t pv  )  throw () [static]

Definition at line 185 of file main.cpp.

int main ( IN int  argc,
IN const char *  argv[] 
)

Definition at line 218 of file main.cpp.


Variable Documentation

const char* s_defaultLocale = "en_US.UTF-8" [static]

Definition at line 22 of file main.cpp.