MADARA  3.1.8
TimedExecutor.h File Reference
#include <vector>
#include <map>
#include <string>
#include <utility>
#include <queue>
#include "madara/LockType.h"
#include "madara/knowledge/KnowledgeBase.h"
#include "madara/knowledge/EvalSettings.h"
#include "madara/expression/ComponentNode.h"
#include "ace/High_Res_Timer.h"
#include "ace/Barrier.h"
#include "ace/Mutex.h"
#include "ace/Thread_Mutex.h"
Include dependency graph for TimedExecutor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  madara::knowledge::Event
 Expression container for timed event. More...
 
struct  madara::knowledge::TimedEventThreadInfo
 A struct that is passed to Timed Event Thread Executors to control job handling, shutdowns, etc. More...
 
class  madara::knowledge::TimedExecutor
 This class executes expression events at specified times. More...
 

Namespaces

 madara
 Copyright (c) 2015 Carnegie Mellon University.
 
 madara::knowledge
 Provides functions and classes for the distributed knowledge base.
 

Typedefs

typedef std::pair< ACE_Time_Value, Event * > madara::knowledge::TimedEvent
 

Functions

MADARA_Export Event madara::knowledge::fill_event (KnowledgeBase &knowledge, const std::string &expression, double delay=0.0, double period=0.0, int executions=-1)
 Fills an event struct. More...
 
bool operator< (const madara::knowledge::TimedEvent &lhs, const madara::knowledge::TimedEvent &rhs)
 Comparison for higher event priorities. More...
 

Detailed Description

Author
James Edmondson jedmo.nosp@m.ndso.nosp@m.n@gma.nosp@m.il.c.nosp@m.om

This file contains C++ objects that facilitate timed event execution.

Definition in file TimedExecutor.h.

Function Documentation

bool operator< ( const madara::knowledge::TimedEvent lhs,
const madara::knowledge::TimedEvent rhs 
)

Comparison for higher event priorities.

Parameters
lhsleft hand side of the check
rhsright hand side of the check
Returns
true if lhs timer is greater than rhs, false otherwise.

Definition at line 6 of file TimedExecutor.cpp.