class IOSequence

Class which provides an ensemble of sequences, which have the same frame size, but could have different number of frames.

Inheritance:


Public Fields

[more]int n_sequences
Number of sequences in the interface
[more]int frame_size
Frame size of each sequence

Public Methods

[more] IOSequence()
[more]virtual int getNumberOfFrames(int t) = 0
Returns the number of frames of the sequence indexed by t
[more]virtual void getSequence(int t, Sequence* sequence) = 0
Write the sequence t in sequence.
[more]virtual int getTotalNumberOfFrames() = 0
Returns the total number of frames in the IO


Inherited from Object:

Public Fields

oAllocator* allocator

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="")
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="")
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="")
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
ovoid addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovoid setOOption(const char* name, Object* option)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)
ovoid load(const char* filename)
ovoid save(const char* filename)
ovoid* operator new(size_t size, Allocator* allocator_=NULL)
ovoid* operator new(size_t size, Allocator* allocator_, void* ptr_)
ovoid operator delete(void* ptr)


Documentation

Class which provides an ensemble of sequences, which have the same frame size, but could have different number of frames.

oint n_sequences
Number of sequences in the interface

oint frame_size
Frame size of each sequence

o IOSequence()

ovirtual int getNumberOfFrames(int t) = 0
Returns the number of frames of the sequence indexed by t

ovirtual void getSequence(int t, Sequence* sequence) = 0
Write the sequence t in sequence. Sequence must have the size returned by getNumberOfFrames().

ovirtual int getTotalNumberOfFrames() = 0
Returns the total number of frames in the IO


Direct child classes:
IOSub
IOMulti
IOHTKTarget
IOHTK
IOBufferize
IOBin
IOAscii
Author:
Ronan Collobert (collober@idiap.ch)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.