implement polymorphic tdmdatatype

This commit is contained in:
2021-01-22 10:34:46 +01:00
parent 1d70e7b58e
commit ac4417accf
4 changed files with 254 additions and 97 deletions

View File

@@ -204,6 +204,9 @@ int main(int argc, char* argv[])
std::string chid("usi14");
std::vector<tdmdatatype> chdata = jack.get_channel<tdmdatatype>(chid);
std::cout<<"channel size: "<<chdata.size()<<"\n";
for ( tdmdatatype el: chdata ) std::cout<<el<<"\n";
// std::vector<std::string> chgrids = jack.get_channelgroup_ids();
// for ( auto el: chgrids ) std::cout<<el<<",";
// std::cout<<"\n";