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 
Definition: lgrControlP.h:61
DtNetU32 accepted
Definition: lcAcknowledge.h:15
const size_t theLgrControlPduSizeSansParams
Definition: lgrControlP.h:80
DtLgrControlPdu & operator=(const DtLgrControlPdu &src)
assignment operator
Definition: lcAcknowledge.h:13
Instances of DtLgrControlPdu are a family of messages used to control a remote instance of the MAK-Lo...
Definition: lcPdu.h:139
Contains DtLgrControlPdu.
struct DtLgrAcknowledgeData DtLgrAcknowledgeData
Instances of DtLgrAcknowledgePdu are to respond to a remote controller with the result of a logger co...
Definition: lcAcknowledge.h:24
virtual void printDataToStream(std::ostream &stream) const
Print contents.
const int theAcknowledgePduSize
Definition: lcAcknowledge.h:18
#define DT_DLL_LOGGERCONTROL
Include vlconfig.h to get relivant platform info like if we need declspec stuff or not...
Definition: loggerControlDefines.h:31

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)