7 class DEV_G_POLY_K
: public COMPONENT
{ //
9 string
value_name() const { return "dummy"; }
10 string
port_name(uint_t
) const { return "dummy"; }
14 const CARD
* c
= device_dispatcher
["cpoly_g"];
16 CARD
* c2
= c
->clone();
17 COMPONENT
* d
= prechecked_cast
<COMPONENT
*>(c2
);
19 const COMMON_COMPONENT
* b
= bm_dispatcher
["poly_k"];
21 COMMON_COMPONENT
* bc
= b
->clone();
23 // d->set_dev_type("g_poly_k");
24 // assert(d->dev_type() == "g_poly_k");
29 DISPATCHER
<CARD
>::INSTALL
d1(&device_dispatcher
, "g_poly_k|G_poly", &p1
);