VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfTakeOwnershipResponse Class Reference

Will send a response to taking ownership and progress along the way.

Inheritance diagram for DtIfTakeOwnershipResponse:
Inheritance graph
[legend]

Public Types

enum  Status {
  Unknown = 0, Unsupported = 1, Refused = 2, WillTransfer = 3,
  InProgress = 4, GainedOwnership = 5, LostOwnership = 6, MultipleRequests = 7
}
 

Public Member Functions

 DtIfTakeOwnershipResponse ()
 
virtual ~DtIfTakeOwnershipResponse () override
 
 DtIfTakeOwnershipResponse (const DtIfTakeOwnershipResponse &orig)
 
DtIfTakeOwnershipResponse & operator= (const DtIfTakeOwnershipResponse &orig)
 
virtual int type () const override
 
virtual DtSimInterfaceContent * clone () const override
 
virtual void setUUID (const DtUUID &)
 
const DtUUID & takeOwnershipOf () const
 
virtual void setStatus (Status)
 
Status status () const
 
virtual int netRepSize () const override
 
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize) override
 
virtual bool setToNet () override
 
virtual void printDataToString (DtString &str) override
 
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
 
virtual bool update (const DtSimInterfaceContent *data)
 
virtual char * netRep ()
 
virtual void printContentType (DtString &str)
 
virtual void setUseSessionId (bool yesNo)
 
virtual bool useSessionId () const
 

Static Public Member Functions

static DtSimInterfaceContent * creator ()
 
- Static Public Member Functions inherited from DtSimInterfaceContent
static DtSimInterfaceContent * createInterfaceContent (int type)
 
static void addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn)
 
static void setFactory (DtInterfaceContentFactory *factory)
 
static DtInterfaceContentFactory * factory ()
 
static void registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn)
 

Protected Attributes

DtUUID myUUID
 
int myStatus
 
- Protected Attributes inherited from DtSimInterfaceContent
char * myNetRep
 
bool myUseSessionId
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
 
const DtSimInterfaceContent & operator= (const DtSimInterfaceContent &orig)
 
virtual char * createNetworkBuffer ()
 
- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactory * myFactory
 
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn
 

Member Enumeration Documentation

Enumerator
Unknown 
Unsupported 
Refused 

The back-end that has been requested to take ownership of an object does not support it.

WillTransfer 

The owning back-end refused to give up ownership.

InProgress 

The owning back-end will give up ownership.

GainedOwnership 

Checking to see if the owning back-end will give up ownership.

LostOwnership 
MultipleRequests 

Constructor & Destructor Documentation

DtIfTakeOwnershipResponse::DtIfTakeOwnershipResponse ( )

default constructor

virtual DtIfTakeOwnershipResponse::~DtIfTakeOwnershipResponse ( )
overridevirtual

destructor

DtIfTakeOwnershipResponse::DtIfTakeOwnershipResponse ( const DtIfTakeOwnershipResponse &  orig)

copy constructor

Member Function Documentation

DtIfTakeOwnershipResponse& DtIfTakeOwnershipResponse::operator= ( const DtIfTakeOwnershipResponse &  orig)

assignment operator

virtual int DtIfTakeOwnershipResponse::type ( ) const
overridevirtual

Returns the type of Interface Content; DtRemoveEntityMessageName.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfTakeOwnershipResponse::clone ( ) const
overridevirtual

Implements DtSimInterfaceContent.

virtual void DtIfTakeOwnershipResponse::setUUID ( const DtUUID &  )
virtual
const DtUUID& DtIfTakeOwnershipResponse::takeOwnershipOf ( ) const
inline
virtual void DtIfTakeOwnershipResponse::setStatus ( Status  )
virtual
Status DtIfTakeOwnershipResponse::status ( ) const
inline
virtual int DtIfTakeOwnershipResponse::netRepSize ( ) const
overridevirtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfTakeOwnershipResponse::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
)
overridevirtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfTakeOwnershipResponse::setToNet ( )
overridevirtual

Reimplemented from DtSimInterfaceContent.

virtual void DtIfTakeOwnershipResponse::printDataToString ( DtString &  str)
overridevirtual

Reimplemented from DtSimInterfaceContent.

static DtSimInterfaceContent* DtIfTakeOwnershipResponse::creator ( )
static

Member Data Documentation

DtUUID DtIfTakeOwnershipResponse::myUUID
protected
int DtIfTakeOwnershipResponse::myStatus
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)