iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::MessageCheckerCoreBase Class Referenceabstract

#include <nrt/Core/Blackboard/details/ModulePortHelpers.H>

Base class for MessageChecker.

Definition at line 725 of file ModulePortHelpers.H.

Inheritance diagram for nrt::MessageCheckerCoreBase:
nrt::MessageCheckerCore< Checking >

Public Member Functions

virtual ~MessageCheckerCoreBase ()
 Virtual destructor for safe inheritance.
 
void setTopicFilter (std::string const &topicfilt_)
 Set the Topic Filter for this checking. More...
 
virtual bool isSplit () const =0
 Return true if we currently have split-sub-checkers.
 

Protected Attributes

std::string msgtype
 Type of Message we check for.
 
std::string module
 Module which we belong to.
 
std::string portname
 String name for our Checking port class.
 
std::string description
 String human description for our Checking.
 
std::string topicfilt
 TopicFilter with which we check()
 
int sequence
 Checker sequence number within module used for ordering of ports in the GUI.
 
bool splittable
 Can this port be split into sub-ports?
 
std::vector
< nrt::blackboard::msgkey > 
localMessageKeys
 
std::vector
< nrt::blackboard::MessageCheckerRemoteCall > 
remoteCheckCalls
 
boost::shared_mutex mtx
 

Friends

class nrt::Blackboard
 Only the Blackboard and derived classes can access our data.
 

Member Function Documentation

void nrt::MessageCheckerCoreBase::setTopicFilter ( std::string const &  topicfilt_)

Set the Topic Filter for this checking.

A Topic Filter is embodied into an std::regex which is used to match a check() call to corresponding topics that were used by post(). Note that in addition the namespaces must match exactly.


The documentation for this class was generated from the following file: