![]() |
Home | Libraries | Author | Links |
ContextT shall have a constructor taking a DataT reference as its first and an InputRangeT reference as its second and last parameter, where InputRangeT shall be a specialization of stm::inputrange or be publicly derived therefrom.
Definition at line 110 of file binmsg.hpp.
Public Types | |
typedef DataT | data_type |
Type modelling the specialities of the kind of messages to be scanned. | |
typedef InputRangeT | inputrange_type |
Type representing a range of input files containing the messages to be scanned. | |
typedef ContextT | context_type |
Context type of the messages to be scanned. | |
typedef MsgTimestamp | Timestamp |
Timestamp type. | |
Public Member Functions | |
BaseMessageContext (data_type &data, inputrange_type &input) | |
Constructs a BaseMessageContext object storing the data and input of the messages to be scanned. | |
const std::string & | type () const |
Return the message context's type string. | |
void | setType (const std::string &type) |
Set the message context's type string. | |
const Timestamp & | timestamp () const |
Returns the message context's timestamp reference. | |
void | setTimestamp (const Timestamp ×tamp) |
Set the message context's timestamp. | |
data_type & | data () |
Returns the the message context's data reference. | |
inputrange_type & | input () |
Returns the the message context's input range reference. |
typedef DataT stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::data_type |
Type modelling the specialities of the kind of messages to be scanned.
Reimplemented in stm::tools::BinMessageContext< DataT, InputRangeT, ContextT >.
Definition at line 123 of file binmsg.hpp.
typedef InputRangeT stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::inputrange_type |
Type representing a range of input files containing the messages to be scanned.
Reimplemented in stm::tools::BinMessageContext< DataT, InputRangeT, ContextT >.
Definition at line 127 of file binmsg.hpp.
typedef ContextT stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::context_type |
Context type of the messages to be scanned.
Reimplemented in stm::tools::BinMessageContext< DataT, InputRangeT, ContextT >.
Definition at line 130 of file binmsg.hpp.
typedef MsgTimestamp stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::Timestamp |
stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::BaseMessageContext | ( | data_type & | data, | |
inputrange_type & | input | |||
) |
Constructs a BaseMessageContext object storing the data and input of the messages to be scanned.
const std::string& stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::type | ( | ) | const |
Return the message context's type string.
This is a neutral string before any message has been read or the type string of the last successfully read message.
void stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::setType | ( | const std::string & | type | ) |
Set the message context's type string.
const Timestamp& stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::timestamp | ( | ) | const |
Returns the message context's timestamp reference.
This is an invalid timestamp before any message has been read or the timestamp of the last sucessfully read message.
void stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::setTimestamp | ( | const Timestamp & | timestamp | ) |
Set the message context's timestamp.
data_type& stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::data | ( | ) |
Returns the the message context's data reference.
inputrange_type& stm::tools::BaseMessageContext< DataT, InputRangeT, ContextT >::input | ( | ) |
Returns the the message context's input range reference.
© Copyright Tom Michaelis 2002-2007
Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).