FACT++  1.0
std::vector<uint16_t> FTM::Header::HtoN ( ) const
inline

Definition at line 117 of file HeadersFTM.h.

References fBoardId, fTimeStamp, fTriggerCounter, htoncpy(), and Reverse().

Referenced by tcp_connection::HandleReceivedData(), tcp_connection::SendDynamicData(), and tcp_connection::SendStaticData().

118  {
119  Header h(*this);
120 
121  Reverse(&h.fBoardId);
122  Reverse(&h.fTriggerCounter);
123  Reverse(&h.fTimeStamp);
124 
125  return htoncpy(h);
126  }
std::vector< uint16_t > htoncpy(const S &s)
Definition: ByteOrder.h:72
void Reverse(T *t)
Definition: ByteOrder.h:130

+ Here is the call graph for this function:

+ Here is the caller graph for this function: