VR-Link API Documentation for HLA Evolved
tComntInterface.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2006 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: tComntInterface.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 #ifndef tCommentInterface_H_
00009 #define tCommentInterface_H_
00010 
00014 
00015 #if DtTENA
00016 
00017 #include "makLromMapExport.h"
00018 #include <vl/tMessageInterface.h>
00019 #include <vl/tCommentInter.h>
00020 #include <MAK/Comment/Includes.h>
00021 
00022 class DtExerciseConn;
00023 
00028 class DT_DLL_MAKLROM DtCommentInterface : public DtMessageInterface
00029 {
00030 public:
00032    DtCommentInterface();
00033 
00035    virtual ~DtCommentInterface();
00036 
00038    virtual void send(const DtInteraction& inter, DtExerciseConn& exConn) const;
00039 
00041    virtual void addCallback(DtExerciseConn* conn, void* usr);
00042 
00044    virtual void removeCallback(DtExerciseConn* conn, void* usr);
00045 
00046 public:
00049    static void encode(const DtCommentInteraction& inter,
00050                       MAK::Comment::Pointer msgPtr,
00051                       const DtGlobalObjectDesignator& messageId);
00052 
00054    static void decode(const MAK::Comment::Pointer msgPtr,
00055       DtCommentInteraction* inter);
00056 
00057 };
00058 
00059 
00060 
00061 #endif
00062 #endif
00063 
00064 

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)