Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::Translator Class Reference

#include <translator.h>

List of all members.

Public Types

enum  {
  ERR_OK = 0,
  ERR_INVALID_DATA = -1,
  ERR_SUSPENDED = -2
}

Public Methods

 Translator ()
virtual ~Translator ()
void SetMessage (const Message &cMsg)
void SetTarget (const Messenger &cTarget, bool bSendData)
void SetTarget (DataReceiver *pcTarget)
virtual void SetConfig (const Message &cConfig)=0
virtual status_t AddData (const void *pData, size_t nLen, bool bFinal)
virtual ssize_t AvailableDataSize ()=0
virtual ssize_t Read (void *pData, size_t nLen)=0
virtual void Abort ()=0
virtual void Reset ()=0

Protected Methods

virtual status_t DataAdded (void *pData, size_t nLen, bool bFinal)
void Invoke (void *pData, size_t nSize, bool bFinal)


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ERR_OK  
ERR_INVALID_DATA  
ERR_SUSPENDED  


Constructor & Destructor Documentation

Translator::Translator
 

Translator::~Translator [virtual]
 


Member Function Documentation

virtual void os::Translator::Abort [pure virtual]
 

status_t Translator::AddData const void * pData,
size_t nLen,
bool bFinal
[virtual]
 

virtual ssize_t os::Translator::AvailableDataSize [pure virtual]
 

status_t Translator::DataAdded void * pData,
size_t nLen,
bool bFinal
[protected, virtual]
 

void Translator::Invoke void * pData,
size_t nSize,
bool bFinal
[protected]
 

virtual ssize_t os::Translator::Read void * pData,
size_t nLen
[pure virtual]
 

virtual void os::Translator::Reset [pure virtual]
 

virtual void os::Translator::SetConfig const Message & cConfig [pure virtual]
 

void Translator::SetMessage const Message & cMsg
 

void Translator::SetTarget DataReceiver * pcTarget
 

void Translator::SetTarget const Messenger & cTarget,
bool bSendData
 


Generated at Tue Sep 11 15:27:56 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001