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

Go to the source code of this file.

Classes

class  makVrf::DtStateComponent
 
class  makVrf::DtStateComponentCreatorInterface
 
class  makVrf::DtStateComponentCreator< T_StateComponent, T_AutoCreateForRemoteObject >
 
class  makVrf::DtFrameStateInterface
 
class  makVrf::DtDoubleBufferedStateComponent< T_Component >
 

Namespaces

 LOM
 
 Legion
 
 makVrf
 

Macros

#define DEFINE_STATE_COMPONENT_TYPE(CreatedComponent)
 
#define DEFINE_STATE_COMPONENT_HELPER(Component)
 

Detailed Description

Contains the DtStateComponent class declaration.

Macro Definition Documentation

#define DEFINE_STATE_COMPONENT_TYPE (   CreatedComponent)
Value:
static const DtStateComponent::StateComponentType theComponentType = CreatedComponent; \
static const char* StringType() { return #CreatedComponent; } \
virtual DtStateComponent::StateComponentType typeWithCreator() const { return TypeWithCreator(); }; \
virtual DtStateComponent::StateComponentType componentType() const { return ComponentType(); }; \
virtual const char* stringType() const { return #CreatedComponent; }; \
static DtStateComponent::StateComponentType TypeWithCreator() { return (DtStateComponent::StateComponentType)((unsigned int)(theComponentCreatorType << 16) | theComponentType); }; \
static void SetCreatorType(UInt32 type) { theComponentCreatorType = type; }; \
static DtStateComponent::StateComponentType ComponentType() { return theComponentType; }; \
static UInt32 CreatorType() { return theComponentCreatorType; }; \
protected: \
static UInt32 theComponentCreatorType; \
public:
unsigned int UInt32
Definition: stateDataTypes.h:18
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
#define DEFINE_STATE_COMPONENT_HELPER (   Component)
Value:
static const char* StringType() { return #Component; } \
virtual DtStateComponent::StateComponentType typeWithCreator() const { return Component::TypeWithCreator(); }; \
virtual DtStateComponent::StateComponentType componentType() const { return Component::ComponentType(); }; \
virtual DtStateComponent::StateComponentType setCreatorType(UInt32 type) const { return SetCreatorType(type); }; \
virtual const char* stringType() const { return #Component; }; \
static DtStateComponent::StateComponentType TypeWithCreator() { return Component::TypeWithCreator(); }; \
static DtStateComponent::StateComponentType ComponentType() { return Component::ComponentType(); }; \
static UInt32 SetCreatorType(UInt32 type) { Component::SetCreatorType(type); return type; };
unsigned int UInt32
Definition: stateDataTypes.h:18

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)