CARMA C++
CanOutput.h
Go to the documentation of this file.
1 
9 #ifndef CARMA_CANBUS_CANOUTPUT_H
10 #define CARMA_CANBUS_CANOUTPUT_H
11 
12 #include "carma/canbus/Types.h"
13 
14 namespace carma {
15 namespace canbus {
16 
17 class Message;
18 
26 class CanOutput {
27 public:
28 
29  virtual ~CanOutput( ) { };
30 
39  virtual void postMessage(
40  const carma::canbus::Message & msg,
41  carma::canbus::txPriorityType prio = carma::canbus::NORMAL) = 0;
42 
43 protected:
44 
45  // There are no protected methods or data.
46 
47 private:
48 
49  // There are no private methods or data.
50 
51 }; // End class CanOutputBase.
52 }} // End namespace carma::canbus
53 #endif
Declarations of carma::canbus types.
Class to encapsulate a CAN message.
Definition: Message.h:21
txPriorityType
CAN Tx priority type.
Definition: Types.h:194
virtual void postMessage(const carma::canbus::Message &msg, carma::canbus::txPriorityType prio=carma::canbus::NORMAL)=0
Post a CAN message.
CanOutput interface.
Definition: CanOutput.h:26