FlightGear next
FGVoicePlayer::RawValueMethodsData< C, VT, DT > Class Template Reference

#include <voiceplayer.hxx>

Inherits SGRawValue< VT >.

Public Types

typedef VT(C::* getter_t) (DT) const
 
typedef void(C::* setter_t) (DT, VT)
 

Public Member Functions

 RawValueMethodsData (C &obj, DT data, getter_t getter=0, setter_t setter=0)
 
virtual VT getValue () const
 
virtual bool setValue (VT value)
 
virtual SGRawValue< VT > * clone () const
 

Detailed Description

template<class C, class VT, class DT>
class FGVoicePlayer::RawValueMethodsData< C, VT, DT >

Definition at line 57 of file voiceplayer.hxx.

Member Typedef Documentation

◆ getter_t

template<class C, class VT, class DT>
typedef VT(C::* FGVoicePlayer::RawValueMethodsData< C, VT, DT >::getter_t) (DT) const

Definition at line 60 of file voiceplayer.hxx.

◆ setter_t

template<class C, class VT, class DT>
typedef void(C::* FGVoicePlayer::RawValueMethodsData< C, VT, DT >::setter_t) (DT, VT)

Definition at line 61 of file voiceplayer.hxx.

Constructor & Destructor Documentation

◆ RawValueMethodsData()

template<class C, class VT, class DT>
FGVoicePlayer::RawValueMethodsData< C, VT, DT >::RawValueMethodsData ( C & obj,
DT data,
getter_t getter = 0,
setter_t setter = 0 )
inline

Definition at line 63 of file voiceplayer.hxx.

Member Function Documentation

◆ clone()

template<class C, class VT, class DT>
virtual SGRawValue< VT > * FGVoicePlayer::RawValueMethodsData< C, VT, DT >::clone ( ) const
inlinevirtual

Definition at line 83 of file voiceplayer.hxx.

◆ getValue()

template<class C, class VT, class DT>
virtual VT FGVoicePlayer::RawValueMethodsData< C, VT, DT >::getValue ( ) const
inlinevirtual

Definition at line 66 of file voiceplayer.hxx.

◆ setValue()

template<class C, class VT, class DT>
virtual bool FGVoicePlayer::RawValueMethodsData< C, VT, DT >::setValue ( VT value)
inlinevirtual

Definition at line 73 of file voiceplayer.hxx.


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