47 #ifndef _MIRA_VISUALIZATIONTEXTTRACEBASIC_H_ 48 #define _MIRA_VISUALIZATIONTEXTTRACEBASIC_H_ 50 #include <QTreeWidget> 77 template <
typename Reflector>
108 for (; it !=data.
end(); it++) {
virtual IVisualizationTextTraceItem * getItem()
Get the visualization item.
Definition: VisualizationTextTraceBasic.h:114
An object that allows read access to a whole interval of channel data.
Definition: ChannelReadInterval.h:72
void setName(const std::string &name)
Sets the name of this visualization.
Definition: Visualization.h:157
virtual IVisualizationTextTraceSite * getSite()
Returns a pointer to the IVisualizationTextTraceSite interface that was set in the init() method...
Declaration of VisualizationTextTrace and related classes.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
IVisualizationTextTraceItem * mItem
Definition: VisualizationTextTraceBasic.h:120
Definition: VisualizationTextTrace.h:70
#define MIRA_REFLECT_BASE(reflector, BaseClass)
Macro that can be used to reflect the base class easily.
Definition: ReflectorInterface.h:912
std::string mName
Definition: VisualizationTextTraceBasic.h:118
void channelProperty(Reflector &r, const std::string &name, ChannelProperty< T > &channel, const std::string &comment, OptionalMode optional=REQUIRED)
Special property-method that should be called within the reflect method to specify a ChannelProperty...
Definition: Visualization.h:249
An object that allows read access to data of a channel.
Definition: ChannelReadWrite.h:494
The data structure that is returned by getDataConnection.
Definition: Visualization.h:183
virtual IVisualizationTextTraceItem * addItem()=0
const_iterator end() const
Definition: ChannelReadInterval.h:164
const_iterator begin() const
Definition: ChannelReadInterval.h:163
Definition: VisualizationTextTrace.h:56
void reflect(Reflector &r)
Definition: VisualizationTextTraceBasic.h:78
Abstract base class for a text visualization tracing the data history.
Definition: VisualizationTextTrace.h:89
virtual void dataChanged(ChannelRead< T > data)
Definition: VisualizationTextTraceBasic.h:103
virtual void channelChanged()
Definition: VisualizationTextTraceBasic.h:92
Const iterator for iterating over the interval.
Definition: ChannelReadInterval.h:85
Definition: VisualizationTextTraceBasic.h:59
virtual DataConnection getDataConnection()
Returns information about the direct data connection for this visualization.
Definition: VisualizationTextTraceBasic.h:90
virtual void setupScene(IVisualizationTextTraceSite *site)
Must be implemented in derived classes.
Definition: VisualizationTextTraceBasic.h:84
virtual void destroyItem(IVisualizationTextTraceItem *item)=0
VisualizationTextTraceBasic(const std::string &channelName)
Definition: VisualizationTextTraceBasic.h:63
ChannelProperty< T > mChannel
Definition: VisualizationTextTraceBasic.h:119
The concrete typed ChannelProperty template class.
Definition: ChannelProperty.h:214
virtual void dataIntervalChanged(ChannelReadInterval< T > data)
Definition: VisualizationTextTraceBasic.h:105
virtual void setName(const std::string &name)=0
virtual ~VisualizationTextTraceBasic()
Definition: VisualizationTextTraceBasic.h:71