MIRA
|
Base class for ChannelProperty template class. More...
#include <visualization/ChannelProperty.h>
Public Member Functions | |
ChannelPropertyBase () | |
virtual | ~ChannelPropertyBase () |
const std::string & | getID () const |
Returns the channelID that was set by the user. More... | |
void | setName (const std::string &name) |
Sets the name of the property. More... | |
const std::string & | getName () const |
Returns the name of the property. More... | |
virtual bool | isValid () const =0 |
Returns true, if an existing channel is set. Must be implemented in derived class. More... | |
virtual uint32 | getDataUpdateCount () const =0 |
Returns the number of data updates the channel has received. More... | |
virtual std::list< std::pair< std::string, Typename > > | getAvailableChannels ()=0 |
Returns list of (channelID,typename) pairs containing the channels that match the desired type. More... | |
void | setOptional () |
For internal use only. More... | |
bool | isOptional () const |
For internal use only. More... | |
virtual void | update ()=0 |
Tell the property to update the assigned channel. More... | |
virtual void | set (const std::string &id, IAuthorityProvider *authorityProvider) |
Sets the channelID and a necessary authority provider that is used to obtain the authority for subscribing the set channel. More... | |
Protected Attributes | |
std::string | mName |
std::string | mChannelID |
IAuthorityProvider * | mAuthorityProvider |
bool | mOptional |
Base class for ChannelProperty template class.
|
inline |
|
inlinevirtual |
|
inline |
Returns the channelID that was set by the user.
|
inline |
Sets the name of the property.
|
inline |
Returns the name of the property.
|
pure virtual |
Returns true, if an existing channel is set. Must be implemented in derived class.
Implemented in ChannelProperty< T >, and ChannelProperty< float >.
|
pure virtual |
Returns the number of data updates the channel has received.
Implemented in ChannelProperty< T >, and ChannelProperty< float >.
|
pure virtual |
Returns list of (channelID,typename) pairs containing the channels that match the desired type.
Must be implemented in derived class.
Implemented in ChannelProperty< T >, and ChannelProperty< float >.
|
inline |
For internal use only.
|
inline |
For internal use only.
|
pure virtual |
Tell the property to update the assigned channel.
XRuntime | If no channel is set or if the channel does not exist. |
Implemented in ChannelProperty< T >, and ChannelProperty< float >.
|
inlinevirtual |
Sets the channelID and a necessary authority provider that is used to obtain the authority for subscribing the set channel.
Reimplemented in ChannelProperty< T >, and ChannelProperty< float >.
|
protected |
|
protected |
|
protected |
|
protected |