An algorithm for profiling message generation and receipt.
More...
#include <MessageProfiling.h>
An algorithm for profiling message generation and receipt.
Definition at line 81 of file MessageProfiling.h.
◆ MessageProfiling()
gams::algorithms::MessageProfiling::MessageProfiling |
( |
const madara::knowledge::KnowledgeRecord & |
send, |
|
|
madara::knowledge::KnowledgeBase * |
knowledge = 0 , |
|
|
platforms::Base * |
platform = 0 , |
|
|
variables::Sensors * |
sensors = 0 , |
|
|
variables::Self * |
self = 0 |
|
) |
| |
Constructor.
- Parameters
-
send | size of data to send, 0 to not send |
knowledge | the context containing variables and values |
platform | the underlying platform the algorithm will use |
sensors | map of sensor names to sensor information |
self | self-referencing variables |
◆ ~MessageProfiling()
gams::algorithms::MessageProfiling::~MessageProfiling |
( |
| ) |
|
◆ analyze()
virtual int gams::algorithms::MessageProfiling::analyze |
( |
void |
| ) |
|
|
virtual |
◆ execute()
virtual int gams::algorithms::MessageProfiling::execute |
( |
void |
| ) |
|
|
virtual |
◆ get_agents()
◆ get_algorithm_status()
Gets algorithm status variables.
◆ get_knowledge_base()
madara::knowledge::KnowledgeBase* gams::algorithms::BaseAlgorithm::get_knowledge_base |
( |
void |
| ) |
|
|
inherited |
◆ get_platform()
◆ get_self()
Gets self-defined variables.
◆ get_sensors()
Gets the available sensor information.
◆ init_filtered_transport()
void gams::algorithms::MessageProfiling::init_filtered_transport |
( |
madara::transport::QoSTransportSettings |
settings | ) |
|
Initialize the transport with the filter.
◆ operator=()
void gams::algorithms::MessageProfiling::operator= |
( |
const MessageProfiling & |
rhs | ) |
|
Assignment operator.
- Parameters
-
◆ plan()
virtual int gams::algorithms::MessageProfiling::plan |
( |
void |
| ) |
|
|
virtual |
◆ set_agents()
virtual void gams::algorithms::BaseAlgorithm::set_agents |
( |
variables::Agents * |
agents | ) |
|
|
virtualinherited |
Sets the list of agents in the swarm.
- Parameters
-
◆ set_platform()
Sets the platform.
- Parameters
-
platform | the underlying platform the algorithm will use |
◆ set_self()
virtual void gams::algorithms::BaseAlgorithm::set_self |
( |
variables::Self * |
self | ) |
|
|
virtualinherited |
Sets the map of sensor names to sensor information.
- Parameters
-
self | pointer to self-referencing variables container |
◆ set_sensors()
Sets the map of sensor names to sensor information.
- Parameters
-
sensors | map of sensor names to sensor information |
◆ agents_
the list of agents potentially participating in the algorithm
Definition at line 201 of file BaseAlgorithm.h.
◆ data_
madara::knowledge::containers::String gams::algorithms::MessageProfiling::data_ |
|
private |
Container for storing data to be sent to other controllers.
Definition at line 146 of file MessageProfiling.h.
◆ executions_
unsigned int gams::algorithms::BaseAlgorithm::executions_ |
|
protectedinherited |
◆ filter_
◆ key_prefix_
const std::string gams::algorithms::MessageProfiling::key_prefix_ |
|
staticprivate |
◆ knowledge_
madara::knowledge::KnowledgeBase* gams::algorithms::BaseAlgorithm::knowledge_ |
|
protectedinherited |
◆ local_knowledge_
madara::knowledge::KnowledgeBase* gams::algorithms::MessageProfiling::local_knowledge_ |
|
private |
◆ platform_
◆ self_
◆ send_size_
size_t gams::algorithms::MessageProfiling::send_size_ |
|
private |
◆ sensors_
◆ status_
provides access to status information for this platform
Definition at line 219 of file BaseAlgorithm.h.
The documentation for this class was generated from the following file: