Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
SharedVar.hpp File Reference
#include <algorithm>
#include <boost/signals2.hpp>
#include "inexor/network/SharedOptions.hpp"

Go to the source code of this file.

Classes

class  inexor::rpc::SharedVar< T >
 SharedVar wrapper for primitive/immutable objects. More...
 

Namespaces

 inexor
 Show stacktrace on unix, do not include directly.
 
 inexor::rpc
 

Macros

#define UNR(op)
 
#define UNL(op)
 
#define ASGN(op)
 

Functions

template<typename T >
std::ostream & inexor::rpc::operator<< (std::ostream &os, const SharedVar< T > &x)
 
template<typename T >
const T & inexor::rpc::min (const inexor::rpc::SharedVar< T > &a, const T &b)
 
template<typename T >
const T & inexor::rpc::min (const T &a, const inexor::rpc::SharedVar< T > &b)
 
template<typename T >
const T & inexor::rpc::min (const inexor::rpc::SharedVar< T > &a, const inexor::rpc::SharedVar< T > &b)
 
template<typename T >
const T & inexor::rpc::max (const inexor::rpc::SharedVar< T > &a, const T &b)
 
template<typename T >
const T & inexor::rpc::max (const T &a, const inexor::rpc::SharedVar< T > &b)
 
template<typename T >
const T & inexor::rpc::max (const inexor::rpc::SharedVar< T > &a, const inexor::rpc::SharedVar< T > &b)
 

Macro Definition Documentation

#define ASGN (   op)
Value:
template<typename O> \
T operator op ## =(const O &otr) { \
T old = value; \
T ret = value op ## = otr; \
onChange(old, value); \
return ret; \
}
GLsizei GLboolean const GLfloat * value
Definition: glexts.hpp:57
#define UNL (   op)
Value:
T operator op () { \
T old = value; \
T ret = op value; \
onChange(old, value); \
return ret; \
}
GLsizei GLboolean const GLfloat * value
Definition: glexts.hpp:57
#define UNR (   op)
Value:
T operator op (int) { \
T old = value; \
T ret = value op; \
onChange(old, value); \
return ret; \
}
GLsizei GLboolean const GLfloat * value
Definition: glexts.hpp:57