|
| EST_TrackMap (void) |
| Default constructor.
|
|
| EST_TrackMap (EST_TrackMap &from, int refcount) |
| Copy the mapping.
|
|
| EST_TrackMap (struct ChannelMappingElement map[]) |
| Create from static table.
|
|
void | clear (void) |
| Empty the map.
|
|
void | set (EST_ChannelType type, short pos) |
| Record the position of a channel.
|
|
short | get (EST_ChannelType type) const |
| Get the position of a channel.
|
|
short | operator() (EST_ChannelType type) const |
| Get the position of a channel.
|
|
bool | has_channel (EST_ChannelType type) const |
| Does the mapping contain a position for this channel?
|
|
short | last_channel (void) const |
| Returns the index of the last known channel.
|
|
EST_ChannelType | channel_type (unsigned short channel) const |
| Returns the type of the channel at the given position.
|
|
EST_TrackMap * | object_ptr () |
|
const EST_TrackMap * | object_ptr () const |
|
Public Member Functions inherited from EST_Handleable |
int | refcount (void) const |
|
void | start_refcounting (int initial=0) |
|
void | inc_refcount (void) |
|
void | dec_refcount (void) |
|
int | is_unreferenced (void) const |
|
int | is_refcounted (void) const |
|
Track maps provide a mapping from symbolic track names to the actual position of the information within a track frame. The symbolic names are defined by the EST_ChannelType enumerated type.
Track maps can be declared statically by code which always uses tracks of a given style, or they can be built at run time as is done by lpc_analysis to record whichinformation the user has requested. Finally they can be constructed by the Track itself from the names of the channels, for instance when a track has just been read in from a file.
- See also
- EST_Track
-
EST_ChannelType
-
EST_TrackMap:example
- Author
- Richard Caley rjc@c.nosp@m.str..nosp@m.ed.ac.nosp@m..uk
- Version
- Id
- EST_TrackMap.h,v 1.4 2004/09/29 08:24:17 robert Exp
Definition at line 62 of file EST_TrackMap.h.