VR-Forces 4.6.1 Class Documentation
 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 Member Functions | Protected Attributes
DtInterfaceContentFactory Class Reference
Inheritance diagram for DtInterfaceContentFactory:
Inheritance graph
[legend]

Public Member Functions

 DtInterfaceContentFactory ()
 DtInterfaceContentFactory (const DtInterfaceContentFactory &orig)
const DtInterfaceContentFactoryoperator= (const DtInterfaceContentFactory &orig)
virtual ~DtInterfaceContentFactory ()
virtual void addCreatorFcn (const int type, DtInterfaceContentCreatorFcn fcn)
virtual DtSimInterfaceContentcreateInterfaceContent (const int type)
virtual void addDefaultMessageFilters ()
 Adds in default message filters for depreciated messages.
virtual void addMessageWarningFilter (int)
 Adds a message filter warning for the specified message type.
virtual void removeMessageWarningFilter (int)
 Removes the filter warning for specified message.
virtual void setAlwaysWarnOnlyOnce (bool)
 Whether or not to always warn only once, even if not registered. Default is true.
bool alwaysWarnOnlyOnce () const

Static Public Member Functions

static DtInterfaceContentFactorycreate ()

Protected Member Functions

virtual void generateWarningFor (int type)
 Called when a warning wants to be issued for content that is not there.

Protected Attributes

DtHashlist myHashlist
std::map< int, boolmyMessageWarningFilters
bool myAlwaysWarnOnlyOnce

Constructor & Destructor Documentation

DtInterfaceContentFactory::DtInterfaceContentFactory ( )
DtInterfaceContentFactory::DtInterfaceContentFactory ( const DtInterfaceContentFactory orig)
virtual DtInterfaceContentFactory::~DtInterfaceContentFactory ( )
virtual

Member Function Documentation

const DtInterfaceContentFactory& DtInterfaceContentFactory::operator= ( const DtInterfaceContentFactory orig)
virtual void DtInterfaceContentFactory::addCreatorFcn ( const int  type,
DtInterfaceContentCreatorFcn  fcn 
)
virtual
virtual DtSimInterfaceContent* DtInterfaceContentFactory::createInterfaceContent ( const int  type)
virtual
static DtInterfaceContentFactory* DtInterfaceContentFactory::create ( )
static
virtual void DtInterfaceContentFactory::addDefaultMessageFilters ( )
virtual

Adds in default message filters for depreciated messages.

Currently, this includes" DtVrfObjectCreatedMessageType DtRequestVrfObjectCreatedMessageType DtVrfObjectDataMessageType

virtual void DtInterfaceContentFactory::addMessageWarningFilter ( int  )
virtual

Adds a message filter warning for the specified message type.

If a filter is added, will only warn once

virtual void DtInterfaceContentFactory::removeMessageWarningFilter ( int  )
virtual

Removes the filter warning for specified message.

virtual void DtInterfaceContentFactory::setAlwaysWarnOnlyOnce ( bool  )
virtual

Whether or not to always warn only once, even if not registered. Default is true.

bool DtInterfaceContentFactory::alwaysWarnOnlyOnce ( ) const
virtual void DtInterfaceContentFactory::generateWarningFor ( int  type)
protectedvirtual

Called when a warning wants to be issued for content that is not there.

If there is not a warning filter for that message type, will print the warning else will only print it once

Member Data Documentation

DtHashlist DtInterfaceContentFactory::myHashlist
protected
std::map<int, bool> DtInterfaceContentFactory::myMessageWarningFilters
protected
bool DtInterfaceContentFactory::myAlwaysWarnOnlyOnce
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)