Commit 8718c501 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Fixing inline statements that are not implemented inline (static linking complains about this)

parent b22c765c
......@@ -147,7 +147,8 @@ class ITAStreamInfo;
*
* \ingroup datasources
*/
class ITA_DATA_SOURCES_API ITADatasource {
class ITA_DATA_SOURCES_API ITADatasource
{
public:
//! Destruktor
virtual ~ITADatasource();
......
......@@ -50,7 +50,8 @@ class ITADatasourceRealizationEventHandler;
* \ingroup datasources
*/
class ITA_DATA_SOURCES_API ITADatasourceRealization : public ITADatasource {
class ITA_DATA_SOURCES_API ITADatasourceRealization : public ITADatasource
{
public:
//! Konstruktor
/**
......@@ -107,10 +108,10 @@ public:
// -= Realisierung der abstrakten Methoden von "ITADatasource" =-
const ITAStreamProperties* GetStreamProperties() const { return &m_oStreamProps; }
unsigned int GetBlocklength() const { return m_uiBlocklength; }
unsigned int GetNumberOfChannels() const { return m_uiChannels; }
double GetSampleRate() const { return m_dSampleRate; }
inline const ITAStreamProperties* GetStreamProperties() const { return &m_oStreamProps; }
inline unsigned int GetBlocklength() const { return m_uiBlocklength; }
inline unsigned int GetNumberOfChannels() const { return m_uiChannels; }
inline double GetSampleRate() const { return m_dSampleRate; }
virtual const float* GetBlockPointer(unsigned int uiChannel, const ITAStreamInfo* pStreamInfo);
virtual void IncrementBlockPointer();
......@@ -140,13 +141,13 @@ public:
* Wird aufgerufen, wenn GetBlockPointer vom Stream aufgerufen wird,
* noch bevor intern Daten verarbeitert werden (also noch vor ProcessStream)
*/
virtual void PreGetBlockPointer() {};
inline virtual void PreGetBlockPointer() {};
//! Nachrichten-Methode
/*
* Wird aufgerufen, nachdem IncrementBlockPointer vom Stream aufgerufen wurde.
*/
virtual void PostIncrementBlockPointer() {};
inline virtual void PostIncrementBlockPointer() {};
//! Verarbeitungsmethode
/**
......@@ -154,7 +155,7 @@ public:
* produziert werden sollen. Unterklassen sollten diese Methode redefinieren,
* um die Verarbeitung von Samples zu realisieren.
*/
virtual void ProcessStream(const ITAStreamInfo* ) {};
inline virtual void ProcessStream(const ITAStreamInfo* ) {};
protected:
......@@ -190,9 +191,10 @@ private:
};
//! Schnittstelle fr Nachrichten-Verarbeitung der Klasse ITADatasourceRealization
class ITA_DATA_SOURCES_API ITADatasourceRealizationEventHandler {
class ITA_DATA_SOURCES_API ITADatasourceRealizationEventHandler
{
public:
virtual ~ITADatasourceRealizationEventHandler() {};
inline virtual ~ITADatasourceRealizationEventHandler() {};
virtual void HandlePreGetBlockPointer(ITADatasourceRealization* pSender, unsigned int uiChannel);
virtual void HandlePostIncrementBlockPointer(ITADatasourceRealization* pSender);
......
......@@ -14,7 +14,7 @@ static int PortaudioCallbackFunction( const void*, void*, unsigned long, const P
class ITAPortaudioSource : public ITADatasourceRealization
{
public:
ITAPortaudioSource( int iChannels, double dSampleRate, int iBufferSize )
inline ITAPortaudioSource( int iChannels, double dSampleRate, int iBufferSize )
: ITADatasourceRealization( ( unsigned int ) iChannels, dSampleRate, ( unsigned int ) iBufferSize, 16 ) {};
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment