|
Marsyas
0.6.0-alpha
|
MarControlPtr is a smart pointer wrapper for MarControl. MarControl is the control class containing a name, type and value. Created by lfpt@inescporto.pt and lmartins@inescporto.pt. More...
#include <MarControl.h>
Public Member Functions | |
| void | callMarSystemUpdate () |
| MarControl * | clone () |
| std::vector< std::pair < MarControlPtr, MarControlPtr > > | getLinks () |
| MarSystem * | getMarSystem () const |
| const std::string & | getName () const |
| int | getRefCount () const |
| std::string | getType () const |
| bool | hasState () const |
| template<typename T > | |
| bool | hasType () |
| const std::string & | id () const |
| bool | isLinked () const |
| bool | isPublic () const |
| bool | isTrue () |
| bool | linkTo (MarControlPtr ctrl, bool update=true) |
| MarControl (const MarControl &a) | |
| MarControl (MarControlValue *value, std::string cname="", MarSystem *msys=0, bool state=false) | |
| MarControl (double re, std::string cname="", MarSystem *msys=0, bool state=false) | |
| MarControl (float re, std::string cname="", MarSystem *msys=0, bool state=false) | |
| MarControl (mrs_natural ne, std::string cname="", MarSystem *msys=0, bool state=false) | |
| MarControl (std::string st, std::string cname="", MarSystem *msys=0, bool state=false) | |
| MarControl (bool be, std::string cname="", MarSystem *msys=0, bool state=false) | |
| MarControl (realvec &ve, std::string cname="", MarSystem *msys=0, bool state=false) | |
| bool | operator!= (const MarControl &rhs) |
| bool | operator< (const MarControl &rhs) |
| MarControl & | operator= (const MarControl &a) |
| bool | operator== (const MarControl &rhs) |
| std::string | path () const |
| void | ref () |
| void | setMarSystem (MarSystem *msys) |
| void | setName (const std::string &cname) |
| void | setPublic (bool flag) |
| void | setState (bool state) |
| template<class T > | |
| bool | setValue (const T &t, bool update=true) |
| bool | setValue (MarControlPtr mc, bool update=true) |
| bool | setValue (MarControlValue *mcv, bool update=true) |
| bool | setValue (const char *t, bool update=true) |
| bool | setValue (int t, bool update=true) |
| template<class T > | |
| const T & | to () const |
| mrs_bool | to_bool () const |
| mrs_natural | to_natural () const |
| mrs_real | to_real () const |
| mrs_realvec | to_realvec () const |
| mrs_string | to_string () const |
| void | unlinkFromAll () |
| void | unlinkFromTarget () |
| void | unref () |
| ~MarControl () | |
Friends | |
| class | MarControlAccessor |
| class | MarControlManager |
| bool | operator!= (const MarControl &v1, const MarControl &v2) |
| mrs_real | operator* (const MarControl &v1, const mrs_real &v2) |
| mrs_real | operator* (const mrs_real &v1, const MarControl &v2) |
| MarControl | operator* (const MarControl &v1, const MarControl &v2) |
| mrs_real | operator+ (const MarControl &v1, const mrs_real &v2) |
| mrs_real | operator+ (const mrs_real &v1, const MarControl &v2) |
| MarControl | operator+ (const MarControl &v1, const MarControl &v2) |
| mrs_real | operator- (const MarControl &v1, const mrs_real &v2) |
| mrs_real | operator- (const mrs_real &v1, const MarControl &v2) |
| MarControl | operator- (const MarControl &v1, const MarControl &v2) |
| mrs_real | operator/ (const MarControl &v1, const mrs_real &v2) |
| mrs_real | operator/ (const mrs_real &v1, const MarControl &v2) |
| MarControl | operator/ (const MarControl &v1, const MarControl &v2) |
| std::ostream & | operator<< (std::ostream &os, const MarControl &ctrl) |
| bool | operator== (const MarControl &v1, const MarControl &v2) |
MarControlPtr is a smart pointer wrapper for MarControl. MarControl is the control class containing a name, type and value. Created by lfpt@inescporto.pt and lmartins@inescporto.pt.
Definition at line 152 of file MarControl.h.
| WAS_INLINE MarControl | ( | const MarControl & | a | ) |
Definition at line 743 of file MarControl.cpp.
| WAS_INLINE MarControl | ( | MarControlValue * | value, |
| std::string | cname = "", |
||
| MarSystem * | msys = 0, |
||
| bool | state = false |
||
| ) |
Definition at line 757 of file MarControl.cpp.
| WAS_INLINE MarControl | ( | double | re, |
| std::string | cname = "", |
||
| MarSystem * | msys = 0, |
||
| bool | state = false |
||
| ) |
Definition at line 769 of file MarControl.cpp.
| WAS_INLINE MarControl | ( | float | re, |
| std::string | cname = "", |
||
| MarSystem * | msys = 0, |
||
| bool | state = false |
||
| ) |
Definition at line 781 of file MarControl.cpp.
| WAS_INLINE MarControl | ( | mrs_natural | ne, |
| std::string | cname = "", |
||
| MarSystem * | msys = 0, |
||
| bool | state = false |
||
| ) |
Definition at line 794 of file MarControl.cpp.
| WAS_INLINE MarControl | ( | std::string | st, |
| std::string | cname = "", |
||
| MarSystem * | msys = 0, |
||
| bool | state = false |
||
| ) |
Definition at line 806 of file MarControl.cpp.
| WAS_INLINE MarControl | ( | bool | be, |
| std::string | cname = "", |
||
| MarSystem * | msys = 0, |
||
| bool | state = false |
||
| ) |
Definition at line 818 of file MarControl.cpp.
| WAS_INLINE MarControl | ( | realvec & | ve, |
| std::string | cname = "", |
||
| MarSystem * | msys = 0, |
||
| bool | state = false |
||
| ) |
Definition at line 830 of file MarControl.cpp.
| WAS_INLINE ~MarControl | ( | ) |
Definition at line 842 of file MarControl.cpp.
| void callMarSystemUpdate | ( | ) |
Definition at line 154 of file MarControl.cpp.
| MarControl * clone | ( | ) |
Definition at line 95 of file MarControl.cpp.
| vector< pair< MarControlPtr, MarControlPtr > > getLinks | ( | ) |
Definition at line 503 of file MarControl.cpp.
| MarSystem * getMarSystem | ( | ) | const |
Definition at line 107 of file MarControl.cpp.
| const std::string& getName | ( | ) | const [inline] |
Definition at line 202 of file MarControl.h.
| int getRefCount | ( | ) | const |
Definition at line 88 of file MarControl.cpp.
| mrs_string getType | ( | void | ) | const |
Definition at line 136 of file MarControl.cpp.
| bool hasState | ( | ) | const |
Definition at line 130 of file MarControl.cpp.
| bool hasType | ( | ) | [inline] |
Definition at line 213 of file MarControl.h.
| const std::string& id | ( | ) | const [inline] |
Definition at line 203 of file MarControl.h.
| bool isLinked | ( | ) | const |
Definition at line 491 of file MarControl.cpp.
| bool isPublic | ( | ) | const [inline] |
Definition at line 208 of file MarControl.h.
| WAS_INLINE bool isTrue | ( | ) |
Definition at line 1159 of file MarControl.cpp.
| bool linkTo | ( | MarControlPtr | ctrl, |
| bool | update = true |
||
| ) |
Definition at line 165 of file MarControl.cpp.
| bool operator!= | ( | const MarControl & | rhs | ) | [inline] |
Definition at line 274 of file MarControl.h.
| bool operator< | ( | const MarControl & | rhs | ) | [inline] |
Definition at line 279 of file MarControl.h.
| WAS_INLINE MarControl & operator= | ( | const MarControl & | a | ) |
Definition at line 853 of file MarControl.cpp.
| bool operator== | ( | const MarControl & | rhs | ) | [inline] |
Definition at line 269 of file MarControl.h.
| std::string path | ( | ) | const |
Definition at line 141 of file MarControl.cpp.
| WAS_INLINE void ref | ( | ) |
Definition at line 79 of file MarControl.cpp.
| void setMarSystem | ( | MarSystem * | msys | ) |
Definition at line 101 of file MarControl.cpp.
| void setName | ( | const std::string & | cname | ) |
Definition at line 113 of file MarControl.cpp.
| void setPublic | ( | bool | flag | ) | [inline] |
Definition at line 209 of file MarControl.h.
| void setState | ( | bool | state | ) |
Definition at line 124 of file MarControl.cpp.
| bool setValue | ( | const T & | t, |
| bool | update = true |
||
| ) |
Definition at line 315 of file MarControl.h.
| WAS_INLINE bool setValue | ( | MarControlPtr | mc, |
| bool | update = true |
||
| ) |
Definition at line 865 of file MarControl.cpp.
| WAS_INLINE bool setValue | ( | MarControlValue * | mcv, |
| bool | update = true |
||
| ) |
Definition at line 896 of file MarControl.cpp.
| WAS_INLINE bool setValue | ( | const char * | t, |
| bool | update = true |
||
| ) |
Definition at line 927 of file MarControl.cpp.
| WAS_INLINE bool setValue | ( | int | t, |
| bool | update = true |
||
| ) |
Definition at line 934 of file MarControl.cpp.
| const T & to | ( | ) | const |
Definition at line 294 of file MarControl.h.
Definition at line 273 of file MarControl.cpp.
| mrs_natural to_natural | ( | ) | const |
Definition at line 252 of file MarControl.cpp.
Definition at line 293 of file MarControl.cpp.
| mrs_realvec to_realvec | ( | ) | const |
Definition at line 313 of file MarControl.cpp.
| mrs_string to_string | ( | ) | const |
Definition at line 232 of file MarControl.cpp.
| void unlinkFromAll | ( | ) |
Definition at line 337 of file MarControl.cpp.
| void unlinkFromTarget | ( | ) |
Definition at line 357 of file MarControl.cpp.
| WAS_INLINE void unref | ( | ) |
Definition at line 83 of file MarControl.cpp.
friend class MarControlAccessor [friend] |
Definition at line 156 of file MarControl.h.
friend class MarControlManager [friend] |
Definition at line 155 of file MarControl.h.
| bool operator!= | ( | const MarControl & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
| mrs_real operator* | ( | const MarControl & | v1, |
| const mrs_real & | v2 | ||
| ) | [friend] |
Definition at line 1034 of file MarControl.cpp.
| mrs_real operator* | ( | const mrs_real & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 1055 of file MarControl.cpp.
| MarControl operator* | ( | const MarControl & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 1138 of file MarControl.cpp.
| mrs_real operator+ | ( | const MarControl & | v1, |
| const mrs_real & | v2 | ||
| ) | [friend] |
Definition at line 950 of file MarControl.cpp.
| mrs_real operator+ | ( | const mrs_real & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 971 of file MarControl.cpp.
| MarControl operator+ | ( | const MarControl & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 1118 of file MarControl.cpp.
| mrs_real operator- | ( | const MarControl & | v1, |
| const mrs_real & | v2 | ||
| ) | [friend] |
Definition at line 992 of file MarControl.cpp.
| mrs_real operator- | ( | const mrs_real & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 1013 of file MarControl.cpp.
| MarControl operator- | ( | const MarControl & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 1128 of file MarControl.cpp.
| mrs_real operator/ | ( | const MarControl & | v1, |
| const mrs_real & | v2 | ||
| ) | [friend] |
Definition at line 1076 of file MarControl.cpp.
| mrs_real operator/ | ( | const mrs_real & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 1097 of file MarControl.cpp.
| MarControl operator/ | ( | const MarControl & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
Definition at line 1148 of file MarControl.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const MarControl & | ctrl | ||
| ) | [friend] |
Definition at line 943 of file MarControl.cpp.
| bool operator== | ( | const MarControl & | v1, |
| const MarControl & | v2 | ||
| ) | [friend] |
1.7.6.1