Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions ecal/core/src/registration/ecal_process_registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,7 @@ eCAL::Registration::Sample eCAL::Registration::GetProcessRegisterSample()
}
else
{
switch (timegate->GetSyncMode())
{
case CTimeGate::eTimeSyncMode::realtime:
process_sample_process.time_sync_state = Registration::eTimeSyncState::tsync_realtime;
break;
case CTimeGate::eTimeSyncMode::replay:
process_sample_process.time_sync_state = Registration::eTimeSyncState::tsync_replay;
break;
default:
process_sample_process.time_sync_state = Registration::eTimeSyncState::tsync_none;
break;
}
process_sample_process.time_sync_state = Registration::eTimeSyncState::tsync_realtime;
}
process_sample_process.time_sync_module_name = timegate->GetName();
}
Expand Down
5 changes: 0 additions & 5 deletions ecal/core/src/time/ecal_timegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ namespace eCAL
public:
static std::shared_ptr<CTimeGate> CreateTimegate();

// TODO: these need to be removed
enum eTimeSyncMode { none, realtime, replay };

private:
CTimeGate(CTimePlugin&& time_plugin, std::string plugin_name);

Expand All @@ -66,8 +63,6 @@ namespace eCAL

void GetStatus(int& error_, std::string* status_message_);

eTimeSyncMode GetSyncMode() { return(eTimeSyncMode::realtime); };

CTimePlugin m_time_plugin;
std::string m_plugin_name;
};
Expand Down