@@ -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 ;
5253 /* * Gets the type of the processor which currently owns this copy of the info object */
@@ -68,6 +69,7 @@ class PLUGIN_API HistoryObject
6869 HistoryObject ();
6970
7071public:
72+ virtual ~HistoryObject ();
7173 /* * Returns the historic string */
7274 String getHistoricString ();
7375 /* * Adds a new entry in the historic string*/
@@ -83,6 +85,7 @@ class PLUGIN_API SourceProcessorInfo
8385 SourceProcessorInfo (const GenericProcessor* source, uint16 subproc = 0 );
8486
8587public:
88+ virtual ~SourceProcessorInfo ();
8689 /* * Gets the ID of the processor which created the channel object */
8790 uint16 getSourceNodeID () const ;
8891
@@ -111,6 +114,7 @@ class PLUGIN_API SourceProcessorInfo
111114class PLUGIN_API NamedInfoObject
112115{
113116public:
117+ virtual ~NamedInfoObject ();
114118 /* * Sets the object's name*/
115119 void setName (String name);
116120
@@ -145,6 +149,7 @@ class PLUGIN_API InfoObjectCommon :
145149 InfoObjectCommon (uint16 idx, uint16 typeidx, float sampleRate, const GenericProcessor* source, uint16 subproc = 0 );
146150
147151public:
152+ virtual ~InfoObjectCommon ();
148153 enum InfoObjectType
149154 {
150155 DATA_CHANNEL,
@@ -201,7 +206,7 @@ class PLUGIN_API DataChannel
201206 /* * Copy constructor. */
202207 DataChannel (const DataChannel& ch);
203208
204- ~DataChannel ();
209+ virtual ~DataChannel ();
205210
206211 // --------- DATA GET / SET METHODS --------//
207212
@@ -303,7 +308,7 @@ class PLUGIN_API EventChannel :
303308 */
304309 EventChannel (EventChannelTypes type, unsigned int numChannels, unsigned int dataLength, float sampleRate, GenericProcessor* source, uint16 subproc = 0 );
305310
306- ~EventChannel ();
311+ virtual ~EventChannel ();
307312
308313 EventChannelTypes getChannelType () const ;
309314
@@ -368,7 +373,7 @@ class PLUGIN_API SpikeChannel :
368373 */
369374 SpikeChannel (ElectrodeTypes type, GenericProcessor* source, const Array<const DataChannel*>& sourceChannels, uint16 subproc = 0 );
370375
371- ~SpikeChannel ();
376+ virtual ~SpikeChannel ();
372377
373378 ElectrodeTypes getChannelType () const ;
374379
@@ -431,6 +436,7 @@ class PLUGIN_API ConfigurationObject :
431436 @param subproc Optional. The source subprocessor index
432437 */
433438 ConfigurationObject (String identifier, GenericProcessor* source, uint16 subproc = 0 );
439+ virtual ~ConfigurationObject ();
434440
435441 /* * Sets if the configuration should be recorded or not.
436442 Similar to the events, this does not prevent the configuration data to be recorded, but rather states
0 commit comments