Marsyas  0.5.0-beta1
Data Structures | Public Member Functions | Static Public Member Functions | Friends
MarControlValue Class Reference

Generic class for Marsyas control values Created by lfpt@inescporto.pt and lmartins@inescporto.pt. More...

#include <MarControlValue.h>

Inherited by MarControlValueT< T >.

Data Structures

struct  Arithmetic< T, false >
struct  Arithmetic< T, true >
struct  ArithmeticCompare< T, false >
struct  ArithmeticCompare< T, true >
struct  FalseTrait
struct  GenericArithmetic
struct  IsArithmetic
struct  IsArithmetic< mrs_natural >
struct  IsArithmetic< mrs_real >
struct  IsArithmetic< mrs_realvec >
struct  IsArithmeticComparable
struct  IsArithmeticComparable< mrs_natural >
struct  IsArithmeticComparable< mrs_real >
struct  TrueTrait

Public Member Functions

virtual void callMarSystemsUpdate ()=0
virtual MarControlValueclone ()=0
virtual void copyValue (MarControlValue &value)=0
virtual MarControlValuecreate ()=0
virtual void createFromStream (std::istream &)=0
virtual MarControlValuedivide (MarControlValue *v)=0
template<typename T >
const T & get () const
std::string getRegisteredType ()
virtual std::string getType () const
virtual std::string getTypeID ()=0
template<typename T >
bool hasType ()
virtual bool isEqual (MarControlValue *v)=0
virtual bool isLessThan (MarControlValue *v)=0
virtual MarControlValuemultiply (MarControlValue *v)=0
virtual std::ostream & serialize (std::ostream &os)=0
virtual MarControlValuesubtract (MarControlValue *v)=0
virtual MarControlValuesum (MarControlValue *v)=0
virtual ~MarControlValue ()

Static Public Member Functions

template<typename T >
static MarControlValueT< T > * make (const T &val)

Friends

class MarControl
class MarControlAccessor

Detailed Description

Generic class for Marsyas control values Created by lfpt@inescporto.pt and lmartins@inescporto.pt.

Definition at line 43 of file MarControlValue.h.


Constructor & Destructor Documentation

virtual ~MarControlValue ( ) [inline, virtual]

Definition at line 75 of file MarControlValue.h.


Member Function Documentation

virtual void callMarSystemsUpdate ( ) [pure virtual]

Implemented in MarControlValueT< T >.

virtual MarControlValue* clone ( ) [pure virtual]

Implemented in MarControlValueT< T >.

virtual void copyValue ( MarControlValue value) [pure virtual]

Implemented in MarControlValueT< T >.

virtual MarControlValue* create ( ) [pure virtual]

Implemented in MarControlValueT< T >.

virtual void createFromStream ( std::istream &  ) [pure virtual]

Implemented in MarControlValueT< T >.

virtual MarControlValue* divide ( MarControlValue v) [pure virtual]

Implemented in MarControlValueT< T >.

const T& get ( ) const [inline]

Reimplemented in MarControlValueT< T >.

Definition at line 93 of file MarControlValue.h.

mrs_string getRegisteredType ( )

Definition at line 57 of file MarControlValue.cpp.

mrs_string getType ( void  ) const [virtual]

Definition at line 51 of file MarControlValue.cpp.

virtual std::string getTypeID ( ) [pure virtual]

Implemented in MarControlValueT< T >.

bool hasType ( ) [inline]

Definition at line 88 of file MarControlValue.h.

virtual bool isEqual ( MarControlValue v) [pure virtual]

Implemented in MarControlValueT< T >.

virtual bool isLessThan ( MarControlValue v) [pure virtual]

Implemented in MarControlValueT< T >.

static MarControlValueT<T>* make ( const T &  val) [inline, static]

Definition at line 114 of file MarControlValue.h.

virtual MarControlValue* multiply ( MarControlValue v) [pure virtual]

Implemented in MarControlValueT< T >.

virtual std::ostream& serialize ( std::ostream &  os) [pure virtual]

Implemented in MarControlValueT< T >.

virtual MarControlValue* subtract ( MarControlValue v) [pure virtual]

Implemented in MarControlValueT< T >.

virtual MarControlValue* sum ( MarControlValue v) [pure virtual]

Implemented in MarControlValueT< T >.


Friends And Related Function Documentation

friend class MarControl [friend]

Reimplemented in MarControlValueT< T >.

Definition at line 45 of file MarControlValue.h.

friend class MarControlAccessor [friend]

Reimplemented in MarControlValueT< T >.

Definition at line 46 of file MarControlValue.h.


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