HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_DataThreadedIO Class Reference

#include <SIM_DataThreadedIO.h>

Public Member Functions

 SIM_DataThreadedIO ()
 
virtual ~SIM_DataThreadedIO ()
 
void enqueueLoad (SIM_DataThreadedIOTask *task)
 
void enqueueSave (SIM_DataThreadedIOTask *task)
 
void completeAllSaves (std::ostream &os)
 
bool completeAllLoads (UT_IStream &is)
 
bool anyTasks () const
 
exint memoryEstimate () const
 
void setCompressedOS (bios::filtering_stream< bios::output > *compressout)
 
bios::filtering_stream
< bios::output > * 
getCompressedOS () const
 
void clearCompressedOS ()
 

Protected Types

enum  IO_MODE { MODE_UNASSIGNED, MODE_SAVE, MODE_LOAD }
 

Protected Attributes

IO_MODE myMode
 
UT_Array
< SIM_DataThreadedIOTask * > 
myTaskList
 
bios::filtering_stream
< bios::output > * 
myCompressedOS
 

Detailed Description

Examples:
SIM/SNOW_Solver.C, and SIM/SNOW_Solver.h.

Definition at line 33 of file SIM_DataThreadedIO.h.

Member Enumeration Documentation

Enumerator
MODE_UNASSIGNED 
MODE_SAVE 
MODE_LOAD 

Definition at line 60 of file SIM_DataThreadedIO.h.

Constructor & Destructor Documentation

SIM_DataThreadedIO::SIM_DataThreadedIO ( )
virtual SIM_DataThreadedIO::~SIM_DataThreadedIO ( )
virtual

Member Function Documentation

bool SIM_DataThreadedIO::anyTasks ( ) const
inline

Definition at line 45 of file SIM_DataThreadedIO.h.

void SIM_DataThreadedIO::clearCompressedOS ( )
inline

Definition at line 51 of file SIM_DataThreadedIO.h.

bool SIM_DataThreadedIO::completeAllLoads ( UT_IStream is)
void SIM_DataThreadedIO::completeAllSaves ( std::ostream &  os)
void SIM_DataThreadedIO::enqueueLoad ( SIM_DataThreadedIOTask task)
void SIM_DataThreadedIO::enqueueSave ( SIM_DataThreadedIOTask task)
bios::filtering_stream<bios::output>* SIM_DataThreadedIO::getCompressedOS ( ) const
inline

Definition at line 50 of file SIM_DataThreadedIO.h.

exint SIM_DataThreadedIO::memoryEstimate ( ) const
void SIM_DataThreadedIO::setCompressedOS ( bios::filtering_stream< bios::output > *  compressout)
inline

Definition at line 49 of file SIM_DataThreadedIO.h.

Member Data Documentation

bios::filtering_stream<bios::output>* SIM_DataThreadedIO::myCompressedOS
protected

Definition at line 70 of file SIM_DataThreadedIO.h.

IO_MODE SIM_DataThreadedIO::myMode
protected

Definition at line 67 of file SIM_DataThreadedIO.h.

UT_Array<SIM_DataThreadedIOTask *> SIM_DataThreadedIO::myTaskList
protected

Definition at line 68 of file SIM_DataThreadedIO.h.


The documentation for this class was generated from the following file: