VR-Link API Documentation for HLA 1516
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends

The high level object specialization of a named list. More...

+ Inheritance diagram for DtEnvObject:
+ Collaboration diagram for DtEnvObject:

List of all members.

Public Member Functions

virtual DtString type () const
virtual DtString name () const
 Get the name of the list.
virtual DtEnvValueSP first () const
 Get the first child in the list.
virtual void setType (const DtString &type)
virtual void setName (const DtString &type)
 Set the name of the list.
DtEnvValueSP attribute (const DtString &name) const
DtString attributeValue (const DtString &name) const
virtual DtEnvObjectSyncsync () const
 Get sync object.

Static Public Member Functions

static bool isObject (DtEnvValueSP)
static bool isObject (DtEnvValueSP, const DtString &type)
static bool isObject (DtEnvValueSP, const DtString &name, const DtString &type)
static DtEnvObjectcastToObject (DtEnvValueSP)

Protected Types

typedef std::map< DtString,
DtEnvValueWP
DtEnvAttributeMap

Protected Member Functions

 DtEnvObject (const DtString &objName, const DtString &objType, const DtString &objValue)
virtual DtEnvValueclone () const
 Clone the DtEnvObject and its children, but not the DtEnvObjectSync.
virtual void valueChanged ()
 Value changed callback, calls sync callback.
virtual void childChanged (DtEnvValue *)
 Child value changed callback, calls sync callback.
virtual void append (DtEnvValueSP)
 Append child value, calls sync callback.
virtual void remove (DtEnvValueSP)
 Remove child value, calls sync callback.
virtual void setSync (DtEnvObjectSync *sync)
 Set sync object, to remove, set to NULL.

Protected Attributes

DtEnvAttributeMap myAttributes
DtEnvObjectSyncmySyncObject

Friends

class DtEnvironment
class DtEnvObjectSync

Detailed Description

The high level object specialization of a named list.


Member Typedef Documentation

typedef std::map<DtString,DtEnvValueWP> DtEnvObject::DtEnvAttributeMap [protected]

Constructor & Destructor Documentation

DtEnvObject::DtEnvObject ( const DtString objName,
const DtString objType,
const DtString objValue 
) [protected]

Member Function Documentation

virtual void DtEnvObject::append ( DtEnvValueSP  ) [protected, virtual]

Append child value, calls sync callback.

Reimplemented from DtEnvList.

DtEnvValueSP DtEnvObject::attribute ( const DtString name) const
virtual void DtEnvObject::childChanged ( DtEnvValue ) [protected, virtual]

Child value changed callback, calls sync callback.

Reimplemented from DtEnvValue.

virtual DtEnvValue* DtEnvObject::clone ( ) const [protected, virtual]

Clone the DtEnvObject and its children, but not the DtEnvObjectSync.

Reimplemented from DtEnvNamedList.

virtual DtEnvValueSP DtEnvObject::first ( ) const [virtual]

Get the first child in the list.

Reimplemented from DtEnvNamedList.

static bool DtEnvObject::isObject ( DtEnvValueSP  ) [static]
static bool DtEnvObject::isObject ( DtEnvValueSP  ,
const DtString type 
) [static]
static bool DtEnvObject::isObject ( DtEnvValueSP  ,
const DtString name,
const DtString type 
) [static]
virtual DtString DtEnvObject::name ( ) const [virtual]

Get the name of the list.

Reimplemented from DtEnvNamedList.

virtual void DtEnvObject::remove ( DtEnvValueSP  ) [protected, virtual]

Remove child value, calls sync callback.

Reimplemented from DtEnvList.

virtual void DtEnvObject::setName ( const DtString name) [virtual]

Set the name of the list.

Reimplemented from DtEnvNamedList.

virtual void DtEnvObject::setSync ( DtEnvObjectSync sync) [protected, virtual]

Set sync object, to remove, set to NULL.

virtual void DtEnvObject::setType ( const DtString type) [virtual]
virtual DtEnvObjectSync* DtEnvObject::sync ( ) const [virtual]

Get sync object.

virtual DtString DtEnvObject::type ( ) const [virtual]
virtual void DtEnvObject::valueChanged ( ) [protected, virtual]

Value changed callback, calls sync callback.

Reimplemented from DtEnvValue.


Friends And Related Function Documentation

friend class DtEnvironment [friend]

Reimplemented from DtEnvNamedList.

friend class DtEnvObjectSync [friend]

Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)