Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
42f46288
Commit
42f46288
authored
Aug 20, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mimic pending param support
Mimic pending param support by just calling through to setParameter.
parent
cf404a8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MockQGCUASParamManager.h
src/qgcunittest/MockQGCUASParamManager.h
+4
-4
No files found.
src/qgcunittest/MockQGCUASParamManager.h
View file @
42f46288
...
@@ -49,6 +49,10 @@ public:
...
@@ -49,6 +49,10 @@ public:
public
slots
:
public
slots
:
// Implemented QGCSUASParamManager overrides
// Implemented QGCSUASParamManager overrides
void
setParameter
(
int
component
,
QString
parameterName
,
QVariant
value
);
void
setParameter
(
int
component
,
QString
parameterName
,
QVariant
value
);
virtual
void
setPendingParam
(
int
componentId
,
const
QString
&
key
,
const
QVariant
&
value
,
bool
forceSend
=
false
)
{
Q_UNUSED
(
forceSend
);
setParameter
(
componentId
,
key
,
value
);
}
virtual
void
sendPendingParameters
(
bool
persistAfterSend
=
false
,
bool
forceSend
=
false
)
{
Q_UNUSED
(
persistAfterSend
);
Q_UNUSED
(
forceSend
);
}
public:
public:
// MockQGCUASParamManager methods
// MockQGCUASParamManager methods
...
@@ -74,12 +78,8 @@ public:
...
@@ -74,12 +78,8 @@ public:
public
slots
:
public
slots
:
// Unimplemented QGCUASParamManagerInterface overrides
// Unimplemented QGCUASParamManagerInterface overrides
virtual
void
sendPendingParameters
(
bool
persistAfterSend
=
false
,
bool
forceSend
=
false
)
{
Q_ASSERT
(
false
);
Q_UNUSED
(
persistAfterSend
);
Q_UNUSED
(
forceSend
);
}
virtual
void
requestParameterList
()
{
Q_ASSERT
(
false
);
}
virtual
void
requestParameterList
()
{
Q_ASSERT
(
false
);
}
virtual
void
requestParameterListIfEmpty
()
{
Q_ASSERT
(
false
);
}
virtual
void
requestParameterListIfEmpty
()
{
Q_ASSERT
(
false
);
}
virtual
void
setPendingParam
(
int
componentId
,
const
QString
&
key
,
const
QVariant
&
value
,
bool
forceSend
=
false
)
{
Q_ASSERT
(
false
);
Q_UNUSED
(
componentId
);
Q_UNUSED
(
key
);
Q_UNUSED
(
value
);
Q_UNUSED
(
forceSend
);
}
virtual
void
clearAllPendingParams
()
{
Q_ASSERT
(
false
);
}
virtual
void
clearAllPendingParams
()
{
Q_ASSERT
(
false
);
}
virtual
void
requestParameterUpdate
(
int
component
,
const
QString
&
parameter
)
virtual
void
requestParameterUpdate
(
int
component
,
const
QString
&
parameter
)
{
Q_ASSERT
(
false
);
Q_UNUSED
(
component
);
Q_UNUSED
(
parameter
);
}
{
Q_ASSERT
(
false
);
Q_UNUSED
(
component
);
Q_UNUSED
(
parameter
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment