MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lcResponse.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 "lcCommand.h"
12 
13 typedef const char* (*DtDomainToStringFunc)(int domain);
14 typedef const char* (*DtCommandToStringFunc)(int domain, int command);
15 
20 {
21 public:
22 
24  DtLgrResponsePdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
25 
27  DtLgrResponsePdu( const DtNetLgrControlPdu* initial,
28  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
29 
31  DtLgrResponsePdu( const DtEntityIdentifier& sender,
32  const DtEntityIdentifier& receiver, int commandDomain, int commandProtocol,
33  int commandId, const DtString& parametersBuffer, int pduSize=theCommandPduSize,
34  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
35 
37  virtual ~DtLgrResponsePdu();
38 
40  DtLgrResponsePdu( const DtLgrResponsePdu& src );
41 
44 
46  virtual void printDataToStream(std::ostream& stream) const;
47 
48 };
const int theCommandPduSize
Definition: lcCommand.h:23
DtLgrCommandPdu & operator=(const DtLgrCommandPdu &src)
assignment operator
virtual void printDataToStream(std::ostream &stream) const
Print contents.
Definition: lgrControlP.h:61
Instances of DtLgrCommandPdu are to respond to a remote controller with the result of a logger comman...
Definition: lcCommand.h:33
Instances of DtLgrResponsePdu are to respond to a remote controller with the result of a logger comma...
Definition: lcResponse.h:19
Contains DtLgrCommandPdu.
#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 Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)