#include <bulkDataNTCallback.h>
List of all members.
Constructor & Destructor Documentation
virtual AcsBulkdata::BulkDataNTCallback::~BulkDataNTCallback |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual int AcsBulkdata::BulkDataNTCallback::cbReceive |
( |
unsigned char * |
frame_p, |
|
|
unsigned int |
size | |
|
) |
| | [pure virtual] |
virtual int AcsBulkdata::BulkDataNTCallback::cbStart |
( |
unsigned char * |
userParam_p = 0 , |
|
|
unsigned int |
size = 0 | |
|
) |
| | [pure virtual] |
virtual int AcsBulkdata::BulkDataNTCallback::cbStop |
( |
|
) |
[pure virtual] |
double AcsBulkdata::BulkDataNTCallback::getCBReceiveAvgProcessTimeout |
( |
|
) |
[inline] |
double AcsBulkdata::BulkDataNTCallback::getCBReceiveProcessTimeout |
( |
|
) |
[inline] |
const char* AcsBulkdata::BulkDataNTCallback::getFlowName |
( |
|
) |
[inline] |
const char* AcsBulkdata::BulkDataNTCallback::getReceiverName |
( |
|
) |
[inline] |
const char* AcsBulkdata::BulkDataNTCallback::getStreamName |
( |
|
) |
[inline] |
virtual void AcsBulkdata::BulkDataNTCallback::onDataLost |
( |
unsigned long |
frameCount, |
|
|
unsigned long |
totalFrames, |
|
|
ACSErr::CompletionImpl & |
error | |
|
) |
| | [virtual] |
The method is called when a frame (DDS sample) did not arrive. The default implementation just log the completion.
- Parameters:
-
| frmaeCount | - missed frame number/count |
| totalFrames | - total number of frames that should arrived |
| error | completion: SampleLostCompletion, if detected by DDS or FrameLostCompletion if detected by BD |
This method is called when an error happens in the flow's callback (cbStart/cbReceive/cbStop), and can be overridden by an user. The default implementation just logs the error completion.
- Parameters:
-
| error | - at the moment possible completion errors are: WrongFrameOrderCompletion UnknownDataTypeCompletion DDSReturnErrorCompletion CBReceiveProcessTimeoutCompletion DDSRequestedDeadlineMissedCompletion Requested DDSRequestedIncompatibleQoSCompletion |
virtual void AcsBulkdata::BulkDataNTCallback::onSenderConnect |
( |
unsigned short |
totalSeners |
) |
[inline, virtual] |
The method is called when a new sender is connected to a flow
- Parameters:
-
| totalSeners | new number os senders after connect |
virtual void AcsBulkdata::BulkDataNTCallback::onSenderDisconnect |
( |
unsigned short |
totalSeners |
) |
[inline, virtual] |
The method is called when a sender is disconnected for a flow
- Parameters:
-
| totalSeners | new number of senders, after disconnect |
void AcsBulkdata::BulkDataNTCallback::setCBReceiveAvgProcessTimeout |
( |
double |
to |
) |
|
setter method for cbReceiveAvgProcessTimeout_m
- Parameters:
-
| to | - average cbReceiver process time in sec |
void AcsBulkdata::BulkDataNTCallback::setCBReceiveProcessTimeout |
( |
double |
to |
) |
|
setter method for cbReceiveProcessTimeout_m
- Parameters:
-
| to | - maximal cbReceiver process time in sec |
void AcsBulkdata::BulkDataNTCallback::setFlowName |
( |
const char * |
name |
) |
[inline] |
void AcsBulkdata::BulkDataNTCallback::setReceiverName |
( |
ACE_CString & |
name |
) |
[inline] |
void AcsBulkdata::BulkDataNTCallback::setReceiverName |
( |
const char * |
name |
) |
[inline] |
void AcsBulkdata::BulkDataNTCallback::setStreamName |
( |
const char * |
name |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: