1
0
Fork 0

Use the renamed SG_DDS_Topic class

This commit is contained in:
Erik Hofman 2021-03-19 13:52:44 +01:00
parent 4542691772
commit 8f5dc3e764
4 changed files with 6 additions and 6 deletions

View file

@ -331,7 +331,7 @@ FGIO::parse_port_config( const string_list& tokens, bool& o_ok )
}
#if FG_HAVE_DDS
else if ( medium == "dds") {
io->set_io_channel( new SG_DDS() );
io->set_io_channel( new SG_DDS_Topic() );
}
#endif
else

View file

@ -698,8 +698,8 @@ bool FGNativeCtrls::open() {
#if FG_HAVE_DDS
if ( io->get_type() == sgDDSType ) {
SG_DDS *dds = static_cast<SG_DDS*>(io);
dds->setup("FG_DDS_Ctrls" , &FG_DDS_Ctrls_desc, sizeof (FG_DDS_Ctrls));
SG_DDS_Topic *dds = static_cast<SG_DDS_Topic*>(io);
dds->setup("FG_DDS_Ctrls", &FG_DDS_Ctrls_desc, sizeof(FG_DDS_Ctrls));
}
#endif

View file

@ -738,8 +738,8 @@ bool FGNativeFDM::open() {
#if FG_HAVE_DDS
if ( io->get_type() == sgDDSType ) {
SG_DDS *dds = static_cast<SG_DDS*>(io);
dds->setup("FG_DDS_FDM" , &FG_DDS_FDM_desc, sizeof (FG_DDS_FDM));
SG_DDS_Topic *dds = static_cast<SG_DDS_Topic*>(io);
dds->setup("FG_DDS_FDM", &FG_DDS_FDM_desc, sizeof(FG_DDS_FDM));
}
#endif

View file

@ -473,7 +473,7 @@ bool FGNativeGUI::open() {
#if FG_HAVE_DDS
if ( io->get_type() == sgDDSType ) {
SG_DDS *dds = static_cast<SG_DDS*>(io);
SG_DDS_Topic *dds = static_cast<SG_DDS_Topic*>(io);
dds->setup("FG_DDS_GUI" , &FG_DDS_GUI_desc, sizeof (FG_DDS_GUI));
}
#endif