MIRA
Public Member Functions | Public Attributes | List of all members
ChannelPropertyProxy Class Reference

Proxy class that is returned/set by the getter and setter methods of ChannelProperty. More...

#include <visualization/ChannelProperty.h>

Public Member Functions

 ChannelPropertyProxy ()
 
 ChannelPropertyProxy (const std::string &id, ChannelPropertyBase *p)
 
template<typename Reflector >
void reflect (Reflector &r)
 
bool isValid () const
 Returns true, if an existing channel is set. More...
 
std::list< std::pair< std::string, Typename > > getAvailableChannels ()
 Returns list of (channelID,typename) pairs containing the channels that match the desired type. More...
 

Public Attributes

std::string channelID
 
ChannelPropertyBaseproperty
 

Detailed Description

Proxy class that is returned/set by the getter and setter methods of ChannelProperty.

It acts as an interface between the ChannelProperty template class and the PropertyEditor. There's a PropertyEditor delegate for this ChannelPropertyProxy class.

For internal use only!

Constructor & Destructor Documentation

◆ ChannelPropertyProxy() [1/2]

◆ ChannelPropertyProxy() [2/2]

ChannelPropertyProxy ( const std::string &  id,
ChannelPropertyBase p 
)
inline

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ isValid()

bool isValid ( ) const
inline

Returns true, if an existing channel is set.

◆ getAvailableChannels()

std::list<std::pair<std::string, Typename> > getAvailableChannels ( )
inline

Returns list of (channelID,typename) pairs containing the channels that match the desired type.

Member Data Documentation

◆ channelID

std::string channelID

◆ property


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