class DataNode

A generic data handling object More...

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

Public Methods

Protected Members


Detailed Description

A generic data handling object

 DataNode (const char *format = 0)

DataNode

Construct a DataNode

Parameters:
formatName of the data format, default none

int  costFormat (const String &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 String &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 String & getFormat ()

getFormat

[const]

Get the name of the format currently in use

Returns: Name of the data format

inline unsigned long  timeStamp ()

timeStamp

[const]

Get the current position in the data stream

Returns: Timestamp of current data position

String m_format

m_format

[protected]

unsigned long m_timestamp

m_timestamp

[protected]


Generated by: kk on nyx on Sat Jun 4 19:29:41 2005, using kdoc 2.0a54.