Skip to content

Commit

Permalink
Update broadcast/config function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
medengineer committed Jun 5, 2024
1 parent f09ad98 commit a68b1aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/NIDAQThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ void NIDAQThread::initialize(bool signalChainIsLoading)

}

String NIDAQThread::handleConfigMessage(String msg)
String NIDAQThread::handleConfigMessage(const String& msg)
{
//TODO:
return " ";
}

void NIDAQThread::handleBroadcastMessage(String msg)
void NIDAQThread::handleBroadcastMessage(const String& msg, const int64 systemTimeMillis)
{
//TODO
}
Expand Down
4 changes: 2 additions & 2 deletions Source/NIDAQThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ class NIDAQThread : public DataThread
float getSampleRate();

/** Responds to broadcast messages sent during acquisition */
void handleBroadcastMessage(String msg) override;
void handleBroadcastMessage(const String& msg, const int64 systemTimeMillis) override;

/** Responds to config messages sent while acquisition is stopped */
String handleConfigMessage(String msg) override;
String handleConfigMessage(const String& msg) override;

CriticalSection* getMutex()
{
Expand Down

0 comments on commit a68b1aa

Please sign in to comment.