Changeset 10545 for trunk/FACT++
- Timestamp:
- 05/03/11 19:28:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventImp.h
r10486 r10545 6 6 7 7 #include <boost/function.hpp> 8 //#include <boost/bind/arg.hpp> 8 9 9 10 #include "Time.h" 10 11 11 12 class EventImp 12 { int fTargetState; /// Target state of an event 13 { 14 int fTargetState; /// Target state of an event 13 15 std::vector<int> fAllowedStates; /// List of states in which this event is allowed 14 16 … … 59 61 60 62 // Getter for all the data contained (name, format, data and time) 63 bool GetBool() const { return GetText()[0]!=0; } 61 64 short GetShort() const { return *reinterpret_cast<const short*>(GetData()); } 62 65 unsigned short GetUShort() const { return *reinterpret_cast<const unsigned short*>(GetData()); }
Note:
See TracChangeset
for help on using the changeset viewer.