VR-Forces 4.1 Class Documentation
DtVrvCommandProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrlinkRemoteGraphicSetProcessor.h,v $ $Revision: 1.8 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #ifndef DT_PROTOCOL_NAMESPACE
15 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
16 #endif
17 #include <vrvVrl/vrvVrl.h>
18 #include <vrvCore/DtUniqueID.h>
22 #include <vl/dataInter.h>
23 
24 namespace makVrv
25 {
26  class DtVrvCommand;
27  class DtVrvCommandFactory;
28  class DtVrvCommandExecutorAgent;
29  class DtVrlinkDriver;
30 
31  namespace DT_PROTOCOL_NAMESPACE
32  {
33  class DtVrlinkConnection;
34 
39  {
40  public:
42  static DtVrvCommandProcessor* findInstance(DtVrlinkConnection& baseSimulation);
43 
45  static void registerInstance(DtVrlinkConnection& baseSimulation, DtVrvCommandProcessor*);
46 
47 
49  DtVrvCommandProcessor(DtVrlinkConnection& baseSimulation, DtVrlinkDriver& driver );
50 
52  virtual ~DtVrvCommandProcessor();
53 
54  protected:
55  virtual DtVrvCommand* createCommand(vrvControlToolkit::DtVrvControl_v1* vrvControl);
56  virtual DtVrvCommand* createCommand_v0(vrvControlToolkit::DtVrvControl_v0* vrvControl);
57  virtual void processInteraction(const DtDataInteraction& dataInter);
58  virtual bool dataInteractionForUs(const DtDataInteraction& dataInter);
59  virtual void processVrvCommand(DtVrvCommand* cmd);
60  virtual DtUniqueID findUniqueIdFromGlobalId(const std::string& id);
61 
64  DtVrvCommandExecutorAgent* myVrvCommandExecutor;
66  };
67 
68  }
69 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)