Main Page | Modules | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

ProcFileSink Class Reference

#include <ProcBasic.hh>

Inherits DataProcessor.

List of all members.


Detailed Description

Data processor to accept and buffer severalinputs.

This class implements a basic data sink processor which accepts a number of input channels and writes their values to a file. The values of the inputs are buffered and can be accessed through the class interface as well.

The names of the input channels can be reconfigured using one of the constructors.

Inputs:


Public Member Functions

 ProcFileSink (const char *name, int index, int inputs, const char **chan)
 ProcFileSink (const char *name, int index, int inputs)
 ProcFileSink (const char *name, int index)
ProcFloat getValue (unsigned int input)
ProcFloat getValue (void)
virtual void update (void)


Member Function Documentation

ProcFloat ProcFileSink::getValue void   )  [inline]
 

This method can be used to retrieve the input value from "input0". It is provided as a convenience function for instances with only one output.

ProcFloat ProcFileSink::getValue unsigned int  input  )  [inline]
 

This method can be used to retrieve an input value buffered by the processor.


SimLib Reference Documentation