VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros
stateComponentFactory.h File Reference

Go to the source code of this file.

Classes

class  makVrf::DtStateComponentFactory
 

Namespaces

 Legion
 
 makVrf
 

Macros

#define REGISTER_STATE_COMPONENT(ComponentCreator, Component)
 

Macro Definition Documentation

#define REGISTER_STATE_COMPONENT (   ComponentCreator,
  Component 
)
Value:
UInt32 Register##ComponentCreator = DtStateComponentFactory::instance()->addStateComponentCreator(#ComponentCreator, ComponentCreator::ComponentType(), new ComponentCreator); \
UInt32 Component::theComponentCreatorType = 0xFFFFFFFF;
unsigned int UInt32
32-bit unsigned integer type.
Definition: stateDataTypes.h:21

Convenience macro that registers a state component creator with the factory and initializes the component's static creator-type field. Place this macro once in the .cxx file for the component.

Parameters
ComponentCreatorThe creator class to register.
ComponentThe state component class whose theComponentCreatorType field will be initialized.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)