cisst-saw
Loading...
Searching...
No Matches
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
12This software is provided "as is" under an open source license, with
13no warranty. The complete license can be found in license.txt and
14http://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
32
33// Always include last
35
39{
40 CMN_DECLARE_SERVICES(CMN_DYNAMIC_CREATION, CMN_LOG_ALLOW_DEFAULT);
41
42public:
45 typedef unsigned int size_type;
46
48 inline prmVelocityJointGet(void):
49 BaseType()
50 {}
51
53
55 BaseType()
56 {
58 }
59
61
63 inline explicit prmVelocityJointGet(const vctDoubleVec & velocity):
64 BaseType(),
65 VelocityMember(velocity)
66 {}
67
70
75
76public:
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
95
96
97#endif // _prmVelocityJointGet_h
98
mtsGenericObject(void)
Definition mtsGenericObject.h:77
Definition prmVelocityJointGet.h:39
void DeSerializeRaw(std::istream &inputStream) override
void ToStreamRaw(std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const override
prmVelocityJointGet(size_type size)
Definition prmVelocityJointGet.h:54
virtual ~prmVelocityJointGet()
prmVelocityJointGet(const vctDoubleVec &velocity)
Definition prmVelocityJointGet.h:63
void SetSize(size_type size)
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, Velocity)
prmVelocityJointGet ThisType
Definition prmVelocityJointGet.h:44
void SerializeRaw(std::ostream &outputStream) const override
prmVelocityJointGet(void)
Definition prmVelocityJointGet.h:48
mtsGenericObject BaseType
Definition prmVelocityJointGet.h:43
unsigned int size_type
Definition prmVelocityJointGet.h:45
void ToStream(std::ostream &outputStream) const override
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition cmnClassRegisterMacros.h:199
const int CMN_DYNAMIC_CREATION
Definition cmnClassRegisterMacros.h:328
#define CISST_EXPORT
Definition cmnExportMacros.h:50
#define CMN_LOG_ALLOW_DEFAULT
Definition cmnLogLoD.h:76
Defines mtsGenericObject.
size_type size(void) const
Definition vctDynamicConstMatrixBase.h:228
Typedef for dynamic vectors.
vctDynamicVector< double > vctDoubleVec
Definition vctDynamicVectorTypes.h:37