cmlabs::ObjectRequestQueue Class Reference

#include <ObjectRequestQueue.h>

Inheritance diagram for cmlabs::ObjectRequestQueue:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::ObjectRequestQueue:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjectRequestQueue ()
virtual ~ObjectRequestQueue ()
Objectclone () const
JString enterRequest (Object *req)
ObjectwaitForReply (JString id, long ms)
virtual unsigned long getPayloadSize () const
 Get total size of payload.
bool isEmpty ()
int getCount ()
bool waitForNewRequestToAppear (int ms)
JString waitForNewRequestID (int ms)
ObjectgetRequest (JString id)
bool reply (JString id, Object *rep)
long getBinarySize (int chunk)
 Get the size of binary data chunk, -1 for all chunks.
int getBinaryChunkCount ()
 Get the number of data chunks.
long toBinaryBuffer (int chunk, char *buffer, int maxlen)
 Write binary data to buffer at chunk number 'chunk'.
bool fromBinaryBuffer (int chunk, char *buffer, long len)
 Set the data after separate reception.
bool unitTest ()

Public Attributes

ObjectQueueinQueue
ObjectQueueoutQueue


Detailed Description

Definition at line 40 of file ObjectRequestQueue.h.


Constructor & Destructor Documentation

cmlabs::ObjectRequestQueue::ObjectRequestQueue (  ) 

Definition at line 33 of file ObjectRequestQueue.cpp.

cmlabs::ObjectRequestQueue::~ObjectRequestQueue (  )  [virtual]

Definition at line 38 of file ObjectRequestQueue.cpp.


Member Function Documentation

Object* cmlabs::ObjectRequestQueue::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 48 of file ObjectRequestQueue.h.

JString cmlabs::ObjectRequestQueue::enterRequest ( Object req  ) 

Definition at line 49 of file ObjectRequestQueue.cpp.

Object * cmlabs::ObjectRequestQueue::waitForReply ( JString  id,
long  ms 
)

Definition at line 55 of file ObjectRequestQueue.cpp.

unsigned long cmlabs::ObjectRequestQueue::getPayloadSize (  )  const [virtual]

Get total size of payload.

Reimplemented from cmlabs::Object.

Definition at line 45 of file ObjectRequestQueue.cpp.

bool cmlabs::ObjectRequestQueue::isEmpty (  ) 

Definition at line 59 of file ObjectRequestQueue.cpp.

int cmlabs::ObjectRequestQueue::getCount (  ) 

Definition at line 63 of file ObjectRequestQueue.cpp.

bool cmlabs::ObjectRequestQueue::waitForNewRequestToAppear ( int  ms  ) 

Definition at line 69 of file ObjectRequestQueue.cpp.

JString cmlabs::ObjectRequestQueue::waitForNewRequestID ( int  ms  ) 

Definition at line 73 of file ObjectRequestQueue.cpp.

Object * cmlabs::ObjectRequestQueue::getRequest ( JString  id  ) 

Definition at line 77 of file ObjectRequestQueue.cpp.

bool cmlabs::ObjectRequestQueue::reply ( JString  id,
Object rep 
)

Definition at line 81 of file ObjectRequestQueue.cpp.

long cmlabs::ObjectRequestQueue::getBinarySize ( int  chunk  )  [virtual]

Get the size of binary data chunk, -1 for all chunks.

Get the size of any binary data.

Reimplemented from cmlabs::Object.

Definition at line 92 of file ObjectRequestQueue.cpp.

int cmlabs::ObjectRequestQueue::getBinaryChunkCount (  )  [virtual]

Get the number of data chunks.

Reimplemented from cmlabs::Object.

Definition at line 109 of file ObjectRequestQueue.cpp.

long cmlabs::ObjectRequestQueue::toBinaryBuffer ( int  chunk,
char *  buffer,
int  maxlen 
) [virtual]

Write binary data to buffer at chunk number 'chunk'.

Get a pointer to the binary data at chunk number 'chunk'.

Reimplemented from cmlabs::Object.

Definition at line 119 of file ObjectRequestQueue.cpp.

bool cmlabs::ObjectRequestQueue::fromBinaryBuffer ( int  chunk,
char *  buffer,
long  len 
) [virtual]

Set the data after separate reception.

Reimplemented from cmlabs::Object.

Definition at line 136 of file ObjectRequestQueue.cpp.

bool cmlabs::ObjectRequestQueue::unitTest (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 153 of file ObjectRequestQueue.cpp.


Member Data Documentation

Definition at line 80 of file ObjectRequestQueue.h.

Definition at line 81 of file ObjectRequestQueue.h.


The documentation for this class was generated from the following files:

Generated on Tue Jul 7 16:23:40 2009 for CoreLibrary by  doxygen 1.5.6