Use the renamed SG_DDS_Topic class
This commit is contained in:
parent
4542691772
commit
8f5dc3e764
4 changed files with 6 additions and 6 deletions
src
|
@ -331,7 +331,7 @@ FGIO::parse_port_config( const string_list& tokens, bool& o_ok )
|
||||||
}
|
}
|
||||||
#if FG_HAVE_DDS
|
#if FG_HAVE_DDS
|
||||||
else if ( medium == "dds") {
|
else if ( medium == "dds") {
|
||||||
io->set_io_channel( new SG_DDS() );
|
io->set_io_channel( new SG_DDS_Topic() );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
|
|
|
@ -698,8 +698,8 @@ bool FGNativeCtrls::open() {
|
||||||
|
|
||||||
#if FG_HAVE_DDS
|
#if FG_HAVE_DDS
|
||||||
if ( io->get_type() == sgDDSType ) {
|
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_Ctrls" , &FG_DDS_Ctrls_desc, sizeof (FG_DDS_Ctrls));
|
dds->setup("FG_DDS_Ctrls", &FG_DDS_Ctrls_desc, sizeof(FG_DDS_Ctrls));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -738,8 +738,8 @@ bool FGNativeFDM::open() {
|
||||||
|
|
||||||
#if FG_HAVE_DDS
|
#if FG_HAVE_DDS
|
||||||
if ( io->get_type() == sgDDSType ) {
|
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_FDM" , &FG_DDS_FDM_desc, sizeof (FG_DDS_FDM));
|
dds->setup("FG_DDS_FDM", &FG_DDS_FDM_desc, sizeof(FG_DDS_FDM));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -473,7 +473,7 @@ bool FGNativeGUI::open() {
|
||||||
|
|
||||||
#if FG_HAVE_DDS
|
#if FG_HAVE_DDS
|
||||||
if ( io->get_type() == sgDDSType ) {
|
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));
|
dds->setup("FG_DDS_GUI" , &FG_DDS_GUI_desc, sizeof (FG_DDS_GUI));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue