uActionGlobal Class Reference

#include <uInput.h>

Inheritance diagram for uActionGlobal:

Inheritance graph
[legend]
Collaboration diagram for uActionGlobal:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 uActionGlobal (const char *name, int priority=0, uInputType t=uINPUT_DIGITAL)
virtual ~uActionGlobal ()
bool operator== (const uActionGlobal &x)

Static Public Member Functions

static bool IsBreakingGlobalBind (int sym)


Detailed Description

Definition at line 119 of file uInput.h.


Constructor & Destructor Documentation

uActionGlobal::uActionGlobal ( const char *  name,
int  priority = 0,
uInputType  t = uINPUT_DIGITAL 
)

Definition at line 400 of file uInput.cpp.

00404         :uAction(s_globalActions,name,priority,t){}

uActionGlobal::~uActionGlobal (  )  [virtual]

Definition at line 405 of file uInput.cpp.


Member Function Documentation

bool uActionGlobal::operator== ( const uActionGlobal x  ) 

Definition at line 407 of file uInput.cpp.

References uAction::globalID.

00408                                                     {
00409     return x.globalID == globalID;

bool uActionGlobal::IsBreakingGlobalBind ( int  sym  )  [static]

Definition at line 411 of file uInput.cpp.

References uBind::act, uInput::GetBind(), uActionGlobalFunc::IsBreakingGlobalBind(), and su_inputs.

Referenced by gMemuItemConsole::Event().

00412                                                {
00413     if ( sym >= (int)su_inputs.size() || sym < 0 )
00414         return false;
00415 
00416     uInput * input = su_inputs[ sym ];
00417     if ( !input )
00418         return false;
00419 
00420     uBind * bind = input->GetBind();
00421     if ( !bind )
00422         return false;
00423 
00424     uAction *act = bind->act;
00425     if (!act)
00426         return false;
00427 
00428     return uActionGlobalFunc::IsBreakingGlobalBind(act);

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:59:51 2008 for Armagetron Advanced by  doxygen 1.5.4