HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
COP_SlapcompRegistry Class Reference

#include <COP_SlapcompRegistry.h>

Classes

class  AovInfo
 

Static Public Member Functions

static IMX_LayerConstPtr fetchLayer (const char *aov)
 
static void stashLayer (const UT_StringHolder &aov, IMX_LayerConstPtr layer)
 
static void registerNode (const OP_Node *node, const UT_StringSet &aovs)
 
static void deregisterNode (const OP_Node *node)
 
static void notifyNodes ()
 
static void registerViewerAOVs (const UT_Array< AovInfo > &aovs)
 
static void activeAOVs (UT_StringSet &aovs)
 
static void viewerAOVs (UT_Array< AovInfo > &aovs)
 
static void clear ()
 

Protected Member Functions

IMX_LayerConstPtr _fetchLayer (const char *aov)
 
void _stashLayer (const UT_StringHolder &aov, IMX_LayerConstPtr layer)
 
void _clear ()
 
void _registerNode (const OP_Node *node, const UT_StringSet &aovs)
 
void _deregisterNode (const OP_Node *node)
 
void _notifyNodes ()
 
void _registerViewerAOVs (const UT_Array< AovInfo > &aovs)
 
void _activeAOVs (UT_StringSet &aovs)
 
void _viewerAOVs (UT_Array< AovInfo > &aovs)
 

Static Protected Member Functions

static COP_SlapcompRegistrygetRegistry ()
 

Protected Attributes

UT_Lock myLock
 
UT_Map< int, UT_SharedPtr
< UT_StringSet > > 
myOpNodes
 
UT_StringMap< IMX_LayerConstPtrmyLayers
 
UT_Array< AovInfomyViewerAOVs
 
exint myVersion = 0
 
exint myNotifyVersion = 0
 

Detailed Description

Stores slap comp layers for other nodes to possibly retrieve Currently only one path, ideally will allow multiple viewport simultaneously.

Definition at line 24 of file COP_SlapcompRegistry.h.

Member Function Documentation

void COP_SlapcompRegistry::_activeAOVs ( UT_StringSet aovs)
protected
void COP_SlapcompRegistry::_clear ( )
protected
void COP_SlapcompRegistry::_deregisterNode ( const OP_Node node)
protected
IMX_LayerConstPtr COP_SlapcompRegistry::_fetchLayer ( const char *  aov)
protected
void COP_SlapcompRegistry::_notifyNodes ( )
protected
void COP_SlapcompRegistry::_registerNode ( const OP_Node node,
const UT_StringSet aovs 
)
protected
void COP_SlapcompRegistry::_registerViewerAOVs ( const UT_Array< AovInfo > &  aovs)
protected
void COP_SlapcompRegistry::_stashLayer ( const UT_StringHolder aov,
IMX_LayerConstPtr  layer 
)
protected
void COP_SlapcompRegistry::_viewerAOVs ( UT_Array< AovInfo > &  aovs)
protected
static void COP_SlapcompRegistry::activeAOVs ( UT_StringSet aovs)
static

Populate aovs with all aovs requested by any live import.

static void COP_SlapcompRegistry::clear ( )
static
static void COP_SlapcompRegistry::deregisterNode ( const OP_Node node)
static
static IMX_LayerConstPtr COP_SlapcompRegistry::fetchLayer ( const char *  aov)
static
static COP_SlapcompRegistry* COP_SlapcompRegistry::getRegistry ( )
staticprotected
static void COP_SlapcompRegistry::notifyNodes ( )
static
static void COP_SlapcompRegistry::registerNode ( const OP_Node node,
const UT_StringSet aovs 
)
static
static void COP_SlapcompRegistry::registerViewerAOVs ( const UT_Array< AovInfo > &  aovs)
static
static void COP_SlapcompRegistry::stashLayer ( const UT_StringHolder aov,
IMX_LayerConstPtr  layer 
)
static
static void COP_SlapcompRegistry::viewerAOVs ( UT_Array< AovInfo > &  aovs)
static

List of AOVs last submitted by a viewer import.

Member Data Documentation

UT_StringMap<IMX_LayerConstPtr> COP_SlapcompRegistry::myLayers
protected

Definition at line 73 of file COP_SlapcompRegistry.h.

UT_Lock COP_SlapcompRegistry::myLock
protected

Definition at line 71 of file COP_SlapcompRegistry.h.

exint COP_SlapcompRegistry::myNotifyVersion = 0
protected

Definition at line 76 of file COP_SlapcompRegistry.h.

UT_Map<int, UT_SharedPtr<UT_StringSet> > COP_SlapcompRegistry::myOpNodes
protected

Definition at line 72 of file COP_SlapcompRegistry.h.

exint COP_SlapcompRegistry::myVersion = 0
protected

Definition at line 75 of file COP_SlapcompRegistry.h.

UT_Array<AovInfo> COP_SlapcompRegistry::myViewerAOVs
protected

Definition at line 74 of file COP_SlapcompRegistry.h.


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