1 #ifndef __RTFX_PROPERTY_BASIC__
2 #define __RTFX_PROPERTY_BASIC__
9 #include "RTFXRecorder.h"
10 #include "RTFXHelpers.h"
50 value = ptr_->GetValue();
57 void SetValue( T _value )
59 boost::lock_guard<boost::mutex> lock( *dataLock );
68 boost::lock_guard<boost::mutex> lock( *dataLock );
80 if ( GetType() == _other->
GetType() )
94 friend class boost::serialization::access;
96 template<
class Archive>
97 void serialize( Archive &_ar,
const unsigned int _version )
100 _ar & boost::serialization::base_object<RTFXProperty>( *this );
101 _ar & BOOST_SERIALIZATION_NVP( value );
107 BOOST_CLASS_EXPORT_KEY( RTFX::RTFXPropertyBasic<
unsigned int> )
108 BOOST_CLASS_EXPORT_KEY( RTFX::RTFXPropertyBasic<
float> )
109 BOOST_CLASS_EXPORT_KEY( RTFX::RTFXPropertyBasic<
double> )
110 BOOST_CLASS_EXPORT_KEY( RTFX::RTFXPropertyBasic<
char> )
111 BOOST_CLASS_EXPORT_KEY( RTFX::RTFXPropertyBasic<
int> )