Bifrost SDK
Bifrost SDK documentation
BifrostGraph::MayaTranslation::PortData Class Reference

Translation data used to create the Maya attribute when a graph I/O (top level compound) is added. More...

#include <HostData.h>

Inheritance diagram for BifrostGraph::MayaTranslation::PortData:
BifrostGraph::Executor::TypeTranslation::PortData BifrostGraph::MayaTranslation::PortCreationData

Public Member Functions

 PortData (MObject const &object, MTypeId const &id)
 Constructor always called by maya. User should not create the object itself. More...
 
 PortData (PortData const &other)
 Copy constructor. More...
 
 ~PortData () override
 Destructor always called by maya. User should not destroy the object itself. More...
 
- Public Member Functions inherited from BifrostGraph::Executor::TypeTranslation::PortData
 PortData () noexcept
 
virtual ~PortData () noexcept
 

Public Attributes

MObject const m_object
 The maya dependency node. More...
 
MTypeId const m_id
 The MTypeId of m_object. More...
 

Detailed Description

Translation data used to create the Maya attribute when a graph I/O (top level compound) is added.

See also
BifrostGraph::Executor::TypeTranslation::portAdded
Note
This also apply to auto-created job ports.
This class belongs to a feature that is still under development and may change in subsequent versions.

Definition at line 117 of file HostData.h.

Constructor & Destructor Documentation

◆ PortData() [1/2]

BifrostGraph::MayaTranslation::PortData::PortData ( MObject const &  object,
MTypeId const &  id 
)
inline

Constructor always called by maya. User should not create the object itself.

Parameters
objectThe maya dependency node.
idThe MTypeId of the object.

Definition at line 124 of file HostData.h.

◆ PortData() [2/2]

BifrostGraph::MayaTranslation::PortData::PortData ( PortData const &  other)
inline

Copy constructor.

Parameters
otherThe PortData to copy into this one.

Definition at line 129 of file HostData.h.

◆ ~PortData()

BifrostGraph::MayaTranslation::PortData::~PortData ( )
overridevirtual

Destructor always called by maya. User should not destroy the object itself.

Reimplemented from BifrostGraph::Executor::TypeTranslation::PortData.

Member Data Documentation

◆ m_id

MTypeId const BifrostGraph::MayaTranslation::PortData::m_id

The MTypeId of m_object.

Definition at line 146 of file HostData.h.

◆ m_object

MObject const BifrostGraph::MayaTranslation::PortData::m_object

The maya dependency node.

Definition at line 143 of file HostData.h.