9 #ifndef CARMA_CLOCK_CLOCKMASTER_H
10 #define CARMA_CLOCK_CLOCKMASTER_H
13 #include "carma/corba/corba.h"
16 #include "carma/util/UserException.h"
46 double autoWriteDelayInS );
59 double autoWriteDelayInS );
69 double autoWriteDelayInS );
84 carma::clock::ClockControl_ptr GlobalClock();
85 carma::clock::ClockControl_ptr
Clock();
114 void removeDevices();
119 static void *runThreadEntry(
void *arg);
129 pthread_t runThreadId_;
133 std::auto_ptr< carma::clock::Clock > clock_;
134 std::auto_ptr< carma::clock::Clock > globalClock_;
136 carma::clock::ClockControl_ptr clockControlPtr_;
137 carma::clock::ClockControl_ptr globalClockControlPtr_;
139 std::string hostname_;
140 std::auto_ptr< carma::monitor::MasterClockSubsystem > mon_;
146 pthread_mutex_t doneMutex_;
Carma Master Clock CAN Master class.
void updateStatus()
Update the status of the Clock CAN Master.
Declaration of carma::canbus::Master class.
virtual ~ClockMaster()
Destructor.
ClockMaster(bool enableAutowriter, double autoWriteDelayInS)
Default constructor for emulation.
bool isDone()
Query to see if the System::quit() method has been invoked.
Carma Canbus Master class.
The Clock class is an instantiation of the carma::canbus::Device class for the Master Clock...