VR-Vantage 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
MyObjectAgent Class Reference

Agent class for the scene object class: MyObject. More...

Inheritance diagram for MyObjectAgent:
Inheritance graph
[legend]

Public Member Functions

 MyObjectAgent ()
 CTOR.
virtual ~MyObjectAgent ()
 DTOR.
MyObjectfindObject ()
 Attempt to find the actual object the agent is controlling.
const MyObjectfindObject () const
virtual void createModel ()=0
virtual void setRotationAngle (double rotationAngleInDegrees)=0
- Public Member Functions inherited from makVrv::DtAgent
virtual ~DtAgent ()
 DTOR.
DtAgentManagerInterfacesceneInterface ()
 Get the scene interface, the scene interface may not be NULL (so a reference is safe.
void setSceneInterface (DtAgentManagerInterface *iface)
 Set the internal scene interface pointer.
void init (DtAgentManagerInterface &sceneInterface, bool bDistribute)
 Initialize the object proxy this must be called once before using the object.
const std::stringclassName () const
 Get the class name.
void clean ()
void dirty ()
DtUniqueID uniqueId () const
 inline accessor
bool distributeMessages () const
 Accessor for myDistributeMessageFlag.

Static Public Member Functions

static MyObjectAgentcreate (makVrv::DtAgentManagerInterface &sceneInterface, bool bDistribute=true)
 Static helper creator.

Protected Member Functions

virtual MyObjectfindObjectAsMyObject ()=0
- Protected Member Functions inherited from makVrv::DtAgent
DtMessagestartNewCall (unsigned int function)
 Inline get arguments for a operation call operation.
void addCreateObjectCall ()
 Add a call which will create the actual object.
void addDeleteObjectCall ()
 Add a call to delete an object.
unsigned int callCount () const
 Get the number of calls.
template<typename C >
void queueOperationCall (unsigned int state_function, void(C::*m)())
 DtAgent ()
 Support up to 9 args, if more needed simply add, as they are template functions that will be dynamically generated.
 DtAgent (DtAgent &)
 Copy CTOR is used internally for last update values.
DtAgentManagerInterface::OrderedCallListcallList ()
 Get a pointer to the call list.

Additional Inherited Members

- Protected Attributes inherited from makVrv::DtAgent
DtAgentManagerInterfacemySceneInterface
DtUniqueID myUniqueId
std::string myClassName
bool myUpdateFlag
DtAgentManagerInterface::OrderedCallList myCalls
bool myDistributeObjectFlag

Detailed Description

Agent class for the scene object class: MyObject.

Constructor & Destructor Documentation

MyObjectAgent::MyObjectAgent ( )

CTOR.

virtual MyObjectAgent::~MyObjectAgent ( )
virtual

DTOR.

Member Function Documentation

static MyObjectAgent* MyObjectAgent::create ( makVrv::DtAgentManagerInterface sceneInterface,
bool  bDistribute = true 
)
static

Static helper creator.

MyObject* MyObjectAgent::findObject ( )

Attempt to find the actual object the agent is controlling.

Warning
Any modifications to the actual object will NOT work when using distributed rendering.
const MyObject* MyObjectAgent::findObject ( ) const
virtual void MyObjectAgent::createModel ( )
pure virtual

Implemented in MyObjectAgentImplementation.

virtual void MyObjectAgent::setRotationAngle ( double  rotationAngleInDegrees)
pure virtual

Implemented in MyObjectAgentImplementation.

virtual MyObject* MyObjectAgent::findObjectAsMyObject ( )
protectedpure virtual

Implemented in MyObjectAgentImplementation.


The documentation for this class was generated from the following file:


Copyright © 2005-2018 VT MAK. All Rights Reserved (www.mak.com)