comparison m-toolbox/classes/@LTPDARepositoryManager/cb_newConnection.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 % cb_newConnection callback method which creates a new connection.
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %
4 % description: cb_newConnection callback method which creates a new
5 % connection.
6 %
7 % version: $Id: cb_newConnection.m,v 1.2 2010/01/22 12:23:02 ingo Exp $
8 %
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
11 function cb_newConnection(varargin)
12
13 rm = getappdata(0, 'LTPDARepositoryManager');
14 if ~isa(rm, 'LTPDARepositoryManager')
15 rm = LTPDARepositoryManager();
16 end
17
18 rm.newConnection;
19
20 end