cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstRobot
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
31
class
CISST_EXPORT
robFunction
{
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
robFunction::StopTime
virtual double & StopTime(void)
Return stop time.
robFunction::StartTime
virtual double & StartTime(void)
Return start time.
robFunction::Duration
virtual double Duration(void) const
Return duration.
robFunction::robFunction
robFunction(void)
robFunction::robFunction
robFunction(double startTime, double stopTime)
robFunction::t1
double t1
Definition
robFunction.h:35
robFunction::~robFunction
virtual ~robFunction()
Definition
robFunction.h:43
robFunction::Set
void Set(double startTime, double stopTime)
Set start and stop time.
robFunction::t2
double t2
Definition
robFunction.h:36
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
robExport.h
Generated by
1.18.0