class IOBufferize

This IO bufferizes the asked sequence of a given IO when calling getSequence().

Inheritance:


Public Fields

[more]IOSequence* io_torch
IO to be bufferized
[more]Sequence* bufferized_sequence
The bufferized sequence
[more]int bufferized_sequence_index
The bufferized sequence index

Public Methods

[more] IOBufferize(IOSequence* io_torch_)
[more]void bufferizeSequence(int t)
Force sequence t to be bufferized


Inherited from IOSequence:

Public Fields

oint n_sequences
oint frame_size

Public Methods

ovirtual int getNumberOfFrames(int t)
ovirtual void getSequence(int t, Sequence* sequence)
ovirtual int getTotalNumberOfFrames()


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

This IO bufferizes the asked sequence of a given IO when calling getSequence(). Then, if the next call of getSequence() ask for the same sequence, it will return it without asking the given IO.

oIOSequence* io_torch
IO to be bufferized

oSequence* bufferized_sequence
The bufferized sequence

oint bufferized_sequence_index
The bufferized sequence index

o IOBufferize(IOSequence* io_torch_)

ovoid bufferizeSequence(int t)
Force sequence t to be bufferized


This class has no child classes.
Author:
Ronan Collobert (collober@idiap.ch)

Alphabetic index HTML hierarchy of classes or Java



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