cisst-saw
Loading...
Searching...
No Matches
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
13This software is provided "as is" under an open source license, with
14no warranty. The complete license can be found in license.txt and
15http://www.cisst.org/cisst/license.txt.
16
17--- end cisst license ---
18*/
19
20#ifndef _robFunction_h
21#define _robFunction_h
22
24
25
32
33 protected:
34
35 double t1;
36 double t2;
37
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
virtual double & StopTime(void)
Return stop time.
virtual double & StartTime(void)
Return start time.
virtual double Duration(void) const
Return duration.
robFunction(void)
robFunction(double startTime, double stopTime)
double t1
Definition robFunction.h:35
virtual ~robFunction()
Definition robFunction.h:43
void Set(double startTime, double stopTime)
Set start and stop time.
double t2
Definition robFunction.h:36
#define CISST_EXPORT
Definition cmnExportMacros.h:50