View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Public Types | Public Member Functions | Public Attributes | Friends | List of all members
vistle::Port Class Reference

#include <core/port.h>

Collaboration diagram for vistle::Port:
Collaboration graph
[legend]

Public Types

typedef std::set< Port *, detail::deref_compare< Port > > PortSet
 
typedef std::set< const Port *, detail::deref_compare< Port > > ConstPortSet
 

Public Member Functions

 DEFINE_ENUM_WITH_STRING_CONVERSIONS (Type,(ANY)(INPUT)(OUTPUT)(PARAMETER)) DEFINE_ENUM_WITH_STRING_CONVERSIONS(Flags
 
() NONE (NOCOMPUTE)(COMBINE_BIT)(COMBINE)(MULTI)) Port(int moduleID
 
void setDescription (const std::string &desc)
 
int getModuleID () const
 
const std::string & getName () const
 
const std::string & getDescription () const
 
Type getType () const
 
int flags () const
 
ObjectListobjects ()
 
const ObjectListobjects () const
 
const ConstPortSetconnections () const
 
void setConnections (const ConstPortSet &conn)
 
bool addConnection (Port *other)
 
const PortremoveConnection (const Port &other)
 
bool isConnected () const
 
const PortSetlinkedPorts () const
 
bool operator< (const Port &other) const
 
bool operator== (const Port &other) const
 
Portchild (size_t idx, bool link=false)
 children of 'MULTI' ports More...
 
bool link (Port *linked)
 input and output ports can be linked if there is dependency between them More...
 

Public Attributes

() const std::string & name
 
() const std::string Port::Type type
 
() const std::string Port::Type int flags = 0)
 

Friends

class PortTracker
 

Member Typedef Documentation

◆ ConstPortSet

◆ PortSet

Member Function Documentation

◆ addConnection()

bool vistle::Port::addConnection ( Port other)

◆ child()

Port * vistle::Port::child ( size_t  idx,
bool  link = false 
)

children of 'MULTI' ports

◆ connections()

const Port::ConstPortSet & vistle::Port::connections ( ) const

◆ DEFINE_ENUM_WITH_STRING_CONVERSIONS()

vistle::Port::DEFINE_ENUM_WITH_STRING_CONVERSIONS ( Type  ,
(ANY)(INPUT)(OUTPUT)(PARAMETER)   
)

◆ flags()

int vistle::Port::flags ( ) const

◆ getDescription()

const std::string & vistle::Port::getDescription ( ) const

◆ getModuleID()

int vistle::Port::getModuleID ( ) const

◆ getName()

const std::string & vistle::Port::getName ( ) const

◆ getType()

Port::Type vistle::Port::getType ( ) const

◆ isConnected()

bool vistle::Port::isConnected ( ) const

◆ link()

bool vistle::Port::link ( Port linked)

input and output ports can be linked if there is dependency between them

◆ linkedPorts()

const Port::PortSet & vistle::Port::linkedPorts ( ) const

◆ NONE()

() vistle::Port::NONE ( NOCOMPUTE  )

◆ objects() [1/2]

ObjectList & vistle::Port::objects ( )

◆ objects() [2/2]

const ObjectList & vistle::Port::objects ( ) const

◆ operator<()

bool vistle::Port::operator< ( const Port other) const
inline

◆ operator==()

bool vistle::Port::operator== ( const Port other) const
inline

◆ removeConnection()

const Port * vistle::Port::removeConnection ( const Port other)

◆ setConnections()

void vistle::Port::setConnections ( const ConstPortSet conn)

◆ setDescription()

void vistle::Port::setDescription ( const std::string &  desc)

Friends And Related Function Documentation

◆ PortTracker

friend class PortTracker
friend

Member Data Documentation

◆ flags

int vistle::Port::flags = 0)

◆ name

() const std::string& vistle::Port::name

◆ type

() const std::string Port::Type vistle::Port::type

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