 
 
	 
In file ../include/EST_TrackMap.h:
| class EST_TrackMap | 
Track maps provide a mapping from symbolic track names to the actual position of the information within a track frame.
| ![[more]](icon1.gif)  | ChannelMapping 
 | 
| ![[more]](icon1.gif)  | EST_TrackMap (void) Default constructor | 
| ![[more]](icon1.gif)  | EST_TrackMap (EST_TrackMap &from, int refcount) Copy the mapping | 
| ![[more]](icon1.gif)  | EST_TrackMap (struct ChannelMappingElement map[]) Create from static table | 
| ![[more]](icon1.gif) void | clear (void) Empty the map | 
| ![[more]](icon1.gif) void | set (EST_ChannelType type, short pos) Record the position of a channel | 
| ![[more]](icon1.gif) short | get (EST_ChannelType type) const Get the position of a channel | 
| ![[more]](icon1.gif) short | operator()  (EST_ChannelType type) const Get the position of a channel | 
| ![[more]](icon1.gif) bool | has_channel (EST_ChannelType type) const Does the mapping contain a position for this channel? | 
| ![[more]](icon1.gif) short | last_channel (void) const Returns the index of the last known channel | 
| ![[more]](icon1.gif) EST_ChannelType | channel_type (unsigned short channel) const Returns the type of the channel at the given position | 
| ![[more]](icon1.gif) #define | NO_SUCH_CHANNEL (-1) Returned if we ask for a channel not in the map | 
| ![[more]](icon1.gif)  | EST_TrackMap (int refcount) Creation function used by friends to create refcounted maps | 
| ![[more]](icon1.gif)  | EST_TrackMap (const EST_TrackMap* parent, int offset, int refcount) Creation function used by friends to create sub-trak maps | 
| ![[more]](icon1.gif) void | copy (EST_TrackMap &from) copy an exiting map | 
| ![[more]](icon1.gif) void | init (void) Initialise the map | 
| ![[more]](icon1.gif) #define | EST_TM_REFCOUNTED (1) Pass to creation function to turn on refcounting | 
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.
 ChannelMapping
 ChannelMapping
 #define NO_SUCH_CHANNEL(-1)
#define NO_SUCH_CHANNEL(-1)
 #define EST_TM_REFCOUNTED(1)
#define EST_TM_REFCOUNTED(1)
 EST_TrackMap(int refcount)
 EST_TrackMap(int refcount)
 EST_TrackMap(const EST_TrackMap* parent, int offset, int refcount)
 EST_TrackMap(const EST_TrackMap* parent, int offset, int refcount)
 void copy(EST_TrackMap &from)
void copy(EST_TrackMap &from)
 void init(void)
void init(void)
 EST_TrackMap(void)
 EST_TrackMap(void)
 EST_TrackMap(EST_TrackMap &from, int refcount)
 EST_TrackMap(EST_TrackMap &from, int refcount)
 EST_TrackMap(struct ChannelMappingElement map[])
 EST_TrackMap(struct ChannelMappingElement map[])
 void clear(void)
void clear(void)
 void set(EST_ChannelType type, short pos)
void set(EST_ChannelType type, short pos)
 short get(EST_ChannelType type) const
short get(EST_ChannelType type) const 
 short operator() (EST_ChannelType type) const
short operator() (EST_ChannelType type) const 
 bool has_channel(EST_ChannelType type) const
bool has_channel(EST_ChannelType type) const 
 short last_channel(void) const
short last_channel(void) const 
 EST_ChannelType channel_type(unsigned short channel) const
EST_ChannelType channel_type(unsigned short channel) const 
 
Alphabetic index HTML hierarchy of classes or Java
 
This page is part of the 
Edinburgh Speech Tools Library documentation
Copyright  University of Edinburgh 1997
Contact:  
         speech_tools@cstr.ed.ac.uk