Fraxinus  16.5.0-fx-rc7
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::SyncedValue Class Reference

#include <cxSyncedValue.h>

Inheritance diagram for cx::SyncedValue:

Signals

void changed ()
 

Public Member Functions

 SyncedValue (QVariant val=QVariant())
 
void set (QVariant val)
 
QVariant get () const
 
template<class T >
value () const
 

Static Public Member Functions

static SyncedValuePtr create (QVariant val=QVariant())
 

Detailed Description

A value intended for sharing between several objects

Use the changed() signal to listen for changes made by others.

Definition at line 51 of file cxSyncedValue.h.

Constructor & Destructor Documentation

cx::SyncedValue::SyncedValue ( QVariant  val = QVariant())

Definition at line 38 of file cxSyncedValue.cpp.

Member Function Documentation

void cx::SyncedValue::changed ( )
signal
SyncedValuePtr cx::SyncedValue::create ( QVariant  val = QVariant())
static

Definition at line 42 of file cxSyncedValue.cpp.

QVariant cx::SyncedValue::get ( ) const

Definition at line 53 of file cxSyncedValue.cpp.

void cx::SyncedValue::set ( QVariant  val)

Definition at line 46 of file cxSyncedValue.cpp.

template<class T >
T cx::SyncedValue::value ( ) const
inline

Definition at line 60 of file cxSyncedValue.h.


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