Revision a6db1d09 mblock/src/lib/mb_port.cc
| b/mblock/src/lib/mb_port.cc | ||
|---|---|---|
| 27 | 27 |
#include <mb_port_detail.h> |
| 28 | 28 |
#include <mb_protocol_class.h> |
| 29 | 29 |
|
| 30 |
mb_port::mb_port(const std::string &port_name, |
|
| 30 |
mb_port::mb_port(mb_mblock *mblock, |
|
| 31 |
const std::string &port_name, |
|
| 31 | 32 |
const std::string &protocol_class_name, |
| 32 | 33 |
bool conjugated, |
| 33 | 34 |
mb_port::port_type_t port_type) |
| 34 |
: d_detail(mb_port_detail_sptr(new mb_port_detail())),
|
|
| 35 |
d_port_name(port_name), d_conjugated(conjugated), d_port_type(port_type)
|
|
| 35 |
: d_port_name(port_name), d_conjugated(conjugated), d_port_type(port_type),
|
|
| 36 |
d_mblock(mblock)
|
|
| 36 | 37 |
{
|
| 37 | 38 |
pmt_t pc = mb_protocol_class_lookup(pmt_intern(protocol_class_name)); |
| 38 | 39 |
if (pmt_is_null(pc)){
|
Also available in: Unified diff