[4332] | 1 | %------------------------------------------------------------------------- |
---|
| 2 | % WARPLab Framework |
---|
| 3 | % |
---|
| 4 | % Copyright 2013, Mango Communications. All rights reserved. |
---|
| 5 | % Distributed under the WARP license (http://warpproject.org/license) |
---|
| 6 | % |
---|
| 7 | % Chris Hunter (chunter [at] mangocomm.com) |
---|
| 8 | % Patrick Murphy (murphpo [at] mangocomm.com) |
---|
| 9 | % Erik Welsh (welsh [at] mangocomm.com) |
---|
| 10 | %------------------------------------------------------------------------- |
---|
| 11 | |
---|
[1915] | 12 | classdef handle_light < handle |
---|
[4332] | 13 | % handle_light Helper class for inheriting from handle |
---|
| 14 | % All WARPLab classes inherit from handle, but don't use many of handle's methods |
---|
| 15 | % In order to hide these methods in the auto-generated documentation, |
---|
| 16 | % WARPLab classes inherit from handle via handle_light, which re-classifies |
---|
| 17 | % handle's methods as "Hidden". |
---|
| 18 | % |
---|
| 19 | % This idea and original code come from sclarke81 on stackoverflow: |
---|
| 20 | % http://stackoverflow.com/questions/6621850 |
---|
| 21 | % |
---|
[1915] | 22 | methods(Hidden) |
---|
[4332] | 23 | |
---|
| 24 | function lh = addlistener(varargin) |
---|
| 25 | lh = addlistener@handle(varargin{:}); |
---|
| 26 | end |
---|
| 27 | |
---|
| 28 | function notify(varargin) |
---|
| 29 | notify@handle(varargin{:}); |
---|
| 30 | end |
---|
| 31 | |
---|
| 32 | function delete(varargin) |
---|
| 33 | delete@handle(varargin{:}); |
---|
| 34 | end |
---|
| 35 | |
---|
| 36 | function Hmatch = findobj(varargin) |
---|
| 37 | Hmatch = findobj@handle(varargin{:}); |
---|
| 38 | end |
---|
| 39 | |
---|
| 40 | function p = findprop(varargin) |
---|
| 41 | p = findprop@handle(varargin{:}); |
---|
| 42 | end |
---|
| 43 | |
---|
| 44 | function TF = eq(varargin) |
---|
| 45 | TF = eq@handle(varargin{:}); |
---|
| 46 | end |
---|
| 47 | |
---|
| 48 | function TF = ne(varargin) |
---|
| 49 | TF = ne@handle(varargin{:}); |
---|
| 50 | end |
---|
| 51 | |
---|
| 52 | function TF = lt(varargin) |
---|
| 53 | TF = lt@handle(varargin{:}); |
---|
| 54 | end |
---|
| 55 | |
---|
| 56 | function TF = le(varargin) |
---|
| 57 | TF = le@handle(varargin{:}); |
---|
| 58 | end |
---|
| 59 | |
---|
| 60 | function TF = gt(varargin) |
---|
| 61 | TF = gt@handle(varargin{:}); |
---|
| 62 | end |
---|
| 63 | |
---|
| 64 | function TF = ge(varargin) |
---|
| 65 | TF = ge@handle(varargin{:}); |
---|
| 66 | end |
---|
| 67 | end |
---|
[1915] | 68 | end |
---|