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

Mapping from GA_Index to per-rig agent index. More...

#include <GT_AgentSupport.h>

+ Inheritance diagram for GT_AgentIndexMap:

Public Member Functions

void clear ()
 
exint entries () const
 
void setEntries (exint size)
 
int getAgentIndex (exint ga_index) const
 
void setAgentIndex (int ga_index, int agent_index)
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< GT_AgentIndexMap >
SYS_FORCE_INLINE UT_IntrusiveRefCounter () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< GT_AgentIndexMap >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Mapping from GA_Index to per-rig agent index.

Definition at line 85 of file GT_AgentSupport.h.

Member Function Documentation

void GT_AgentIndexMap::clear ( )
inline

Definition at line 89 of file GT_AgentSupport.h.

exint GT_AgentIndexMap::entries ( ) const
inline

Definition at line 91 of file GT_AgentSupport.h.

int GT_AgentIndexMap::getAgentIndex ( exint  ga_index) const
inline

Definition at line 98 of file GT_AgentSupport.h.

void GT_AgentIndexMap::setAgentIndex ( int  ga_index,
int  agent_index 
)
inline

Definition at line 101 of file GT_AgentSupport.h.

void GT_AgentIndexMap::setEntries ( exint  size)
inline

Definition at line 92 of file GT_AgentSupport.h.


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