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
 

Public Member Functions

 COP_SlapCompRegistry (PrivateConstructorKey)
 

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
 

Friends

class cop_RegistryHolder
 

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 26 of file COP_SlapCompRegistry.h.

Constructor & Destructor Documentation

COP_SlapCompRegistry::COP_SlapCompRegistry ( PrivateConstructorKey  )

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.

Friends And Related Function Documentation

friend class cop_RegistryHolder
friend

Definition at line 30 of file COP_SlapCompRegistry.h.

Member Data Documentation

UT_StringMap<IMX_LayerConstPtr> COP_SlapCompRegistry::myLayers
protected

Definition at line 81 of file COP_SlapCompRegistry.h.

UT_Lock COP_SlapCompRegistry::myLock
protected

Definition at line 79 of file COP_SlapCompRegistry.h.

exint COP_SlapCompRegistry::myNotifyVersion = 0
protected

Definition at line 84 of file COP_SlapCompRegistry.h.

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

Definition at line 80 of file COP_SlapCompRegistry.h.

exint COP_SlapCompRegistry::myVersion = 0
protected

Definition at line 83 of file COP_SlapCompRegistry.h.

UT_Array<AovInfo> COP_SlapCompRegistry::myViewerAOVs
protected

Definition at line 82 of file COP_SlapCompRegistry.h.


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