@@ -47,6 +47,7 @@ class PLUGIN_API NodeInfoBase
4747 // This field should never be changed by anything except GenericProcessor base code
4848 friend class GenericProcessor ;
4949public:
50+ virtual ~NodeInfoBase ();
5051 /* * Gets the ID of the processor which currently owns this copy of the info object */
5152 unsigned int getCurrentNodeID () const ;
5253protected:
@@ -62,6 +63,7 @@ class PLUGIN_API HistoryObject
6263 HistoryObject ();
6364
6465public:
66+ virtual ~HistoryObject ();
6567 /* * Returns the historic string */
6668 String getHistoricString ();
6769 /* * Adds a new entry in the historic string*/
@@ -77,6 +79,7 @@ class PLUGIN_API SourceProcessorInfo
7779 SourceProcessorInfo (const GenericProcessor* source, uint16 subproc = 0 );
7880
7981public:
82+ virtual ~SourceProcessorInfo ();
8083 /* * Gets the ID of the processor which created the channel object */
8184 uint16 getSourceNodeID () const ;
8285
@@ -101,6 +104,7 @@ class PLUGIN_API SourceProcessorInfo
101104class PLUGIN_API NamedInfoObject
102105{
103106public:
107+ virtual ~NamedInfoObject ();
104108 /* * Sets the object's name*/
105109 void setName (String name);
106110
@@ -135,6 +139,7 @@ class PLUGIN_API InfoObjectCommon :
135139 InfoObjectCommon (uint16 idx, uint16 typeidx, float sampleRate, const GenericProcessor* source, uint16 subproc = 0 );
136140
137141public:
142+ virtual ~InfoObjectCommon ();
138143 enum InfoObjectType
139144 {
140145 DATA_CHANNEL,
@@ -191,7 +196,7 @@ class PLUGIN_API DataChannel
191196 /* * Copy constructor. */
192197 DataChannel (const DataChannel& ch);
193198
194- ~DataChannel ();
199+ virtual ~DataChannel ();
195200
196201 // --------- DATA GET / SET METHODS --------//
197202
@@ -293,7 +298,7 @@ class PLUGIN_API EventChannel :
293298 */
294299 EventChannel (EventChannelTypes type, unsigned int numChannels, unsigned int dataLength, float sampleRate, GenericProcessor* source, uint16 subproc = 0 );
295300
296- ~EventChannel ();
301+ virtual ~EventChannel ();
297302
298303 EventChannelTypes getChannelType () const ;
299304
@@ -358,7 +363,7 @@ class PLUGIN_API SpikeChannel :
358363 */
359364 SpikeChannel (ElectrodeTypes type, GenericProcessor* source, const Array<const DataChannel*>& sourceChannels, uint16 subproc = 0 );
360365
361- ~SpikeChannel ();
366+ virtual ~SpikeChannel ();
362367
363368 ElectrodeTypes getChannelType () const ;
364369
@@ -421,6 +426,7 @@ class PLUGIN_API ConfigurationObject :
421426 @param subproc Optional. The source subprocessor index
422427 */
423428 ConfigurationObject (String identifier, GenericProcessor* source, uint16 subproc = 0 );
429+ virtual ~ConfigurationObject ();
424430
425431 /* * Sets if the configuration should be recorded or not.
426432 Similar to the events, this does not prevent the configuration data to be recorded, but rather states
0 commit comments