class DataNode

A generic data handling object More...

Full nameTelEngine::DataNode
Definition#include <yatephone.h>
InheritsTelEngine::RefObject [public ]
Inherited byDataConsumer, DataSource, DataTranslator, ThreadedSource
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Members


Detailed Description

A generic data handling object

inline  DataNode (const char* format = 0)

DataNode

Construct a DataNode

Parameters:
formatDescription of the data format, default none

int  costFormat (const DataFormat& format)

costFormat

[virtual]

Get the computing cost of converting the data to the format asked

Parameters:
formatName of the format to check for

Returns: -1 if unsupported, 0 for native format else cost in KIPS

bool  setFormat (const DataFormat& format)

setFormat

[virtual]

Change the format used to transfer data

Parameters:
formatName of the format to set for data

Returns: True if the format changed successfully, false if not changed

inline const DataFormat&  getFormat ()

getFormat

[const]

Get the description of the format currently in use

Returns: Pointer to the data format

inline unsigned long  timeStamp ()

timeStamp

[const]

Get the current position in the data stream

Returns: Timestamp of current data position

inline unsigned long  invalidStamp ()

invalidStamp

[static]

Get the internal representation of an invalid or unknown timestamp

Returns: Invalid timestamp - unsigned long conversion of -1

DataFormat m_format

m_format

[protected]

unsigned long m_timestamp

m_timestamp

[protected]


Generated by: root on dragoshel on Sat Apr 14 01:50:50 2007, using kdoc 2.0a54.