#include <yatephone.h>
Inheritance diagram for DataNode:
Public Member Functions | |
DataNode (const char *format=0) | |
virtual int | costFormat (const DataFormat &format) |
virtual bool | setFormat (const DataFormat &format) |
const DataFormat & | getFormat () const |
unsigned long | timeStamp () const |
Static Public Member Functions | |
static unsigned long | invalidStamp () |
Protected Attributes | |
DataFormat | m_format |
unsigned long | m_timestamp |
DataNode | ( | const char * | format = 0 |
) | [inline] |
Construct a DataNode
format | Description of the data format, default none |
virtual int costFormat | ( | const DataFormat & | format | ) | [inline, virtual] |
Get the computing cost of converting the data to the format asked
format | Name of the format to check for |
virtual bool setFormat | ( | const DataFormat & | format | ) | [inline, virtual] |
Change the format used to transfer data
format | Name of the format to set for data |
const DataFormat& getFormat | ( | ) | const [inline] |
Get the description of the format currently in use
unsigned long timeStamp | ( | ) | const [inline] |
Get the current position in the data stream
static unsigned long invalidStamp | ( | ) | [inline, static] |
Get the internal representation of an invalid or unknown timestamp