cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
sawConstraintController
components
include
sawConstraintController
mtsConstraintBase.h
Go to the documentation of this file.
1
/*
2
Author(s): Henry Phalen, based on previous work by Paul Wilkening and others.
3
Created on: 2022-10-05
4
5
(C) Copyright 2013-2022 Johns Hopkins University (JHU), All Rights Reserved.
6
7
--- begin cisst license - do not edit ---
8
9
This software is provided "as is" under an open source license, with
10
no warranty. The complete license can be found in license.txt and
11
http://www.cisst.org/cisst/license.txt.
12
13
--- end cisst license ---
14
*/
15
16
#ifndef mtsConstraintBase_H
17
#define mtsConstraintBase_H
18
19
#include <
sawConstraintController/mtsVFBase.h
>
20
#include <sawConstraintController/mtsVFDataBase.h>
21
#include <sawConstraintController/prmKinematicsState.h>
22
#include <
cisstMultiTask/mtsInterfaceProvided.h
>
23
#include <memory>
24
#include <typeindex>
25
26
/* For use with the 'lite' version of the consraint controller */
27
28
class
mtsConstraintBase
:
public
mtsVFDataBase,
public
mtsVFBase
29
{
30
public
:
31
typedef
std::map<std::string, prmKinematicsState *>
kinematics_map
;
32
mtsConstraintBase
(){};
33
virtual
~mtsConstraintBase
(){};
34
virtual
void
PrepareDataForBridging
(
mtsInterfaceProvided
*
CMN_UNUSED
(provided)) {};
35
36
using
mtsVFBase::Name
;
// clarify ambiguity as both have this member
37
38
private
:
39
virtual
void
ConvertRefs(
const
mtsVFBase::CONTROLLERMODE
CMN_UNUSED
(mode),
40
const
double
CMN_UNUSED
(TickTime)) {};
// Required by mtsVFBase, but won't be using
41
42
protected
:
43
};
44
45
#endif
// mtsConstraintBase_H
mtsConstraintBase::~mtsConstraintBase
virtual ~mtsConstraintBase()
Definition
mtsConstraintBase.h:33
mtsConstraintBase::PrepareDataForBridging
virtual void PrepareDataForBridging(mtsInterfaceProvided *CMN_UNUSED(provided))
Definition
mtsConstraintBase.h:34
mtsConstraintBase::kinematics_map
std::map< std::string, prmKinematicsState * > kinematics_map
Definition
mtsConstraintBase.h:31
mtsConstraintBase::mtsConstraintBase
mtsConstraintBase()
Definition
mtsConstraintBase.h:32
mtsInterfaceProvided
Definition
mtsInterfaceProvided.h:98
mtsVFBase::CONTROLLERMODE
CONTROLLERMODE
Definition
mtsVFBase.h:39
mtsVFBase::Name
std::string Name
Name of the virtual fixture.
Definition
mtsVFBase.h:42
mtsVFBase::mtsVFBase
mtsVFBase()
Definition
mtsVFBase.h:91
CMN_UNUSED
#define CMN_UNUSED(argument)
Definition
cmnPortability.h:497
mtsInterfaceProvided.h
Declaration of mtsInterfaceProvided.
mtsVFBase.h
Generated by
1.18.0