Explicitly delete the copy constructor and copy assignment operator for
Unit to prevent accidental duplication of DSP processing state.
Copying a Unit instance could duplicate internal buffer and processing
state, potentially causing incorrect DSP behavior or resource-management
problems.
Since Unit is not intended to be copied or assigned, prohibit both
operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
TVScreenAnalogBuffer to prevent accidental duplication of its buffer.
The destructor deletes m_outOfBoundsLine with delete[]. A shallow copy
would cause multiple instances to own the same array, potentially
resulting in double deletion and memory corruption.
Since TVScreenAnalogBuffer manages this buffer directly, prohibit copying
and assignment at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
UDPSinkUtil to prevent accidental duplication of its socket ownership.
The destructor deletes m_socket. A shallow copy would leave multiple
instances referencing the same socket, potentially causing double
deletion and invalid socket access.
Since UDPSinkUtil owns its socket, prohibit copying and assignment at
compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
DoubleBufferFIFO to prevent accidental duplication of its data buffer.
The destructor deletes m_data with delete[]. A shallow copy would cause
multiple instances to own the same buffer, potentially resulting in
double deletion and memory corruption.
Since DoubleBufferFIFO manages its buffer directly, prohibit copying and
assignment at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
FilterStage to prevent accidental duplication of its filter state.
Copying a filter stage could duplicate internal processing state and
resource references, potentially causing incorrect channelization behavior
or resource-management problems.
Since FilterStage is not intended to be copied or assigned, prohibit
both operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
IIRFilter to prevent accidental duplication of filter state.
Copying an IIRFilter instance could duplicate internal filter state and
coefficient references, potentially causing incorrect processing or
resource-management problems.
Since IIRFilter is not intended to be copied or assigned, prohibit both
operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
FFTNoiseReduction to prevent accidental duplication of its noise-reduction
state.
Copying an FFTNoiseReduction instance could duplicate internal processing
state or resource references, potentially causing incorrect behavior or
resource-management problems.
Since FFTNoiseReduction is not intended to be copied or assigned,
prohibit both operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
sfft to prevent accidental duplication of FFT processing state.
Copying an FFT instance could duplicate internal state or resource
references, potentially causing incorrect processing or resource-management
problems.
Since sfft is not intended to be copied or assigned, prohibit both
operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
FilterStage to prevent accidental duplication of its filter state.
Copying a filter stage could duplicate internal processing state and
resources, potentially causing incorrect channelization behavior or
resource-management problems.
Since FilterStage is not intended to be copied or assigned, prohibit
both operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
CTCSSDetector to prevent accidental duplication of its detector state.
Copying could duplicate internal detection state and coefficients, leading
to unintended behavior if instances are expected to maintain independent
processing state.
Since CTCSSDetector is not intended to be copied or assigned, prohibit
both operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
AFSquelch to prevent accidental duplication of its DSP state.
The implicitly generated copy operations could duplicate internal filter
state and coefficients, potentially causing unintended behavior if the
instances are expected to maintain independent processing state.
Since AFSquelch is not intended to be copied or assigned, prohibit both
operations at compile time.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
DeviceSet, which manages device and channel state that should not be
duplicated through implicit shallow copies.
The implicitly generated copy operations could duplicate internal state and
resource references, potentially causing inconsistent device state or
invalid resource ownership.
Since DeviceSet is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe duplication.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Delete the copy constructor and copy assignment operator to prevent
shallow copies of the dynamically allocated m_superBlocks array, which
could lead to double deletion.
Add a move constructor that transfers ownership of m_superBlocks and
nulls the source pointer, allowing std::vector<RemoteDataFrame> to
relocate elements safely during resize.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
AudioNetSink, which manages audio output and network resources that should
not be duplicated through implicit shallow copies.
The implicitly generated copy operations could leave multiple AudioNetSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since AudioNetSink is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
RTPRawPacket, which represents a received packet and manages resources
that should not be duplicated through implicit shallow copies.
The implicitly generated copy operations could duplicate internal pointers,
leaving multiple RTPRawPacket instances referring to the same resources
and potentially causing invalid ownership or double deletion.
Since RTPRawPacket is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
UDPSourceSource, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple UDPSourceSource
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since UDPSourceSource is not intended to be copied or assigned, prohibit
both operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
DVBS, which manages resources that should not be shared through implicit
shallow copies.
The implicitly generated copy operations could leave multiple DVBS
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since DVBS is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
ATVModSource, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple ATVModSource
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since ATVModSource is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
WDSPRxSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple WDSPRxSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since WDSPRxSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
FileSinkSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple FileSinkSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since FileSinkSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
WFMDemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple WFMDemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since WFMDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
SSBDemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple SSBDemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since SSBDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
FT8DemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple FT8DemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since FT8DemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
DSDDemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple DSDDemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since DSDDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructors and copy assignment operators for
auto_notch and fir_sampler, both of which own dynamically allocated arrays
released by their destructors.
The implicitly generated copy operations would shallow-copy the array
pointers, leaving multiple instances referring to the same allocations and
potentially causing double deletion.
Since neither class is intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructors and assignment operators
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
ldpc_engine, which manages resources that should not be duplicated through
implicit shallow copies.
The implicitly generated copy operations could duplicate internal resource
pointers, potentially leaving multiple ldpc_engine instances referring to
the same resources and causing invalid ownership or double deletion.
Since ldpc_engine is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
hdlc_dec, which owns a dynamically allocated frame buffer released by its
destructor.
The implicitly generated copy operations would shallow-copy the framebuf
pointer, leaving multiple hdlc_dec instances referring to the same
allocation and potentially causing double deletion.
Since hdlc_dec is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
pipebuf, which owns a dynamically allocated buffer released by its
destructor.
The implicitly generated copy operations would shallow-copy the buffer
pointer, leaving multiple pipebuf instances referring to the same allocation
and potentially causing double deletion.
Since pipebuf is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>