MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hLcInter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1997 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #if DtHLA
12 
13 #include "loggerControlDefines.h"
14 #include <vl/interactionWithEncDec.h>
15 #include "lcPdu.h"
16 
19 
20 
23  void* usr );
24 
29 {
30 public:
31 
34 
36  virtual ~DtLgrControlInteraction();
37 
40 
42  DtLgrControlInteraction& operator=( const DtLgrControlInteraction& src );
43 
45  virtual void printData() const;
46 
48  virtual inline const DtLgrControlPdu* lcPdu() const { return myLcPdu; }
49  virtual void setLcPdu( const DtLgrControlPdu& pdu );
50  virtual void setFromNetPacket( const DtNetPacket* pack );
51 
53  virtual inline const char* name() const { return "DtLgrControlInteraction"; }
54 
55 public:
56 
59  static DtInteraction* create();
60 
63  static void addCallback( DtExerciseConn* conn,
64  DtLgrControlInteractionCb cb, void* usr );
65  static void removeCallback( DtExerciseConn* conn,
66  DtLgrControlInteractionCb cb, void* usr );
67 
68 protected:
69  virtual const char* interactionClassToUse(DtExerciseConn* exConn) const;
70  virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
71  virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
72 
73 
74 protected:
76 };
77 
78 #endif
virtual const char * name() const
Name of the interaction.
Definition: hLcInter.h:53
virtual const DtLgrControlPdu * lcPdu() const
Get/Set a logger control PDU.
Definition: hLcInter.h:48
Instances of DtLgrControlInteraction are used to represent LgrControl Interactions in HLA...
Definition: hLcInter.h:28
Instances of DtLgrControlPdu are a family of messages used to control a remote instance of the MAK-Lo...
Definition: lcPdu.h:137
void(* DtLgrControlInteractionCb)(DtLgrControlInteraction *inter, void *usr)
LgrControl interaction callback function signature.
Definition: hLcInter.h:22
Contains DtLgrControlPdu.
class DT_DLL_MATREX_TSPI_FOM_MAP DtInteraction
Definition: matrexTspiTagModifier.h:20
Contains export defines for logger control toolkit.
DtLgrControlPdu * myLcPdu
Definition: hLcInter.h:75
#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 Sep 2 15:35:22 EDT 2021 from SVN revision 233992
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)