VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
DtSequentialPreprocessorContainer Class Reference

Customize DtSequentialPreprocessorContainer for preprocessing in a single thread. More...

Inheritance diagram for DtSequentialPreprocessorContainer:
Inheritance graph
[legend]

Public Member Functions

virtual void preprocess ()
 Call preprocess() on all objects in the container.
- Public Member Functions inherited from DtSequentialExecutionContainer< DtPreprocessor >
 DtSequentialExecutionContainer ()
 Construct a new container, default to parallel execution and grain_size of 10.
virtual ~DtSequentialExecutionContainer ()
 Virtual destructor does NOT destroy contents.
virtual void add (DtPreprocessor *item)
 Add a reference to the container.
virtual void remove (DtPreprocessor *item)
 Remove a reference from the container.
virtual void clear ()
 Clear the container.
virtual void deleteAndClear ()
 Delete all referenced objects and then clear the container.
virtual bool empty () const
 Check if container is empty.
virtual bool contains (DtPreprocessor *item)
 Check if container contains item.
virtual SecIteratorType begin ()
 Note: linux toolchain doesn't support const_iterator.
virtual SecIteratorType end ()
 End iterator over the container.
virtual void executeMethod (void(DtPreprocessor::*theMethodPtr)())
 Execute method on all contained objects sequentially in a single thread.

Additional Inherited Members

- Public Types inherited from DtSequentialExecutionContainer< DtPreprocessor >
typedef std::vector
< DtPreprocessor * > 
SecContainerType
typedef SecContainerType::iterator SecIteratorType
- Protected Attributes inherited from DtSequentialExecutionContainer< DtPreprocessor >
SecContainerType myExecVec
 The execution container.

Detailed Description

Customize DtSequentialPreprocessorContainer for preprocessing in a single thread.

Used in DtVrfObject to preprocess its DtSimComponents.

Member Function Documentation

virtual void DtSequentialPreprocessorContainer::preprocess ( )
inlinevirtual

Call preprocess() on all objects in the container.

Preprocess is called in the same order as added to the container. This means the order that preprocess is called will be the same order that tick is called. This is important for intra-component dependencies, e.g. controllers which use sensor input.

References DtSequentialExecutionContainer< DtPreprocessor >::executeMethod(), and DtPreprocessor::preprocess().


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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)