|
virtual void | calculation () |
| Unload data into the BitSeries specified with set_output.
|
|
virtual void | open_file (const char *filename) |
| Open the file specified by filename for writing.
|
|
void | open_file (const std::string &name) |
| Convenience wrapper.
|
|
virtual void | write_header ()=0 |
| Write the file header to the open file.
|
|
virtual std::string | get_extension () const =0 |
| Get the extension to be added to the end of new filenames.
|
|
virtual int64_t | unload_bytes (const void *buffer, uint64_t nbytes) |
| Load nbyte bytes of sampled data from the device into buffer.
|
|
virtual void | operation () |
| Define the Operation pure virtual method.
|
|
virtual bool | can_operate () |
| Return false if the operation doesn't have enough data to proceed.
|
|
virtual void | set_name (const std::string &_name) |
| Set the name!
|
|
int | timers_index (const std::string &op_name) |
| Returns the index in the 'timers' array of a particular timer.
|
|
Handle * | __reference (bool active) const |
|
void | __dereference (bool auto_delete=true) const |
|
|
int | fd |
| The file descriptor.
|
|
int | header_bytes |
| The size of the header in bytes.
|
|
std::string | output_filename |
| The name of the output file.
|
|
std::string | datestr_pattern |
| The pattern used to create an output filename.
|
|
Scratch * | scratch |
| Shared scratch space, if needed.
|
|
bool | set_scratch_called |
|
std::string | name |
| Operation name.
|
|
uint64_t | discarded_weights |
| Number of time sample weights encountered that are flagged invalid.
|
|
uint64_t | total_weights |
| Total number of time sample weights encountered.
|
|
RealTimer | optime |
| Stop watch records the amount of time spent performing this operation.
|
|
int | id |
| Unique instantiation id.
|
|
bool | prepared |
| Set true when preparation optimizations are completed.
|
|
Reference::To< const BitSeries > | input |
| Container from which input data will be read.
|
|
Pure virtual base class of all objects that can unload BitSeries data.
This class defines the common interface as well as some basic functionality relating to sources of BitSeries data.