Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Data Structures | Typedefs | Functions
omni::input Namespace Reference

Namespace for inputs. More...

Namespaces

 exception
 

Data Structures

class  Controller
 Input controller controls which inputs are currently active Implemented as a singleton. More...
 
class  Framebuffer
 Input object that is renderer to a framebuffer. More...
 
class  Interface
 Generic input interface. More...
 
class  List
 Input List contains a list of inputs, accessible over an QString id Input List is the root input of a session's input tree. Input List is serializable via QDataStream. More...
 
class  TestImage
 Abstract class for test images that are generated with a shader. More...
 

Typedefs

typedef AbstractFactory
< Interface, Interface const * > 
Factory
 Input Factory typedef. More...
 

Functions

bool operator== (List const &_lhs, List const &_rhs)
 

Detailed Description

Namespace for inputs.

Typedef Documentation

Input Factory typedef.

Function Documentation

bool omni::input::operator== ( List const &  _lhs,
List const &  _rhs 
)
122  {
123  if (_lhs.currentId_ != _rhs.currentId_) return false;
124 
125  if (_lhs.size() != _rhs.size()) return false;
126 
127  auto it = _lhs.begin();
128  auto jt = _rhs.begin();
129 
130  for (; (it != _lhs.end()) && (jt != _rhs.end()); ++it, ++jt)
131  {
132  if (it->first != jt->first) return false;
133 
134  if (!it->second->equal(jt->second.get())) return false;
135  }
136  return true;
137  }