function schema
% Defines properties for @recorder class.

%   Copyright 1986-2004 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:39:54 $

% Register class 
superclass = findclass(findpackage('ctrluis'),'recorder');
c = schema.class(findpackage('tsguis'),'recorder',superclass);

%% Recorder class is overloaded ctrluis.recorder to be a singleston and to
%% store the status of the M code recorder

%% Public properties

%% M/MAT File path
schema.prop(c,'Path','String');

%% M File storing logged code
schema.prop(c,'Filename','String'); 

%% MAT file for storing indices
%schema.prop(c,'Matname','String');

%% Flag indicating if data has been saved in this logging session
p = schema.prop(c,'Saveddata','on/off'); 
p.FactoryValue = 'off';

%% Current recording status
schema.prop(c, 'Recording','on/off');

%% Dialog handle
schema.prop(c,'Dialog','MATLAB array'); 

%% List of variable (time series) names to be passed into the generated
%% function
p = schema.prop(c,'Tsnames','MATLAB array'); 
p.FactoryValue = {};

%% History of macro created this session
p = schema.prop(c,'Macrostack','MATLAB array'); 
p.FactoryValue = cell([0 2]);

%% List of output variable (time series) names to be passed from the generated
%% function
p = schema.prop(c,'Tsoutnames','MATLAB array'); 
p.FactoryValue = {};

