Skip to content

Commit 0108be8

Browse files
committed
Move definitions of some functions to cpp
1 parent 7cf6f91 commit 0108be8

2 files changed

Lines changed: 24 additions & 4 deletions

File tree

Source/Processors/SourceNode/SourceNode.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,26 @@ SourceNode::~SourceNode()
6969
}
7070
}
7171

72+
bool SourceNode::hasEditor() const
73+
{
74+
return true;
75+
}
76+
77+
bool SourceNode::isGeneratesTimestamps() const
78+
{
79+
return true;
80+
}
81+
82+
DataThread* SourceNode::getThread() const
83+
{
84+
return dataThread;
85+
}
86+
87+
int SourceNode::getTTLState() const
88+
{
89+
return ttlState;
90+
}
91+
7292
//This is going to be quite slow, since is reallocating everything, but it's the
7393
//safest way to handle a possible varying number of subprocessors
7494
void SourceNode::resizeBuffers()

Source/Processors/SourceNode/SourceNode.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ class PLUGIN_API SourceNode : public GenericProcessor
6868

6969
void requestChainUpdate();
7070

71-
bool hasEditor() const override { return true; }
71+
bool hasEditor() const override;
7272

73-
bool isGeneratesTimestamps() const override { return true; }
73+
bool isGeneratesTimestamps() const override;
7474

7575
bool enable() override;
7676
bool disable() override;
@@ -81,9 +81,9 @@ class PLUGIN_API SourceNode : public GenericProcessor
8181

8282
void acquisitionStopped();
8383

84-
DataThread* getThread() const { return dataThread; }
84+
DataThread* getThread() const;
8585

86-
int getTTLState() const { return ttlState; }
86+
int getTTLState() const;
8787

8888
bool tryEnablingEditor();
8989

0 commit comments

Comments
 (0)