Inheritance diagram for DataOut:
Public Member Functions | |
DataOut (const DataIn &aDatIn, void *aThrStack) | |
DataOut () | |
Private Attributes | |
time_t | _processing_time |
void * | _thread_stack |
Friends | |
std::ostream & | operator<< (ostream &aO, const DataOut &aDO) |
std::istream & | operator>> (istream &aI, DataOut &aDO) |
DataOut::DataOut | ( | const DataIn & | aDatIn, | |
void * | aThrStack | |||
) | [inline] |
DataOut::DataOut | ( | ) | [inline] |
std::ostream& operator<< | ( | ostream & | aO, | |
const DataOut & | aDO | |||
) | [friend] |
It must be possible to deserialize this object without ambiguity. It is possible to use binary IOs because there are much faster. But, it is mandatory that this class is a POD (Plain Old Data).
std::istream& operator>> | ( | istream & | aI, | |
DataOut & | aDO | |||
) | [friend] |
It is possible to use binary IOs because there are much faster. But, it is mandatory that this class is a POD (Plain Old Data).
time_t DataOut::_processing_time [private] |
void* DataOut::_thread_stack [private] |
Each thread executes on a specific stack. The stack address is written on the fly, to check later that several threads were used.