cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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 
27 #ifndef _prmVelocityJointGet_h
28 #define _prmVelocityJointGet_h
29 
30 // basic includes
33 
34 // Always include last
36 
40 {
42 
43 public:
46  typedef unsigned int size_type;
47 
49  inline prmVelocityJointGet(void):
50  BaseType()
51  {}
52 
56  BaseType()
57  {
58  SetSize(size);
59  }
60 
61  void SetSize(size_type size);
62 
64  inline explicit prmVelocityJointGet(const vctDoubleVec & velocity):
65  BaseType(),
66  VelocityMember(velocity)
67  {}
68 
70  virtual ~prmVelocityJointGet();
71 
76 
77 public:
78 
80  void ToStream(std::ostream & outputStream) const;
81 
83  void ToStreamRaw(std::ostream & outputStream, const char delimiter = ' ',
84  bool headerOnly = false, const std::string & headerPrefix = "") const;
85 
87  void SerializeRaw(std::ostream & outputStream) const;
88 
90  void DeSerializeRaw(std::istream & inputStream);
91 
92 }; // _prmVelocityJointGet_h
93 
94 
96 
97 
98 #endif // _prmVelocityJointGet_h
99 
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: prmVelocityJointGet.h:39
Typedef for dynamic vectors.
virtual void SerializeRaw(std::ostream &outputStream) const
virtual void DeSerializeRaw(std::istream &inputStream)
virtual void ToStream(std::ostream &outputStream) const
prmVelocityJointGet(const vctDoubleVec &velocity)
Definition: prmVelocityJointGet.h:64
size_t size_type
Definition: vctContainerTraits.h:35
Base class for high level objects.
Definition: cmnGenericObject.h:51
Base class for data object in cisstMultiTask.
Definition: mtsGenericObject.h:56
prmVelocityJointGet(void)
Definition: prmVelocityJointGet.h:49
mtsGenericObject BaseType
Definition: prmVelocityJointGet.h:44
prmVelocityJointGet(size_type size)
Definition: prmVelocityJointGet.h:55
Defines mtsGenericObject.
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
#define CMN_DECLARE_MEMBER_AND_ACCESSORS(memberType, memberName)
Definition: cmnAccessorMacros.h:70
unsigned int size_type
Definition: prmVelocityJointGet.h:46
const int CMN_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:331
CMN_DECLARE_SERVICES_INSTANTIATION(prmVelocityJointGet)
virtual void ToStreamRaw(std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const
prmVelocityJointGet ThisType
Definition: prmVelocityJointGet.h:45
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76