#include <Port.h>
Public Types | |
enum | Type { tail =0, output =0, head =1, input =1, ntypes =2 } |
Public Member Functions | |
Port (Node *node, Type type, std::string signature, std::string name="") | |
bool | isinput () |
bool | isoutput () |
Edge | edge () |
Edge | plug (Edge edge) |
size_t | size () |
bool | empty () |
Data | get (bool pop=true) |
void | put (Data &data) |
Node * | node () |
const std::string & | name () |
const std::string & | signature () |
Private Attributes | |
Node * | m_node |
Type | m_type |
std::string | m_name |
std::string | m_sig |
Edge | m_edge |
Port< T >::Port | ( | Node * | node, |
Type | type, | ||
std::string | signature, | ||
std::string | name = "" |
||
) |
Definition at line 9 of file Port.cxx.
Definition at line 43 of file Port.cxx.
const std::string & Port< T >::name | ( | ) |
Node* WireCell::Pgraph::Port::node | ( | ) |
Definition at line 62 of file Port.cxx.
const std::string & Port< T >::signature | ( | ) |
size_t Port< T >::size | ( | void | ) |
|
private |
|
private |