VR-Forces 4.0.4 Class Documentation
include/vrvUtil/DtMessageClient.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtMessageClient.h,v $ $Revision: 1.18 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtMessageClient_H_
00014 #define DtMessageClient_H_
00015 
00016 #include <vrvUtil/vrvUtil.h>
00017 #include <string>
00018 #include <vector>
00019 
00020 namespace makVrv
00021 {
00022 
00023    class DtMessage;
00024 
00025 
00030    class DT_DLL_VRVUTIL DtMessageClient
00031    {
00032    public:
00033       
00035 
00037       DtMessageClient(const std::string& clientName);
00038 
00040       virtual ~DtMessageClient();
00041 
00043       virtual void deliver(DtMessage& msg) = 0;
00044 
00045       typedef std::vector<DtMessage*> MessageList;
00046 
00049       virtual void getServerMessages(MessageList&) = 0;
00050 
00053       typedef unsigned short IGIInterfaceID;
00054 
00056       virtual const std::string& name() const;
00057 
00058    protected:
00059 
00060       //Quick lookup map for Interface IDs.
00061       std::vector<IGIInterfaceID> myInterfaceMap;
00062 
00063       std::string myName;           
00064 
00065    };
00066 
00067 }
00068 
00069 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)