Revision 7d9678db src/urt_core.c
src/urt_core.c | ||
---|---|---|
19 | 19 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 | 20 |
*/ |
21 | 21 |
|
22 |
#include <urtware.h> |
|
23 |
|
|
22 | 24 |
/******************************************************************************/ |
23 | 25 |
/* LOCAL DEFINITIONS */ |
24 | 26 |
/******************************************************************************/ |
... | ... | |
42 | 44 |
/******************************************************************************/ |
43 | 45 |
/* EXPORTED FUNCTIONS */ |
44 | 46 |
/******************************************************************************/ |
47 |
|
|
48 |
/** |
|
49 |
* @brief Initialize the Core. |
|
50 |
*/ |
|
51 |
void urtCoreInit(void) {return;} |
|
52 |
|
|
53 |
/** |
|
54 |
* @brief Get Core status. |
|
55 |
* |
|
56 |
* @return A status value. |
|
57 |
*/ |
|
58 |
urt_status_t urtCoreGetStatus(void) {return URT_STATUS_OK;} |
|
59 |
|
|
60 |
/** |
|
61 |
* @brief Start Nodes... . |
|
62 |
*/ |
|
63 |
void urtCoreStartNodes(void) {return;} |
|
64 |
|
|
65 |
/** |
|
66 |
* @brief Synchronize ... |
|
67 |
* |
|
68 |
* @param[in] node The node to... . |
|
69 |
* |
|
70 |
* @return A status value. |
|
71 |
*/ |
|
72 |
urt_status_t urtCoreSynchronize(urt_node_t* node) {return URT_STATUS_OK;} |
|
73 |
|
|
74 |
/** |
|
75 |
* @brief Stop nodes... . |
|
76 |
* |
|
77 |
* @param[in] reason Reason why nodes should be stopped. |
|
78 |
* |
|
79 |
* @return A status value. |
|
80 |
*/ |
|
81 |
urt_status_t urtCoreStopNodes(urt_status_t reason) {return URT_STATUS_OK;} |
|
82 |
|
|
83 |
/** |
|
84 |
* @brief Get the topic of the Core. |
|
85 |
* |
|
86 |
* @param[in] id The id of the topic. |
|
87 |
* |
|
88 |
* @return . |
|
89 |
*/ |
|
90 |
urt_topic_t* urtCoreGetTopic(urt_topicid_t id) {return urt_topic_t;} |
|
91 |
|
|
92 |
/** |
|
93 |
* @brief Get the service of the Core. |
|
94 |
* |
|
95 |
* @param[in] id The id of the service. |
|
96 |
* |
|
97 |
* @return . |
|
98 |
*/ |
|
99 |
urt_service_t urtCoreGetService(urt_serviceid_t id) {return urt_service_t;} |
|
100 |
|
Also available in: Unified diff