MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lcDisconnect.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "lcPdu.h"
12 
14 typedef struct DtLgrDisconnectData
15 {
16  DtNetU16 loggerNameLength;
17  DtNetU16 loggerNameOffset;
18  // DtNetU8 loggerName[];
20 
21 
26 {
27 public:
28 
31  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
32 
35  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
36 
38  DtLgrDisconnectPdu( const DtEntityIdentifier& sender,
39  const DtEntityIdentifier& receiver, const DtString& name,
40  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
41 
43  virtual ~DtLgrDisconnectPdu();
44 
47 
50 
51  virtual const char* loggerName() const;
52  virtual void setLoggerName( const DtString& name );
53 
55  virtual void printDataToStream(std::ostream& stream) const;
56 
57 protected:
59  void initData();
60 
62  virtual DtLgrDisconnectData* params() const;
63 };
64 
65 
Definition: lgrControlP.h:61
Instances of DtLgrDisconnectPdu are used to convey to a remote logger- controller the total current s...
Definition: lcDisconnect.h:25
DtNetU16 loggerNameOffset
Definition: lcDisconnect.h:17
DtLgrControlPdu & operator=(const DtLgrControlPdu &src)
assignment operator
Instances of DtLgrControlPdu are a family of messages used to control a remote instance of the MAK-Lo...
Definition: lcPdu.h:137
struct DtLgrDisconnectData DtLgrDisconnectData
Network representation of logger state data.
Contains DtLgrControlPdu.
Network representation of logger state data.
Definition: lcDisconnect.h:14
virtual void printDataToStream(std::ostream &stream) const
Print contents.
DtNetU16 loggerNameLength
Definition: lcDisconnect.h:16
#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)