|
|
options::String | address_ {"127.0.0.1", options::notempty<std::string>()} |
|
options::Value< unsigned int, false > | port_ {5556, options::positive<unsigned int>(true)} |
|
options::Value< std::uint64_t, false > | npackets_ {0, options::zeroismax<std::uint64_t>()} |
|
options::Value< unsigned int, false > | batch_size_ {1} |
|
options::Value< unsigned int, false > | nchannels_ {384, options::positive<unsigned int>(true)} |
|
PortOut< TimeSeriesType< double > > * | data_port_ |
|
zmq::socket_t | socket_ |
|
uint64_t | last_message_number_ |
|
uint64_t | missing_packets_counter_ |
|
uint64_t | valid_packets_counter_ |
|
uint64_t | invalid_packets_counter_ |
|
TimePoint | first_valid_packet_arrival_time_ |
|
flatbuffers::FlatBufferBuilder | flatbuilder_ |
|
openephysflatbuffer::ContinuousDataBuilder | builder_ |
|
std::map< std::string, std::shared_ptr< std::ostream > > | streams_ |
|
std::vector< TimePoint > | test_source_timestamps_ |
|
options::OptionList | options_ |
|
options::OptionList | advanced_options_ |
|
|
static std::vector< TimingEntry > * | t_metrics = nullptr |
|
static constexpr size_t | MAX_SAMPLES = 100000 |
|
void | create_file (const std::string &prefix, const std::string &variable_name, const std::string &extension="bin") |
|
void | prepare_latency_test (ProcessingContext &context) |
|
void | save_source_timestamps_to_disk (std::uint64_t n_timestamps) |
| template<typename TValue> |
| void | add_option (std::string name, TValue &value, std::string description="", bool required=false) |
| void | remove_option (const std::string &name) |
| template<typename DATATYPE> |
| PortOut< DATATYPE > * | create_output_port (std::string name, const typename DATATYPE::Parameters ¶meters, const PortOutPolicy &policy) |
| template<typename DATATYPE> |
| PortOut< DATATYPE > * | create_output_port (const typename DATATYPE::Parameters ¶meters, const PortOutPolicy &policy) |
| template<typename DATATYPE> |
| PortIn< DATATYPE > * | create_input_port (std::string name, const typename DATATYPE::Capabilities &capabilities, const PortInPolicy &policy) |
| template<typename DATATYPE> |
| PortIn< DATATYPE > * | create_input_port (const typename DATATYPE::Capabilities &capabilities, const PortInPolicy &policy) |
| IPortIn * | input_port (const std::string &port) |
| IPortOut * | output_port (const std::string &port) |
| IPortIn * | input_port (const PortAddress &address) |
| IPortOut * | output_port (const PortAddress &address) |
| ISlotIn * | input_slot (const SlotAddress &address) |
| ISlotOut * | output_slot (const SlotAddress &address) |
| template<typename T> |
| StaticState< T > * | create_static_state (std::string state, T default_value, bool shared=true, Permission external=Permission::WRITE, std::string description="") |
| template<typename T> |
| ProducerState< T > * | create_producer_state (std::string state, T default_value, bool cooperative=false, Permission external=Permission::READ, std::string description="") |
| template<typename T> |
| BroadcasterState< T > * | create_broadcaster_state (std::string state, T default_value, Permission external=Permission::NONE, std::string description="") |
| template<typename T> |
| FollowerState< T > * | create_follower_state (std::string state, T default_value, Permission external=Permission::NONE, std::string description="") |
| template<typename T> |
| ReadableState< T > * | create_readable_shared_state (const std::string &state, T default_value, Permission peers=Permission::WRITE, Permission external=Permission::NONE, std::string description="") |
| template<typename T> |
| WritableState< T > * | create_writable_shared_state (const std::string &state, T default_value, Permission peers=Permission::READ, Permission external=Permission::NONE, std::string description="") |
| std::shared_ptr< IState > | shared_state (const std::string &state) |
|
template<class T> |
| void | expose_method (const std::string &methodname, YAML::Node(T::*method)(const YAML::Node &)) |
|
std::function< YAML::Node(const YAML::Node &)> & | exposed_method (const std::string &method) |
|
virtual std::string | default_input_port () const |
|
virtual std::string | default_output_port () const |