Refer to a subchannel by one of: its index, its tagname, its address. More...
#include <Channels/ComplexChannel.H>
Public Member Functions | |
SubchanKey (uint i) | |
Initialize with an integer index. | |
SubchanKey (const char *t) | |
Initialize with a tag name. | |
SubchanKey (ChannelBase &c) | |
Initialize with a channel reference. | |
Public Attributes | |
uint | index |
const char * | tag |
ChannelBase * | addr |
Refer to a subchannel by one of: its index, its tagname, its address.
Only one of the pieces of information will be valid. Inside the ComplexChannel functions that use SubchanKey, we will determine which one of the keys is the valid one, and use that one to look up the subchannel itself.
Definition at line 58 of file ComplexChannel.H.
ComplexChannel::SubchanKey::SubchanKey | ( | uint | i | ) | [inline] |
Initialize with an integer index.
Definition at line 61 of file ComplexChannel.H.
ComplexChannel::SubchanKey::SubchanKey | ( | const char * | t | ) | [inline] |
Initialize with a tag name.
Definition at line 64 of file ComplexChannel.H.
ComplexChannel::SubchanKey::SubchanKey | ( | ChannelBase & | c | ) | [inline] |
Initialize with a channel reference.
Definition at line 67 of file ComplexChannel.H.