exceptions.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <sstream>
4
#include <stdexcept>
5
6
#include "
VariantValue.h
"
// for TrackID
7
8
namespace
armarx::trajectory::error
9
{
10
11
12
struct
TrajectoryException
:
public
std::logic_error
13
{
14
TrajectoryException
(
const
std::string& msg);
15
};
16
17
struct
InterpolateDifferentTypesError
:
public
TrajectoryException
18
{
19
InterpolateDifferentTypesError
();
20
};
21
22
struct
NoTrackWithID
:
public
TrajectoryException
23
{
24
NoTrackWithID
(
const
TrackID
&
id
);
25
static
std::string
makeMsg
(
const
TrackID
&
id
);
26
};
27
28
struct
EmptyTrack
:
public
TrajectoryException
29
{
30
EmptyTrack
(
const
TrackID
&
id
);
31
static
std::string
makeMsg
(
const
TrackID
&
id
);
32
};
33
34
struct
WrongValueTypeInKeyframe
:
public
TrajectoryException
35
{
36
WrongValueTypeInKeyframe
(
const
TrackID
& trackID,
int
typeIndex,
int
expectedTypeIndex);
37
};
38
39
40
}
// namespace armarx::trajectory::error
armarx::trajectory::error::EmptyTrack::makeMsg
static std::string makeMsg(const TrackID &id)
Definition:
exceptions.cpp:32
armarx::trajectory::TrackID
std::string TrackID
ID of tracks.
Definition:
VariantValue.h:15
armarx::trajectory::error::TrajectoryException::TrajectoryException
TrajectoryException(const std::string &msg)
Definition:
exceptions.cpp:5
armarx::trajectory::error::NoTrackWithID::makeMsg
static std::string makeMsg(const TrackID &id)
Definition:
exceptions.cpp:19
VariantValue.h
armarx::trajectory::error::InterpolateDifferentTypesError::InterpolateDifferentTypesError
InterpolateDifferentTypesError()
Definition:
exceptions.cpp:9
armarx::trajectory::error::EmptyTrack::EmptyTrack
EmptyTrack(const TrackID &id)
Definition:
exceptions.cpp:27
armarx::trajectory::error::NoTrackWithID
Definition:
exceptions.h:22
armarx::trajectory::error::TrajectoryException
Definition:
exceptions.h:12
armarx::trajectory::error::WrongValueTypeInKeyframe
Definition:
exceptions.h:34
armarx::trajectory::error::NoTrackWithID::NoTrackWithID
NoTrackWithID(const TrackID &id)
Definition:
exceptions.cpp:14
armarx::trajectory::error
Definition:
exceptions.cpp:3
armarx::trajectory::error::InterpolateDifferentTypesError
Definition:
exceptions.h:17
armarx::trajectory::error::EmptyTrack
Definition:
exceptions.h:28
armarx::trajectory::error::WrongValueTypeInKeyframe::WrongValueTypeInKeyframe
WrongValueTypeInKeyframe(const TrackID &trackID, int typeIndex, int expectedTypeIndex)
Definition:
exceptions.cpp:52
RobotAPI
libraries
SimpleTrajectory
exceptions.h
Generated on Sat Mar 29 2025 09:17:25 for armarx_documentation by
1.8.17