cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
robFunction.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3 
4 /*
5  Author(s): Simon Leonard
6  Created on: 2009-11-11
7 
8  (C) Copyright 2009-2014 Johns Hopkins University (JHU), All Rights
9  Reserved.
10 
11 --- begin cisst license - do not edit ---
12 
13 This software is provided "as is" under an open source license, with
14 no warranty. The complete license can be found in license.txt and
15 http://www.cisst.org/cisst/license.txt.
16 
17 --- end cisst license ---
18 */
19 
20 #ifndef _robFunction_h
21 #define _robFunction_h
22 
23 #include <cisstRobot/robExport.h>
24 
25 
32 
33  protected:
34 
35  double t1;
36  double t2;
38  public:
39 
40  robFunction( void );
41  robFunction( double startTime, double stopTime );
42 
43  virtual ~robFunction() {}
44 
51  void Set( double startTime, double stopTime );
52 
54  virtual double& StartTime( void );
55 
57  virtual double& StopTime( void );
58 
60  virtual double Duration( void ) const;
61 
62 };
63 
64 #endif // _robFunction_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
virtual ~robFunction()
Definition: robFunction.h:43
Base class for robot function.
Definition: robFunction.h:31
double t1
Definition: robFunction.h:35
double t2
Definition: robFunction.h:36