Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
4c4b5288
Commit
4c4b5288
authored
7 years ago
by
Beat Küng
Committed by
Lorenz Meier
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
uORBManager: fix code style
parent
2f2c0440
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/uORB/uORBManager.hpp
+11
-11
11 additions, 11 deletions
src/modules/uORB/uORBManager.hpp
with
11 additions
and
11 deletions
src/modules/uORB/uORBManager.hpp
+
11
−
11
View file @
4c4b5288
...
...
@@ -152,7 +152,7 @@ public:
* this function will return -1 and set errno to ENOENT.
*/
orb_advert_t
orb_advertise_multi
(
const
struct
orb_metadata
*
meta
,
const
void
*
data
,
int
*
instance
,
int
priority
,
unsigned
int
queue_size
=
1
)
;
int
priority
,
unsigned
int
queue_size
=
1
);
/**
...
...
@@ -176,7 +176,7 @@ public:
* @param data A pointer to the data to be published.
* @return OK on success, ERROR otherwise with errno set accordingly.
*/
int
orb_publish
(
const
struct
orb_metadata
*
meta
,
orb_advert_t
handle
,
const
void
*
data
)
;
int
orb_publish
(
const
struct
orb_metadata
*
meta
,
orb_advert_t
handle
,
const
void
*
data
);
/**
* Subscribe to a topic.
...
...
@@ -203,7 +203,7 @@ public:
* @return ERROR on error, otherwise returns a handle
* that can be used to read and update the topic.
*/
int
orb_subscribe
(
const
struct
orb_metadata
*
meta
)
;
int
orb_subscribe
(
const
struct
orb_metadata
*
meta
);
/**
* Subscribe to a multi-instance of a topic.
...
...
@@ -238,7 +238,7 @@ public:
* ORB_DEFINE_OPTIONAL with no corresponding ORB_DECLARE)
* this function will return -1 and set errno to ENOENT.
*/
int
orb_subscribe_multi
(
const
struct
orb_metadata
*
meta
,
unsigned
instance
)
;
int
orb_subscribe_multi
(
const
struct
orb_metadata
*
meta
,
unsigned
instance
);
/**
* Unsubscribe from a topic.
...
...
@@ -246,7 +246,7 @@ public:
* @param handle A handle returned from orb_subscribe.
* @return OK on success, ERROR otherwise with errno set accordingly.
*/
int
orb_unsubscribe
(
int
handle
)
;
int
orb_unsubscribe
(
int
handle
);
/**
* Fetch data from a topic.
...
...
@@ -264,7 +264,7 @@ public:
* using the data.
* @return OK on success, ERROR otherwise with errno set accordingly.
*/
int
orb_copy
(
const
struct
orb_metadata
*
meta
,
int
handle
,
void
*
buffer
)
;
int
orb_copy
(
const
struct
orb_metadata
*
meta
,
int
handle
,
void
*
buffer
);
/**
* Check whether a topic has been published to since the last orb_copy.
...
...
@@ -284,7 +284,7 @@ public:
* @return OK if the check was successful, ERROR otherwise with
* errno set accordingly.
*/
int
orb_check
(
int
handle
,
bool
*
updated
)
;
int
orb_check
(
int
handle
,
bool
*
updated
);
/**
* Return the last time that the topic was updated. If a queue is used, it returns
...
...
@@ -295,7 +295,7 @@ public:
* never been updated. Time is measured in microseconds.
* @return OK on success, ERROR otherwise with errno set accordingly.
*/
int
orb_stat
(
int
handle
,
uint64_t
*
time
)
;
int
orb_stat
(
int
handle
,
uint64_t
*
time
);
/**
* Check if a topic has already been created and published (advertised)
...
...
@@ -304,7 +304,7 @@ public:
* @param instance ORB instance
* @return OK if the topic exists, ERROR otherwise.
*/
int
orb_exists
(
const
struct
orb_metadata
*
meta
,
int
instance
)
;
int
orb_exists
(
const
struct
orb_metadata
*
meta
,
int
instance
);
/**
* Return the priority of the topic
...
...
@@ -316,7 +316,7 @@ public:
* independent of the startup order of the associated publishers.
* @return OK on success, ERROR otherwise with errno set accordingly.
*/
int
orb_priority
(
int
handle
,
int32_t
*
priority
)
;
int
orb_priority
(
int
handle
,
int32_t
*
priority
);
/**
* Set the minimum interval between which updates are seen for a subscription.
...
...
@@ -336,7 +336,7 @@ public:
* @param interval An interval period in milliseconds.
* @return OK on success, ERROR otherwise with ERRNO set accordingly.
*/
int
orb_set_interval
(
int
handle
,
unsigned
interval
)
;
int
orb_set_interval
(
int
handle
,
unsigned
interval
);
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment