cisst-saw
Loading...
Searching...
No Matches
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
9This software is provided "as is" under an open source license, with
10no warranty. The complete license can be found in license.txt and
11http://www.cisst.org/cisst/license.txt.
12
13--- end cisst license ---
14*/
15
16#ifndef mtsConstraintBase_H
17#define mtsConstraintBase_H
18
20#include <sawConstraintController/mtsVFDataBase.h>
21#include <sawConstraintController/prmKinematicsState.h>
23#include <memory>
24#include <typeindex>
25
26/* For use with the 'lite' version of the consraint controller */
27
28class mtsConstraintBase : public mtsVFDataBase, public mtsVFBase
29{
30public:
31 typedef std::map<std::string, prmKinematicsState *> kinematics_map;
33 virtual ~mtsConstraintBase(){};
35
36 using mtsVFBase::Name; // clarify ambiguity as both have this member
37
38private:
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
42protected:
43};
44
45#endif // mtsConstraintBase_H
virtual ~mtsConstraintBase()
Definition mtsConstraintBase.h:33
virtual void PrepareDataForBridging(mtsInterfaceProvided *CMN_UNUSED(provided))
Definition mtsConstraintBase.h:34
std::map< std::string, prmKinematicsState * > kinematics_map
Definition mtsConstraintBase.h:31
mtsConstraintBase()
Definition mtsConstraintBase.h:32
Definition mtsInterfaceProvided.h:98
CONTROLLERMODE
Definition mtsVFBase.h:39
std::string Name
Name of the virtual fixture.
Definition mtsVFBase.h:42
mtsVFBase()
Definition mtsVFBase.h:91
#define CMN_UNUSED(argument)
Definition cmnPortability.h:497
Declaration of mtsInterfaceProvided.