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
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue