BTK  0.3dev.0
Open-source library to visualize/process biomechanical data
List of all members | Public Types | Public Member Functions | Static Public Member Functions
btk::MeasureTraits< Analog >::Data Class Reference

Class storing the measures for one analog channel. More...

#include <btkAnalog.h>

Inheritance diagram for btk::MeasureTraits< Analog >::Data:
Inheritance graph
[legend]

Public Types

typedef btkSharedPtr< const Data > ConstPointer
 
typedef btkNullPtr< Data > NullPointer
 
typedef btkSharedPtr< Data > Pointer
 
- Public Types inherited from btk::MeasureData< Analog >
typedef MeasureTraits< Analog >
::Values 
Values
 Measures' values along the time.
 
- Public Types inherited from btk::DataObject
typedef btkSharedPtr< const
DataObject
ConstPointer
 
typedef btkNullPtr< DataObjectNullPointer
 
typedef btkSharedPtr< DataObjectPointer
 
- Public Types inherited from btk::Object
typedef btkSharedPtr< const
Object
ConstPointer
 
typedef btkSharedPtr< ObjectPointer
 

Public Member Functions

Pointer Clone () const
 
void Resize (int frameNumber)
 
- Public Member Functions inherited from btk::MeasureData< Analog >
ValuesGetValues ()
 
const ValuesGetValues () const
 
void SetValues (const Values &v)
 
- Public Member Functions inherited from btk::DataObject
DataObjectGetParent () const
 
bool HasParent () const
 
void Modified ()
 
void SetParent (DataObject *parent)
 
void Update ()
 
- Public Member Functions inherited from btk::Object
unsigned long int GetTimestamp () const
 

Static Public Member Functions

static Pointer New (int frameNumber)
 
static NullPointer Null ()
 
- Static Public Member Functions inherited from btk::DataObject
static NullPointer Null ()
 

Additional Inherited Members

- Protected Member Functions inherited from btk::MeasureData< Analog >
 MeasureData (int frameNumber)
 
 MeasureData (const MeasureData &toCopy)
 
MeasureDataoperator= (const MeasureData &)
 
- Protected Member Functions inherited from btk::DataObject
 DataObject ()
 
 DataObject (const DataObject &toCopy)
 
virtual ~DataObject ()
 
- Protected Member Functions inherited from btk::Object
 Object ()
 
 Object (const Object &toCopy)
 
virtual ~Object ()
 
- Protected Attributes inherited from btk::MeasureData< Analog >
MeasureData< Analog >::Values m_Values
 Values of the measure.
 
- Protected Attributes inherited from btk::Object
unsigned long int m_Timestamp
 

Detailed Description

template<>
class btk::MeasureTraits< Analog >::Data

Class storing the measures for one analog channel.

Member Typedef Documentation

Smart pointer associated with a const MeasureTraits<Analog>::Data object.

Special null pointer associated with a Analog::Data object. This type should be used only internally to test the nullity of a smart pointer. See the static method Null() instead.

Smart pointer associated with a MeasureTraits<Analog>::Data object.

Member Function Documentation

MeasureTraits< Analog >::Data::Pointer btk::MeasureTraits< Analog >::Data::Clone ( ) const
inline

Deep copy of the current object.

static Pointer btk::MeasureTraits< Analog >::Data::New ( int  frameNumber)
inlinestatic

Creates a smart pointer associated with a MeasureTraits<Analog>::Data object.

static NullPointer btk::MeasureTraits< Analog >::Data::Null ( )
inlinestatic

Static function to return a null pointer.

Note
This static method should be used only to test if a shared ponter is null or not. It is advised to call the method without parenthesis as special (in)equality operator are implemented to use a function pointer. See the description of the class NullPtr for an example.
void btk::MeasureTraits< Analog >::Data::Resize ( int  frameNumber)
inline

Resize the number of frames for the values.

Warning
The input frameNumber cannot be set to value lower or equal to 0. This method doesn't check for the given number of frames and will crash if the value is lower or equal to 0.