47 #ifndef _MIRA_INDEXSELECTORPROPERTY_H_ 48 #define _MIRA_INDEXSELECTORPROPERTY_H_ 110 template <
bool Transparent = true>
117 template <
typename Class>
122 template <
typename Reflector>
132 template <
typename SerializerTag>
147 template <
typename Class>
152 template <
typename Reflector>
155 r.property(
"Index",
mIndex,
157 "The index of the selected element", 0);
IndexSelectorPropertyBase(boost::function< void()> callback)
Definition: IndexSelectorProperty.h:63
Type trait that indicates whether a type should be serialized "transparently", i.e.
Definition: IsTransparentSerializable.h:81
Definition: SyncTimedRead.h:62
int mIndex
Definition: IndexSelectorProperty.h:90
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Class object which supports some kind of class reflection.
Definition: Class.h:97
Setter< T > setter(void(*f)(const T &))
Creates a Setter for global or static class methods taking the argument by const reference.
Definition: GetterSetter.h:443
IndexSelectorProperty(boost::function< void()> callback)
Definition: IndexSelectorProperty.h:144
boost::function< void()> mNotifyChange
Definition: IndexSelectorProperty.h:92
void reflect(Reflector &r)
Definition: IndexSelectorProperty.h:153
int index()
Definition: IndexSelectorProperty.h:67
Non intrusive reflect for OGRE color class.
Base for template class IndexSelectorProperty.
Definition: IndexSelectorProperty.h:60
IndexSelectorProperty(void(Class::*f)(), Class *obj)
Definition: IndexSelectorProperty.h:148
A special property class that can be used to provide a mechanism for selecting an element by index fr...
Definition: IndexSelectorProperty.h:111
IndexSelectorProperty(void(Class::*f)(), Class *obj)
Definition: IndexSelectorProperty.h:118
void reflect(Reflector &r)
Definition: IndexSelectorProperty.h:123
IndexSelectorProperty(boost::function< void()> callback)
Definition: IndexSelectorProperty.h:114
Provides definition for getters and setters that are used with the serialization framework.
int mWrapIndex
Definition: IndexSelectorProperty.h:91
void setWrapIndex(unsigned int wrap)
Dynamically set the first invalid index, usually according to the visualized data itself (once it is ...