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

Will send a message to a specific back-end (if this is sent to all it will not be processed) to take ownership of the entities that it does not currently own. If entities that it own are part of this message they will be ignored.

Inheritance diagram for DtIfTakeOwnership:
Inheritance graph
[legend]

Public Member Functions

 DtIfTakeOwnership ()
 
virtual ~DtIfTakeOwnership ()
 
 DtIfTakeOwnership (const DtIfTakeOwnership &orig)
 
DtIfTakeOwnershipoperator= (const DtIfTakeOwnership &orig)
 
virtual int type () const
 
virtual DtSimInterfaceContentclone () const
 
virtual void addTakeOwnershipOf (const DtUUID &)
 
virtual void setTakeOwnershipOf (const std::vector< DtUUID > &)
 
const std::vector< DtUUID > & takeOwnershipOf () const
 
virtual int netRepSize () const
 
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 
virtual bool setToNet ()
 
virtual void printDataToString (DtString &str)
 
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
 
virtual bool update (const DtSimInterfaceContent *data)
 
virtual charnetRep ()
 
virtual void printContentType (DtString &str)
 
virtual void setUseSessionId (bool yesNo)
 
virtual bool useSessionId () const
 

Static Public Member Functions

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

Protected Attributes

std::vector< DtUUIDmyTakeOwnershipOf
 
- Protected Attributes inherited from DtSimInterfaceContent
charmyNetRep
 
bool myUseSessionId
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
 
const DtSimInterfaceContentoperator= (const DtSimInterfaceContent &orig)
 
virtual charcreateNetworkBuffer ()
 
- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactorymyFactory
 
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn
 

Constructor & Destructor Documentation

DtIfTakeOwnership::DtIfTakeOwnership ( )

default constructor

virtual DtIfTakeOwnership::~DtIfTakeOwnership ( )
virtual

destructor

DtIfTakeOwnership::DtIfTakeOwnership ( const DtIfTakeOwnership orig)

copy constructor

Member Function Documentation

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

assignment operator

virtual int DtIfTakeOwnership::type ( ) const
virtual

Returns the type of Interface Content; DtRemoveEntityMessageName.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfTakeOwnership::clone ( ) const
virtual

Implements DtSimInterfaceContent.

virtual void DtIfTakeOwnership::addTakeOwnershipOf ( const DtUUID )
virtual
virtual void DtIfTakeOwnership::setTakeOwnershipOf ( const std::vector< DtUUID > &  )
virtual
const std::vector<DtUUID>& DtIfTakeOwnership::takeOwnershipOf ( ) const
inline
virtual int DtIfTakeOwnership::netRepSize ( ) const
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfTakeOwnership::setFromNet ( const char contentBuffer,
unsigned  contentSize 
)
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfTakeOwnership::setToNet ( )
virtual

Reimplemented from DtSimInterfaceContent.

virtual void DtIfTakeOwnership::printDataToString ( DtString str)
virtual

Reimplemented from DtSimInterfaceContent.

static DtSimInterfaceContent* DtIfTakeOwnership::creator ( )
static

Member Data Documentation

std::vector<DtUUID> DtIfTakeOwnership::myTakeOwnershipOf
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)