Changes between Version 26 and Version 27 of Component/Vci Multi Tty


Ignore:
Timestamp:
Nov 17, 2010, 2:38:50 PM (13 years ago)
Author:
Nicolas Pouillon
Comment:

Add examples

Legend:

Unmodified
Added
Removed
Modified
  • Component/Vci Multi Tty

    v26 v27  
    9696
    9797Example instanciation:
     98
     99* With a known number of ttys
    98100{{{
    99101VciMultiTty  tty("tty_comp",
     
    102104              "term0", "term1", "term2", NULL);
    103105}}}
    104 Note : the name list MUST be terminated by NULL.
     106  Note : the name list MUST be terminated by NULL.
     107
     108* With a variable number of ttys
     109{{{
     110std::vector<std::string> names;
     111names.push_back("term0");
     112names.push_back("term1");
     113names.push_back("term2");
     114
     115VciMultiTty("tty_comp", IntTab(2,3), mapping_table, names);
     116}}}
     117
    105118
    106119=== CABA Ports ===