MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lcAcknowledge.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "lcPdu.h"
12 
13 typedef struct DtLgrAcknowledgeData
14 {
15  DtNetU32 accepted;
17 
19  + sizeof(DtLgrAcknowledgeData);
20 
25 {
26 public:
27 
29  DtLgrAcknowledgePdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
30 
33  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
34 
36  DtLgrAcknowledgePdu( const DtEntityIdentifier& sender,
37  const DtEntityIdentifier& receiver, bool processedOk,
38  int pduSize=theAcknowledgePduSize, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
39 
41  virtual ~DtLgrAcknowledgePdu();
42 
45 
48 
50  virtual bool accepted() const;
51  virtual void setAccepted( bool cmdResult);
52 
54  virtual void printDataToStream(std::ostream& stream) const;
55 
56 protected:
57 
59  virtual DtLgrAcknowledgeData* params() const;
60 };
61 
62 

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)