cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstParameterTypes
prmVelocityJointGet.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): Rajesh Kumar, Anton Deguet
6
Created on: 2008-04-10
7
8
(C) Copyright 2008-2023 Johns Hopkins University (JHU), All Rights Reserved.
9
10
--- begin cisst license - do not edit ---
11
12
This software is provided "as is" under an open source license, with
13
no warranty. The complete license can be found in license.txt and
14
http://www.cisst.org/cisst/license.txt.
15
16
--- end cisst license ---
17
*/
18
19
24
25
26
#ifndef _prmVelocityJointGet_h
27
#define _prmVelocityJointGet_h
28
29
// basic includes
30
#include <
cisstVector/vctDynamicVectorTypes.h
>
31
#include <
cisstMultiTask/mtsGenericObject.h
>
32
33
// Always include last
34
#include <
cisstParameterTypes/prmExport.h
>
35
38
class
CISST_EXPORT
prmVelocityJointGet
:
public
mtsGenericObject
39
{
40
CMN_DECLARE_SERVICES(
CMN_DYNAMIC_CREATION
,
CMN_LOG_ALLOW_DEFAULT
);
41
42
public
:
43
typedef
mtsGenericObject
BaseType
;
44
typedef
prmVelocityJointGet
ThisType
;
45
typedef
unsigned
int
size_type
;
46
48
inline
prmVelocityJointGet
(
void
):
49
BaseType
()
50
{}
51
53
54
inline
prmVelocityJointGet
(
size_type
size
):
55
BaseType
()
56
{
57
SetSize
(
size
);
58
}
59
60
void
SetSize
(
size_type
size
);
61
63
inline
explicit
prmVelocityJointGet
(
const
vctDoubleVec
& velocity):
64
BaseType
(),
65
VelocityMember(velocity)
66
{}
67
69
virtual
~prmVelocityJointGet
();
70
73
CMN_DECLARE_MEMBER_AND_ACCESSORS
(
vctDoubleVec
, Velocity);
75
76
public
:
77
79
void
ToStream
(std::ostream & outputStream)
const override
;
80
82
void
ToStreamRaw
(std::ostream & outputStream,
const
char
delimiter =
' '
,
83
bool
headerOnly =
false
,
const
std::string & headerPrefix =
""
)
const override
;
84
86
void
SerializeRaw
(std::ostream & outputStream)
const override
;
87
89
void
DeSerializeRaw
(std::istream & inputStream)
override
;
90
91
};
// _prmVelocityJointGet_h
92
93
94
CMN_DECLARE_SERVICES_INSTANTIATION
(
prmVelocityJointGet
);
95
96
97
#endif
// _prmVelocityJointGet_h
98
mtsGenericObject::mtsGenericObject
mtsGenericObject(void)
Definition
mtsGenericObject.h:77
prmVelocityJointGet
Definition
prmVelocityJointGet.h:39
prmVelocityJointGet::DeSerializeRaw
void DeSerializeRaw(std::istream &inputStream) override
prmVelocityJointGet::ToStreamRaw
void ToStreamRaw(std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const override
prmVelocityJointGet::prmVelocityJointGet
prmVelocityJointGet(size_type size)
Definition
prmVelocityJointGet.h:54
prmVelocityJointGet::~prmVelocityJointGet
virtual ~prmVelocityJointGet()
prmVelocityJointGet::prmVelocityJointGet
prmVelocityJointGet(const vctDoubleVec &velocity)
Definition
prmVelocityJointGet.h:63
prmVelocityJointGet::SetSize
void SetSize(size_type size)
prmVelocityJointGet::CMN_DECLARE_MEMBER_AND_ACCESSORS
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, Velocity)
prmVelocityJointGet::ThisType
prmVelocityJointGet ThisType
Definition
prmVelocityJointGet.h:44
prmVelocityJointGet::SerializeRaw
void SerializeRaw(std::ostream &outputStream) const override
prmVelocityJointGet::prmVelocityJointGet
prmVelocityJointGet(void)
Definition
prmVelocityJointGet.h:48
prmVelocityJointGet::BaseType
mtsGenericObject BaseType
Definition
prmVelocityJointGet.h:43
prmVelocityJointGet::size_type
unsigned int size_type
Definition
prmVelocityJointGet.h:45
prmVelocityJointGet::ToStream
void ToStream(std::ostream &outputStream) const override
CMN_DECLARE_SERVICES_INSTANTIATION
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition
cmnClassRegisterMacros.h:199
CMN_DYNAMIC_CREATION
const int CMN_DYNAMIC_CREATION
Definition
cmnClassRegisterMacros.h:328
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
CMN_LOG_ALLOW_DEFAULT
#define CMN_LOG_ALLOW_DEFAULT
Definition
cmnLogLoD.h:76
mtsGenericObject.h
Defines mtsGenericObject.
prmExport.h
size
size_type size(void) const
Definition
vctDynamicConstMatrixBase.h:228
vctDynamicVectorTypes.h
Typedef for dynamic vectors.
vctDoubleVec
vctDynamicVector< double > vctDoubleVec
Definition
vctDynamicVectorTypes.h:37
Generated by
1.18.0