Libbarrett  1.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
barrett::log::RealTimeWriter< T, Traits > Class Template Reference
Inheritance diagram for barrett::log::RealTimeWriter< T, Traits >:
barrett::log::Writer< T, Traits >

List of all members.

Public Types

typedef Writer< T, Traits >
::parameter_type 
parameter_type

Public Member Functions

 RealTimeWriter (const char *fileName, double recordPeriod_s, int priority_=DEFAULT_PRIORITY)
 RealTimeWriter (const char *fileName, double approxPeriod_s, size_t recordsInSingleBuffer, int priority_=DEFAULT_PRIORITY)
void putRecord (parameter_type data)
void close ()

Static Public Attributes

static const int DEFAULT_PRIORITY = 20

Protected Member Functions

void init (size_t recordsInSingleBuffer)
void writeToDiskEntryPoint ()

Protected Attributes

double period
size_t singleBufferSize
char * inBuff
char * outBuff
char * endInBuff
char * endOutBuff
char * currentPos
bool writeToDisk
boost::thread thread
int priority

template<typename T, typename Traits = Traits<T>>
class barrett::log::RealTimeWriter< T, Traits >


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines