summaryrefslogtreecommitdiffstats
path: root/src/can-message.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can-message.hpp')
-rw-r--r--src/can-message.hpp22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/can-message.hpp b/src/can-message.hpp
index f076c5ce..6e51d928 100644
--- a/src/can-message.hpp
+++ b/src/can-message.hpp
@@ -202,4 +202,24 @@ typedef struct CanMessageDefinition CanMessageDefinition;
unsigned short signalCount; /*!< signalCount - The number of CAN signals (across all messages) defined for
* this message set.*/
unsigned short commandCount; /*!< commandCount - The number of CanCommmands defined for this message set.*/
-} CanMessageSet; \ No newline at end of file
+} CanMessageSet;
+
+/** Public: Return the currently active CAN configuration. */
+CanMessageSet* getActiveMessageSet();
+
+/** Public: Retrive a list of all possible CAN configurations.
+ *
+ * Returns a pointer to an array of all configurations.
+ */
+CanMessageSet* getMessageSets();
+
+/** Public: Return the length of the array returned by getMessageSets() */
+int getMessageSetCount();
+
+/* Public: Return an array of all CAN messages to be processed in the active
+ * configuration.
+ */
+CanMessageDefinition* getMessages();
+
+/* Public: Return the length of the array returned by getMessages(). */
+int getMessageCount(); \ No newline at end of file