VR-Link API Documentation for HLA 1.3
tInteraction.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #ifndef tInteraction_H_
00008 #define tInteraction_H_
00009 
00010 #if DtTENA
00011 
00012 #include <vlutil/vlString.h>
00013 #include <vlpi/entityIdentifier.h>
00014 #include <vlpi/entityType.h>
00015 #include "globalObjDes.h"
00016 #include <vlpi/simulationAddress.h>
00017 #include "eventId.h"
00018 
00023 
00024 class DT_DLL_VL DtExerciseConn;
00025 
00029 class DT_DLL_VL DtInteraction
00030 {
00031 public:
00033    DtInteraction();
00034 
00036    virtual ~DtInteraction();
00037 
00039    DtInteraction(const DtInteraction& orig);
00040 
00042    DtInteraction& operator=(const DtInteraction& orig);
00043 
00045    virtual const char* name() const = 0;
00046 
00048    virtual void printData() const;
00049 
00051    virtual void printDataToString(DtString& buff) const;
00052 
00054    virtual void printDataToStream(std::ostream& stream) const = 0;
00055 
00057    virtual void setMessageId(const DtGlobalObjectDesignator& id);
00058 
00061    virtual const DtString& interfaceToUse(DtExerciseConn* conn) const;
00062 
00064    virtual const DtGlobalObjectDesignator& messageId() const;
00065 protected:
00066    DtGlobalObjectDesignator myMessageIdentifier;
00067 
00068 };
00069 
00070 inline void DtInteraction::printData() const
00071 {
00072 }
00073 
00074 inline void DtInteraction::printDataToString(DtString& buff) const
00075 {
00076 }
00077 
00078 inline void DtInteraction::printDataToStream(std::ostream& stream) const
00079 {
00080 }
00081 
00082 
00083 
00084 
00085 DT_DLL_VL std::ostream & operator << (std::ostream &str, const DtInteraction &inter);
00086 
00087 #endif
00088 #endif
00089 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)