0 if the implementation and imp are identical.
virtual void Reset(void) = 0
Reset the implementation to an initialized state.
virtual GPL_Boolean Read(void *buffer, const unsigned long size, unsigned long & length, DNA_Error & error) = 0
Read size bytes from the message bus into buffer. Upon return,
length contains the actual number of bytes read. Return TRUE
if the read succeeds and FALSE if the read fails. Upon return,
error contains any errors. Derived classes must provide this
method.
virtual GPL_Boolean Read(void *buffer, const unsigned long size, const long timeout, unsigned long & length, DNA_Error & error) = 0
Read size bytes from the message bus into buffer , waiting at
least timeout milliseconds for the data to be available. Upon
return, length contains the actual number of bytes read. Return
TRUE if the read succeeds and FALSE if the read fails. If
no data arrives before the timeout, FALSE is returned and the
value of error.type is DNA_ERROR_NO_DATA_AVAILABLE . Upon
return, error contains any errors. Derived classes must provide
this method.
virtual GPL_Boolean Write(void *buffer, const unsigned long size, unsigned long & length, DNA_Error & error) = 0
Write size bytes from buffer onto the message bus. Upon
return, length contains the actual number of bytes written. Return
TRUE if the read succeeds and FALSE if the read fails.
Upon return, error contains any errors. Derived classes must
provide this method.