VR-Link API Documentation for DIS
tActReqInterface.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2006 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: tActReqInterface.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 #ifndef tActReqInterface_H_
00009 #define tActReqInterface_H_
00010 
00014 
00015 #if DtTENA
00016 
00017 #include "makLromMapExport.h"
00018 #include <vl/tMessageInterface.h>
00019 #include <vl/tActReqInter.h>
00020 #include <MAK/ActionRequest/Includes.h>
00021 
00022 class DtExerciseConn;
00023 
00028 class DT_DLL_MAKLROM DtActionRequestInterface : public DtMessageInterface
00029 {
00030 public:
00032    DtActionRequestInterface();
00033 
00035    virtual ~DtActionRequestInterface();
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 DtActionRequestInteraction& inter,
00050                       MAK::ActionRequest::Pointer msgPtr,
00051                       const DtGlobalObjectDesignator& messageId);
00052 
00055    static void decode(const MAK::ActionRequest::Pointer msgPtr,
00056       DtActionRequestInteraction* inter);
00057 
00058 };
00059 
00060 
00061 
00062 #endif
00063 #endif
00064 
00065 

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)