VR-Forces Developer's Guide
 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 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
15 #include <boost/function.hpp>
16 
17 namespace makVrv
18 {
19  class DtModelDefinition;
20  class DtAgentManager;
21 
25  {
26  public:
27  typedef boost::function< void (DtAgentManagerInterface*) >
29 
32 
37  DtAsynchronousAgentManager(DtAgentManager& agentManager, const std::string& ownerName);
38 
43  virtual ~DtAsynchronousAgentManager();
44 
55  virtual void tick();
56 
57  //@name Locked asynchronous operations. These functions may take effect performance.
59 
60 
62  virtual void addModelDefinition(const DtModelDefinition&);
63 
64 
69  virtual DtModelDefinition* lookupModelDefinition(const std::string& str);
71 
73  AsyncAgentManagerInterfaceFunctionQueue* asyncFunctionQueue();
74 
75  protected:
78  };
79 }
DtLockedBufferedQueue< SceneManagerInterfaceFunction > AsyncAgentManagerInterfaceFunctionQueue
Definition: DtAsynchronousAgentManager.h:31
An asynchronous interface to the scene manager.
Definition: DtAsynchronousAgentManager.h:24
boost::function< void(DtAgentManagerInterface *) > SceneManagerInterfaceFunction
Definition: DtAsynchronousAgentManager.h:28
DtAgentManager & myAgentManager
Definition: DtAsynchronousAgentManager.h:76
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:42
Contains makVrv::DtLockedBufferedQueue class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
AsyncAgentManagerInterfaceFunctionQueue myAsyncFunctionQueue
Definition: DtAsynchronousAgentManager.h:77
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
Contains makVrv::DtAgentManagerInterface class.
Contains DLL export macros.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)