VR-Forces 4.3.1 Class 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 Attributes
DtIfChangeWeatherPriorities Class Reference

Instances of this class are the interface message content used to set priorities for multiple weather objects. More...

Inheritance diagram for DtIfChangeWeatherPriorities:
Inheritance graph
[legend]

Public Member Functions

 DtIfChangeWeatherPriorities ()
 default constructor
 DtIfChangeWeatherPriorities (const DtIfChangeWeatherPriorities &orig)
 copy constructor
const DtIfChangeWeatherPrioritiesoperator= (const DtIfChangeWeatherPriorities &orig)
 assignment operator
virtual ~DtIfChangeWeatherPriorities ()
virtual int type () const
 Returns DtChangeWeatherPrioritiesMessageType, defined in msgTypes.h.
virtual DtSimInterfaceContentclone () const
 Returns newly created copy of this object.
virtual int netRepSize () const
 Returns size of network representation of this object, in bytes.
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 Unpack network representation (contentBuffer) into this object.
virtual bool setToNet ()
 Package this object's data into a network format (a DtNetIfQuerySpatialSubdivisionConfiguration struct).
virtual void printDataToString (DtString &str)
 Human readable representation of this object's data (used for debugging purposes, and in applications such as vrfMsgDump).
virtual void setPriority (const DtString &, int)
 Sets the priority for the named weather area.
virtual void removeSetPriority (const DtString &)
virtual const std::map
< DtString, int
prioritiesToSet () const

Static Public Member Functions

static DtSimInterfaceContentcreator ()
 Returns a new instance of this class.

Protected Attributes

std::map< DtString, intmyPrioritiesToSet

Detailed Description

Instances of this class are the interface message content used to set priorities for multiple weather objects.

Content-Type: DtIfChangeWeatherPriorities

Constructor & Destructor Documentation

DtIfChangeWeatherPriorities::DtIfChangeWeatherPriorities ( )

default constructor

DtIfChangeWeatherPriorities::DtIfChangeWeatherPriorities ( const DtIfChangeWeatherPriorities orig)

copy constructor

virtual DtIfChangeWeatherPriorities::~DtIfChangeWeatherPriorities ( )
virtual

Member Function Documentation

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

assignment operator

virtual int DtIfChangeWeatherPriorities::type ( ) const
virtual

Returns DtChangeWeatherPrioritiesMessageType, defined in msgTypes.h.

virtual DtSimInterfaceContent* DtIfChangeWeatherPriorities::clone ( ) const
virtual

Returns newly created copy of this object.

virtual int DtIfChangeWeatherPriorities::netRepSize ( ) const
virtual

Returns size of network representation of this object, in bytes.

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

Unpack network representation (contentBuffer) into this object.

virtual bool DtIfChangeWeatherPriorities::setToNet ( )
virtual

Package this object's data into a network format (a DtNetIfQuerySpatialSubdivisionConfiguration struct).

virtual void DtIfChangeWeatherPriorities::printDataToString ( DtString str)
virtual

Human readable representation of this object's data (used for debugging purposes, and in applications such as vrfMsgDump).

static DtSimInterfaceContent* DtIfChangeWeatherPriorities::creator ( )
static

Returns a new instance of this class.

This function is registered with the DtInterfaceContentFactory with a key returned by the type() member function.

virtual void DtIfChangeWeatherPriorities::setPriority ( const DtString ,
int   
)
virtual

Sets the priority for the named weather area.

virtual void DtIfChangeWeatherPriorities::removeSetPriority ( const DtString )
virtual
virtual const std::map<DtString, int> DtIfChangeWeatherPriorities::prioritiesToSet ( ) const
virtual

Member Data Documentation

std::map<DtString, int> DtIfChangeWeatherPriorities::myPrioritiesToSet
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)