 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_CRC32_CALCULATOR_INTERFACE_H_
9 #define SDK_CRC32_CALCULATOR_INTERFACE_H_
22 class ICRC32Calculator :
public sdk::ISDKComponent {
28 const sdk::base::ISDKStreamSP& stream_in,
29 SDKCRC32& ret_val)
const throw() = 0;
32 virtual void SDK_CALLTYPE
Restart() throw() = 0;
39 SDKUInt64 data_size) throw() = 0;
48 SDK_IMPLEMENT_IID(ICRC32Calculator)
49 SDK_END_INTERFACE(ICRC32Calculator)
51 SDK_DECLARE_IID(ICRC32Calculator)
virtual SDKResult SDK_CALLTYPE Final(SDKCRC32 &ret_val)=0
Finalizes the operation.
virtual SDKResult SDK_CALLTYPE Update(const SDKUInt8 *buf, SDKUInt64 data_size)=0
Updates the next buffer.
SDKUInt32 SDKCRC32
CRC32 value.
Definition: base_types.h:403
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
Generic data stream interface.
Common base SDK interfaces.
virtual SDKResult SDK_CALLTYPE Calculate(const sdk::base::ISDKStreamSP &stream_in, SDKCRC32 &ret_val) const =0
Calculates the CRC32 for SDKStream.
virtual void SDK_CALLTYPE Restart()=0
Restarts the operation.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.