CARMA C++
Chassis.h
Go to the documentation of this file.
1 
2 #ifndef CARMA_LOBEROTATOR_CHASSIS_H
3 #define CARMA_LOBEROTATOR_CHASSIS_H
4 
19 namespace carma {
20 namespace loberotator {
21 
22  // Forward declaration
23  class Loberotator;
24 
29  class Chassis {
30  public:
31 
35  Chassis();
36 
40  virtual ~Chassis();
41 
46  void insert(Loberotator*);
47 
52  Loberotator& loberotator(int chan) const;
53 
61  static const int N_CHAN = 24;
62 
63  protected:
65 
66  private:
67  // Copying and assignment are not allowed
68  Chassis(const Chassis&);
69  Chassis &operator=(const Chassis&);
70 
71  int nextChan;
72 
73  }; // End Chassis class
74 
75 }; // End loberotator namespace
76 }; // End carma namespace
77 
78 #endif // CARMA_LOBEROTATOR_CHASSIS_H
virtual ~Chassis()
Destructor.
static const int N_CHAN
Maximum number of loberotator channels.
Definition: Chassis.h:61
void insert(Loberotator *)
Insert a Loberotator into the system.
Loberotator & loberotator(int chan) const
Get a loberotator.
Loberotator implementation.
Definition: Loberotator.h:114
Provides storage for Loberotator objects.
Definition: Chassis.h:29