ComplexChannel::SubchanKey Struct Reference

Refer to a subchannel by one of: its index, its tagname, its address. More...

#include <Channels/ComplexChannel.H>

Collaboration diagram for ComplexChannel::SubchanKey:
Collaboration graph
[legend]

List of all members.

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
ChannelBaseaddr

Detailed Description

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.


Constructor & Destructor Documentation

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.


The documentation for this struct was generated from the following file:
Generated on Sun May 8 08:20:58 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3