Torque3D Documentation / _generateds / CSVSamplerBackend

CSVSamplerBackend

Engine/source/util/sampler.cpp

A sampler backend that outputs samples to a CSV file.

More...

Classes:

class

Value holder for an individual sample.

Private Attributes

Private Functions

bool
init(const char * fileName)

Open the file and emit a row with the names of all enabled keys.

SampleRecord *
lookup(U32 key)
sample(U32 key, bool value)
sample(U32 key, const char * value)
sample(U32 key, F32 value)
sample(U32 key, S32 value)

Detailed Description

A sampler backend that outputs samples to a CSV file.

Private Attributes

Vector< SampleRecord > mRecords 
FileStream mStream 

Private Functions

~CSVSamplerBackend()

beginFrame()

Reimplemented from: ISamplerBackend

endFrame()

Reimplemented from: ISamplerBackend

init(const char * fileName)

Reimplemented from: ISamplerBackend

lookup(U32 key)

newline()

sample(U32 key, bool value)

Reimplemented from: ISamplerBackend

sample(U32 key, const char * value)

Reimplemented from: ISamplerBackend

sample(U32 key, F32 value)

Reimplemented from: ISamplerBackend

sample(U32 key, S32 value)

Reimplemented from: ISamplerBackend