VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAsynchronousAgentManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtAsynchronousAgentManager.h,v $ $Revision: 1.11 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/vrvCore.h>
18 #include <boost/function.hpp>
19 
20 namespace makVrv
21 {
22  class DtModelDefinition;
23  class DtAgentManager;
24 
28  {
29  public:
30  typedef boost::function< void (DtAgentManagerInterface*) >
32 
35 
40  DtAsynchronousAgentManager(DtAgentManager& agentManager, const std::string& ownerName);
41 
46  virtual ~DtAsynchronousAgentManager();
47 
58  virtual void tick();
59 
60  //@name Locked asynchronous operations. These functions may take effect performance.
62 
63 
65  virtual void addModelDefinition(const DtModelDefinition&);
66 
67 
72  virtual DtModelDefinition* lookupModelDefinition(const std::string& str);
74 
76  AsyncAgentManagerInterfaceFunctionQueue* asyncFunctionQueue();
77 
78  protected:
81  };
82 }
DtLockedBufferedQueue< SceneManagerInterfaceFunction > AsyncAgentManagerInterfaceFunctionQueue
Definition: DtAsynchronousAgentManager.h:34
An asynchronous interface to the scene manager.
Definition: DtAsynchronousAgentManager.h:27
boost::function< void(DtAgentManagerInterface *) > SceneManagerInterfaceFunction
Definition: DtAsynchronousAgentManager.h:31
DtAgentManager & myAgentManager
Definition: DtAsynchronousAgentManager.h:79
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:33
Contains makVrv::DtLockedBufferedQueue class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
AsyncAgentManagerInterfaceFunctionQueue myAsyncFunctionQueue
Definition: DtAsynchronousAgentManager.h:80
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:36
Contains makVrv::DtAgentManagerInterface class.
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)